Expand Minimize
This topic has not yet been rated - Rate this topic

Disable-RDVirtualDesktopADMachineAccountReuse

Updated: September 14, 2012

Applies To: Windows Server 2012

Disable-RDVirtualDesktopADMachineAccountReuse

Prevents the Remote Desktop Connection Broker (RD Connection Broker) server from reusing existing Active Directory (AD) computer accounts when creating new virtual machines from a template in a managed virtual desktop collection.

Syntax

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




Detailed Description

The Disable-RDVirtualDesktopADMachineAccountReuse cmdlet prevents the Remote Desktop Connection Broker (RD Connection Broker) server from reusing existing Active Directory (AD) computer accounts when creating new virtual machines in a managed virtual desktop collection. If you run this cmdlet, the RD Connection Broker server returns an error if any existing AD computer accounts are identified when creating new virtual machine accounts. This provides additional security against accounts being modified 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

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Null



    None.



Examples

Example 1: Disable the RD Connection Broker from Reusing Existing Active Directory Computer Accounts

This command prevents the Remote Desktop Connection Broker server named rdcb.contoso.com, as specified by the ConnectionBroker parameter, from reusing existing Active Directory computer accounts when creating new virtual machines in a managed virtual desktop collection.


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

Example 2: Duplicate Example

This command prevents the Remote Desktop Connection Broker server named rdcb.contoso.com, as specified by the ConnectionBroker parameter, from reusing existing Active Directory computer accounts when creating new virtual machines in a managed virtual desktop collection.


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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.