PowerShell

PowerShell Script : Find the name of Installed Antivirus on local or remote laptop.

Do you ever want to know what antivirus installed on remote laptop, or does remote system has a antivirus or not, knowing this is  always a pain, normally you have to call user and ask them,. Today i have found a cool namespace named ““root\SecurityCenter2” ”  and this name space has a class “AntiVirusProduct ”,… Continue reading PowerShell Script : Find the name of Installed Antivirus on local or remote laptop.

PowerShell

List of useful WMI classes to use with PowerShell.

  Hi, Here is the list of some useful WMI Classes :). ClassName Contains win32_ComputerSystemProduct Serial Number, Vendor, information win32_bios Bios Information , including Version Number of BIOS win32_battery Battery Information win32_Physicalmemory Serial Number, Capacity, Part Number of Installed Memory Stick. win32_DiskDrive Capacity, Serial Number of Drive and other info of the Hard-disk win32_DesktopMonitor Monitor… Continue reading List of useful WMI classes to use with PowerShell.

PowerShell

Change Service Start Mode using PowerShell

  PowerTip of the Day, from PowerShell.com:   You can use WMI like this if you want to change a service start mode: ([wmi]’Win32_Service.Name=”Spooler”‘).ChangeStartMode(‘Automatic’).ReturnValue ([wmi]’Win32_Service.Name=”Spooler”‘).ChangeStartMode(‘Manual’).ReturnValue   Note that a return value of 0 indicates success. You will need Administrator privileges to change the start mode. Thanks to www.powershell.com