Get-WmsVirtualDesktop

Gets a virtual desktop.

Syntax

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.

Optional Parameters

-VirtualMachineName

Specifies the name of the virtual desktop to get.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None.

Outputs

None.