Contact Info

Crumbtrail

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

Get-WmiObject - Powershell 4.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


Description
Starting in Windows PowerShell 3.0, this cmdlet has been superseded by Get-CimInstance.


The Get-WmiObject cmdlet gets instances of WMI classes or information about the available WMI classes. To specify a 
remote 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 query language (WQL) statement.


The Get-WmiObject cmdlet does not use Windows PowerShell remoting to perform remote operations. You can use the 
ComputerName 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 
PSComputerName alias. This makes it easier to include the source computer name in output and reports.