Thursday, February 24, 2011

Changing the Maximum Number of Computers That a User Can Join to the Domain

Changing the Maximum Number of Computers That a User Can Join to the Domain

This topic explains how to use the Active Directory module for Windows PowerShell to change the maximum number of computers that a user can join to a domain.

Example

The following example demonstrates how to change the maximum number of computers that a user can join to the domain Fabrikam.com:
Set-ADDomain Fabrikam.com -Replace @{"ms-ds-MachineAccountQuota"="2"}'

Additional information

You can use the following parameters when you set many of the common values that are associated with domain management.
  • -LastLogonReplicationInterval
  • -AllowedDNSSuffixes
  • -ManagedBy
For a full explanation of the parameters that you can pass to Set-ADDomain, at the Active Directory module command prompt, type Get-Help Set-ADDomain –detailed, and then press ENTER.

No comments:

Post a Comment