Lock-WmsUsbStorage  
	Prevents USB storage devices from being used.
Syntax
		LockById
	 
	Lock-WmsUsbStorage
    [-StationId] <UInt32[]>
    [-Server <String>]
    [<CommonParameters>]
		LockAll
	 
	Lock-WmsUsbStorage
    [-All]
    [-Server <String>]
    [<CommonParameters>]
Description
The Lock-WmsUsbStorage cmdlet prevents the use of any station-attached USB storage devices. If a device is already attached when you run Lock-WmsUsbStorage, they are logically removed. Any USB devices that are subsequently added to a station are hidden.
Examples
Example 1: Lock USB storage devices
PS C:\> Lock-WmsUsbStorage -StationId 2
This command prevents the use of all 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
					LockAll 
					
				 
				| 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 MultiPoint station IDs. The acceptable values for this parameter are: 1 through the number of stations.
Parameter properties
| Type: | UInt32[] | 
| Default value: | None | 
| Supports wildcards: | False | 
| DontShow: | False | 
Parameter sets
					LockById 
					
				 
				| 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.