Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Disable-RDVirtualDesktopADMachineAccountReuse

Disable-RDVirtualDesktopADMachineAccountReuse

remotedesktop.psm1

Synopsis

Prevents the RD Connection Broker server from reusing existing Active Directory (AD) computer accounts.

Syntax

Disable-RDVirtualDesktopADMachineAccountReuse [-ConnectionBroker] [<CommonParameters>]

Detailed Description

The Disable-RDVirtualDesktopADMachineAccountReuse cmdlet prevents the Remote Desktop Connection Broker (RD Connection Broker) server from reusing existing Active Directory Domain Services (AD DS) computer accounts when you create new virtual desktops in a managed virtual desktop collection. After you run this cmdlet, the RD Connection Broker server returns an error if it identifies existing AD computer accounts when you create new virtual desktop accounts. This helps to prevent you from modifying accounts inadvertently.

Parameters

-ConnectionBroker <String>

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for this remote desktop deployment. If not supplied, defaults to the fully qualified domain name (FQDN) of the local host.

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

Null

Notes

None

Examples

Example 1: Disable account reuse on the RD Connection Broker

This command prevents the Remote Desktop Connection Broker server named "rdcb.contoso.com" from reusing existing AD DS computer accounts when you create virtual machines in a managed virtual desktop collection.

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

Online Version
Enable-RDVirtualDesktopADMachineAccountReuse
Test-RDVirtualDesktopADMachineAccountReuse