Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-WmsVirtualDesktop

Brian Lich|Last Updated: 3/31/2017

SYNOPSIS

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.

PARAMETERS

-VirtualMachineName

Specifies the name of the virtual desktop to get.

Type: String
Parameter Sets: (All)
Aliases: 

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None.

OUTPUTS

None.

NOTES

Import-WmsVirtualDesktop

New-WmsVirtualDesktop

Open-WmsVirtualDesktop

© 2017 Microsoft