Unlock-WmsSession

Unblocks a user for desktop use.

Syntax

Unlock-WmsSession
      [-SessionId] <UInt32[]>
      [-Server <String>]
      [<CommonParameters>]
Unlock-WmsSession
      [-All]
      [-Server <String>]
      [<CommonParameters>]

Description

The Unlock-WmsSession cmdlet unblocks a user for desktop use.

Examples

Example 1: Unblock a station

PS C:\> Unlock-WmsSession -SessionId 3

This command unblocks a station.

Note: If a Multipoint Manager session is running, and the state of the sessions was Block All, the Multipoint Manager may block the station again.

Parameters

-All

Indicates that this operation applies to all sessions on the target host.

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

-Server

Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.

Type:String
Aliases:ComputerName
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-SessionId

Specifies the session ID.

Type:UInt32[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

UInt32[]

String

Outputs

Object