Get-WmsVirtualDesktop
Gets a virtual desktop.
Syntax
Default (Default)
Get-WmsVirtualDesktop
[-VirtualMachineName <String>]
[<CommonParameters>]
Description
The Get-WmsVirtualDesktop cmdlet gets the specified virtual desktop or all virtual desktops if you don't specify the VirtualMachineName parameter.
Examples
Example 1: Get a virtual desktop by name
PS C:\> Get-WmsVirtualDesktop -VirtualMachineName "MyDesktop"
This command gets the virtual desktop named MyDesktop.
Parameters
-VirtualMachineName
Specifies the name of the virtual desktop to get.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| 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.