- Get-WmiObject -Class Win32_BIOS
- Get-WmiObject -Class Win32_ComputerSystem
- Get-WmiObject -Class Win32_OperatingSystem
- Get-WmiObject -Class Win32_NetworkAdapter
- Get-WmiObject -Class Win32_
NetworkAdapterConfiguration - Get-WmiObject -Class Win32_Product
May 29 2014
PowerShell: Useful WMI Classes
Here are some WMI Classes I have found useful:
Enumerating Win32 WMI Classes:
[array]$WMINames = Get-WmiObject -Query ‘Select * From Meta_Class WHERE __Class LIKE “win32%”‘ |
Where-Object { $_.PSBase.Methods } |
Select-Object Name, Methods
$WMINames = $WMINames | sort -Property Name
$WMINames
(Visited 5,202 times, 1 visits today)
Recent Comments