Contact Info

Crumbtrail

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

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

Short description
Gets the CIM session objects from the current session.

Syntax
Get-CimSession [[-ComputerName] <String[]>] [<CommonParameters>]
Get-CimSession [-Id] <UInt32[]> [<CommonParameters>]
Get-CimSession -InstanceId <Guid[]> [<CommonParameters>]
Get-CimSession -Name <String[]> [<CommonParameters>]





Description
The Get-CimSession cmdlet gets the CIM session objects created in the current Windows PowerShell® session.


If used without any parameters, the cmdlet gets all of the CIM sessions created in the current Windows PowerShell sessi
on. You can use the parameters of Get-CimSession to get the sessions that are for particular computers, or you can iden
tify sessions by their names, IDs, or instance IDs.


For more information about Windows PowerShell sessions, see about_CimSessions