Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-WmiObject

Get-WmiObject - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-WmiObject

Short description
Gets instances of Windows Management Instrumentation (WMI) classes or information about the available classes.

Syntax
Get-WmiObject [-Class] <String> [[-Property] <String[]>] [-Amended] [-AsJob] [-Authentication <AuthenticationLevel>] [-
Authority <String>] [-ComputerName <String[]>] [-Credential <PSCredential>] [-DirectRead] [-EnableAllPrivileges] [-Filt
er <String>] [-Impersonation <ImpersonationLevel>] [-Locale <String>] [-Namespace <String>] [-ThrottleLimit <Int32>] [<
CommonParameters>]
Get-WmiObject [[-Class] <String>] [-Amended] [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-C
omputerName <String[]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Lis
t] [-Locale <String>] [-Namespace <String>] [-Recurse] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-WmiObject [-Amended] [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName <String[
]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String>] [-Name
space <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-WmiObject [-Amended] [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName <String[
]>] [-Credential <PSCredential>] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <String>] [-Name
space <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-WmiObject [-Amended] [-AsJob] [-Authentication <AuthenticationLevel>] [-Authority <String>] [-ComputerName <String[
]>] [-Credential <PSCredential>] [-DirectRead] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel>] [-Locale <S
tring>] [-Namespace <String>] [-ThrottleLimit <Int32>] -Query <String> [<CommonParameters>]





Description
The Get-WmiObject cmdlet gets instances of WMI classes or information about the available WMI classes. To specify a rem
ote computer, use the ComputerName parameter. If the List parameter is specified, the cmdlet gets information about the
 WMI classes that are available in a specified namespace. If the Query parameter is specified, the cmdlet runs a WMI qu
ery language (WQL) statement.


The Get-WmiObject cmdlet does not use Windows PowerShell remoting to perform remote operations. You can use the Compute
rName parameter of the Get-WmiObject cmdlet even if your computer does not meet the requirements for Windows PowerShell
 remoting or is not configured for remoting in Windows PowerShell.


Beginning in Windows PowerShell 3.0, the __Server property of the object that Get-WmiObject returns has a PSComputerNam
e alias. This makes it easier to include the source computer name in output and reports.