Edit

Share via


Unlock-WmsUsbStorage

Unlocks USB storage.

Syntax

UnlockById

Unlock-WmsUsbStorage
    [-StationId] <UInt32[]>
    [-Server <String>]
    [<CommonParameters>]

UnlockAll

Unlock-WmsUsbStorage
    [-All]
    [-Server <String>]
    [<CommonParameters>]

Description

The Unlock-WmsUsbStorage cmdlet enables USB storage on the specified station or stations. If a USB storage device is hidden, this cmdlet makes it available.

Examples

Example 1: Unblock USB storage devices

PS C:\> Unlock-WmsUsbStorage -StationId 2

This command unblocks USB storage devices on the specified station.

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

-StationId

Specifies an array of station IDs.

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.

Inputs

UInt32

String

Outputs

Object