Get-LabCimSession

SYNOPSIS

Cmdlet to list all or specific CIM sessions

SYNTAX

Get-LabCimSession [[-ComputerName] <String[]>] [-DoNotUseCredSsp] [<CommonParameters>]

DESCRIPTION

Cmdlet to list all or specific CIM sessions

EXAMPLES

Example 1

PS C:\> Get-LabCimSession

List all currently open CIM sessions in your lab

PARAMETERS

-ComputerName

List of computers to connect to

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DoNotUseCredSsp

Indicates that CredSSP should not be used

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Microsoft.Management.Infrastructure.CimSession

NOTES