Produce a WMI Object or the list of WMI classes available on the system.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Get-WmiObject
[-Class] <String> [ [-Property] <String[]>] [-Filter <String>] [-Namespace <String>] [-ComputerName <String[]>] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Get-WmiObject
[-Namespace <String>] [-ComputerName <String[]>] [-Credential <PSCredential>] [-List] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The Get-WmiObject Cmdlet is used to get an instance of any WMI object available, or to get a list of available WMI objects. The -List parameter may not be used with the - Class parameter.