Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 2.59 KB

Disable-RDVirtualDesktopADMachineAccountReuse.md

File metadata and controls

70 lines (49 loc) · 2.59 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
RemoteDesktop.psm1-help.xml
RDMgmt
12/20/2016
2.0.0
Disable-RDVirtualDesktopADMachineAccountReuse

Disable-RDVirtualDesktopADMachineAccountReuse

SYNOPSIS

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

SYNTAX

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

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.

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.

PARAMETERS

-ConnectionBroker

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.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Null

NOTES

RELATED LINKS

Enable-RDVirtualDesktopADMachineAccountReuse

Test-RDVirtualDesktopADMachineAccountReuse