Useful WMI Commands

Search WMIObjects Get-WmiObject -Namespace Root\cimv2 -list | where {$_.name -like ‘*disk*’} Awesome WMI explorer tool can be found here – https://powershell.org/2013/03/08/wmi-explorer-from-the-powershell-guy/ WMI contains more properties that Standard Powershell commands eg. Get-Service Get-WmiObject -Class Win32_Service | Select-Object * WMI Win32_operatingsystem last boot uptime conversion $os = gwmi win32_operatingsystem $os.ConvertToDateTime($os.LastBootUpTime) EG  -24 October...