編輯

共用方式為


Get-RDWorkspace

Gets the workspace name for a Remote Desktop deployment.

Syntax

Get-RDWorkspace
   [[-ConnectionBroker] <String>]
   [<CommonParameters>]

Description

The Get-RDWorkspace cmdlet gets the workspace name for a Remote Desktop deployment. Users see this name in their RemoteApp and Desktop Connection environment and their Remote Desktop Web Access (RD Web Access) environment.

Examples

Example 1: Get a workspace name

PS C:\> Get-RDWorkspace -ConnectionBroker "RDCB.Contoso.com"

This command gets the workspace name for the Remote Desktop deployment associated with the RD Connection Broker server named RDCB.Contoso.com.

Parameters

-ConnectionBroker

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment. If you do not specify a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

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

Outputs

Microsoft.RemoteDesktopServices.Management.WorkspaceClass