Contact Info

Crumbtrail

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

Get-CimAssociatedInstance - 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-CimAssociatedInstance

Short description
Retrieves the CIM instances that are connected to a specific CIM instance by an association.

Syntax
Get-CimAssociatedInstance [-InputObject] <CimInstance> [[-Association] <String>] [-ComputerName <String[]>] [-KeyOnly] 
[-Namespace <String>] [-OperationTimeoutSec <UInt32>] [-ResourceUri <Uri>] [-ResultClassName <String>] [<CommonParamete
rs>]
Get-CimAssociatedInstance [-InputObject] <CimInstance> [[-Association] <String>] [-KeyOnly] [-Namespace <String>] [-Ope
rationTimeoutSec <UInt32>] [-ResourceUri <Uri>] [-ResultClassName <String>] -CimSession <CimSession[]> [<CommonParamete
rs>]





Description
The Get-CimAssociatedInstance cmdlet retrieves the CIM instances connected to a specific CIM instance, called the sourc
e instance, by an association.


In an association, each CIM instance has a named role and the same CIM instance can participate in an association in di
fferent roles.


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.