Disable-RDVirtualDesktopADMachineAccountReuse

Disable-RDVirtualDesktopADMachineAccountReuse

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

구문

Parameter Set: Default
Disable-RDVirtualDesktopADMachineAccountReuse [[-ConnectionBroker] <String> ] [ <CommonParameters>]

자세한 설명

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.

매개 변수

-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.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • Null

    None.

예제

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"

관련 항목

Enable-RDVirtualDesktopADMachineAccountReuse

Test-RDVirtualDesktopADMachineAccountReuse