Get-CimInstance - 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-CimInstance
Short description Gets the CIM instances of a class from a CIM server. Syntax Description The Get-CimInstance cmdlet gets the CIM instances of a class from a CIM server. You can specify either the class name o r a query for this cmdlet. This cmdlet returns one or more CIM instance objects representing a snapshot of the CIM instances present on the CIM se rver. If the InputObject parameter is not specified, the cmdlet works in one of the following ways: --If neither the ComputerName parameter nor the CimSession parameter is specified, then this cmdlet works on local Wind ows Management Instrumentation (WMI) using a Component Object Model (COM) session. --If either the ComputerName parameter or the CimSession parameter is specified, then this cmdlet works against the CIM server specified by either the ComputerName parameter or the CimSession parameter. If the InputObject parameter is specified, the cmdlet works in one of the following ways: --If neither the ComputerName parameter nor the CimSession parameter is specified, then this cmdlet uses the CIM sessio n or computer name from the input object. --If the either the ComputerName parameter or the CimSession parameter is specified, then this cmdlet uses the either t he CimSession parameter value or ComputerName parameter value. Note: This is not very common.