Edit

Share via


Get-RDWorkspace

Gets the workspace name for a Remote Desktop deployment.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
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.

Outputs

Microsoft.RemoteDesktopServices.Management.WorkspaceClass