Set-RDPersonalSessionDesktopAssignment

Associates a personal session desktop assignment with a user.

Syntax

Set-RDPersonalSessionDesktopAssignment
   [-CollectionName] <String>
   -User <String>
   -Name <String>
   [-ConnectionBroker <String>]
   [<CommonParameters>]

Description

The Set-RDPersonalSessionDesktopAssignment cmdlet associates a personal session desktop assignment with a user.

Examples

1:

Parameters

-CollectionName

Specifies the name of a personal session desktop collection.

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

-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 the name of the personal session desktop assignment to set.

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

-User

Specifies a user account in DOMAIN\user format.

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