Unlock-WmsSession
Unblocks a user for desktop use.
Syntax
UnlockById
Unlock-WmsSession
[-SessionId] <UInt32[]>
[-Server <String>]
[<CommonParameters>]
UnlockAll
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.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
UnlockAll
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Server
Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ComputerName |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-SessionId
Specifies the session ID.
Parameter properties
| Type: | UInt32[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
UnlockById
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.