Modifier

Partager via


Set-RDWorkspace

Assigns a workspace name for a Remote Desktop deployment.

Syntax

Set-RDWorkspace
   [-Name] <String>
   [-ConnectionBroker <String>]
   [<CommonParameters>]

Description

The Set-RDWorkspace cmdlet assigns a 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: Assign a workspace name

PS C:\> Set-RDWorkspace -Name "Contoso Resources"

This command assigns the workspace name Contoso Resources for the Remote Desktop deployment that has the current computer as an RD Connection Broker server. To specify a different RD Connection Broker server, use the ConnectionBroker parameter.

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:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies a workspace name.

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

Outputs

Null