Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » New-CimSession

New-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 »


Short description
Creates a CIM session.

New-CimSession [[-ComputerName] <String[]>] [[-Credential] <PSCredential>] [-Authentication <PasswordAuthenticationMech
anism>] [-Name <String>] [-OperationTimeoutSec <UInt32>] [-Port <UInt32>] [-SessionOption <CimSessionOptions>] [-SkipTe
stConnection] [<CommonParameters>]
New-CimSession [[-ComputerName] <String[]>] [-CertificateThumbprint <String>] [-Name <String>] [-OperationTimeoutSec <U
Int32>] [-Port <UInt32>] [-SessionOption <CimSessionOptions>] [-SkipTestConnection] [<CommonParameters>]

The New-CimSession cmdlet creates a CIM session. A CIM session is a client-side object representing a connection to a l
ocal computer or a remote computer. The CIM session contains information about the connection, such as ComputerName, th
e protocol used for the connection, session ID and instance ID.

This cmdlet returns a CIM session object that can be used by all other CIM cmdlets.