Edit

Share via


Enable-RDVirtualDesktopADMachineAccountReuse

Configures the RD Connection Broker server to reuse existing AD DS computer accounts.

Syntax

Default (Default)

Enable-RDVirtualDesktopADMachineAccountReuse
    [[-ConnectionBroker] <String>]
    [<CommonParameters>]

Description

The Enable-RDVirtualDesktopADMachineAccountReuse cmdlet configures the Remote Desktop Connection Broker (RD Connection Broker) server to reuse existing Active Directory Domain Services (AD DS) computer accounts for pooled virtual desktops when you create new virtual machines in a managed virtual desktop collection.

Examples

Example 1: Enable account reuse on the RD Connection Broker

PS C:\> Enable-RDVirtualDesktopADMachineAccountReuse -ConnectionBroker "rdcb.contoso.com"

This command enables the Remote Desktop Connection Broker server named rdcb.contoso.com to reuse existing Active Directory Domain Services computer accounts when you create new virtual machines in a managed virtual desktop collection.

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

undefined