Compartilhar via


Disable-RDVirtualDesktopADMachineAccountReuse

Aplica-se a: Windows 10, Windows Server Technical Preview

Disable-RDVirtualDesktopADMachineAccountReuse

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

Sintaxe

Parameter Set: Default
Disable-RDVirtualDesktopADMachineAccountReuse [[-ConnectionBroker] <String> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

Descrição detalhada

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.

Parâmetros

-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

Obrigatório?

false

Posição?

1

Valor padrão

none

Aceitar entrada de pipeline?

false

Aceitar caracteres curinga?

false

-InformationAction<System.Management.Automation.ActionPreference>

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend

Aliases

infa

Obrigatório?

false

Posição?

named

Valor padrão

none

Aceitar entrada de pipeline?

false

Aceitar caracteres curinga?

false

-InformationVariable<System.String>

Specifies a variable in which to store an information event message.

Aliases

iv

Obrigatório?

false

Posição?

named

Valor padrão

none

Aceitar entrada de pipeline?

false

Aceitar caracteres curinga?

false

<CommonParameters>

Esse cmdlet oferece suporte aos parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

O tipo de entrada é o tipo dos objetos que você pode redirecionar para o cmdlet.

Saídas

O tipo de saída é o tipo de objeto que o cmdlet emite.

  • Null

Exemplos

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"

Tópicos relacionados

Enable-RDVirtualDesktopADMachineAccountReuse

Test-RDVirtualDesktopADMachineAccountReuse