PowerShell Logo Small

Disable-RDVirtualDesktopADMachineAccountReuse



This is the built-in help made by Microsoft for the command 'Disable-RDVirtualDesktopADMachineAccountReuse', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

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

SYNTAX


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



Search powershellhelp.space

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.



<

RELATED LINKS

Enable-RDVirtualDesktopADMachineAccountReuse
Test-RDVirtualDesktopADMachineAccountReuse

REMARKS

<

Examples


Example 1: Disable account reuse on the RD Connection Broker

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



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.