Thursday, February 24, 2011

Finding the PDC Emulator Role Owner with DNS,Seizing an Operations Master Role,Enabling Universal Group Caching

Enabling Universal Group Caching

This topic explains how to use the Active Directory module for Windows PowerShell to enable universal group caching.

Example

The following example demonstrates how to enable universal group caching in the Fabrikam forest:
Set-ADObject -Identity "CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=Fabrikam,DC=Com" -Partition "CN=Configuration,DC=Fabrikam,DC=Com" -Replace @{Options='32'}

Additional information

You can use the following parameters when you set many of the common values of Active Directory objects:
  • -Description
  • -DisplayName
  • -ProtectedFromAccidentalDeletion
For a full explanation of the parameters that you can pass to Set-ADObject, at the Active Directory module command prompt, type Get-Help Set-ADObject –detailed, and then press ENTER.

Seizing an Operations Master Role

This topic explains how to use the Active Directory module for Windows PowerShell to transfer (“seize”) an operations master (also known as flexible single master operations or FSMO) role.

Example

The following example demonstrates how to seize an operations master role:
Move-ADDirectoryServerOperationMasterRole -Identity FABRIKAM-DC1 -OperationMasterRole RIDMaster,InfrastructureMaster,DomainNamingMaster -Force

Additional information

For a full explanation of the parameters that you can pass to Move-ADDirectoryServerOperationMasterRole, at the Active Directory module command prompt, type Get-Help Move-ADDirectoryServerOperationMasterRole –detailed, and then press ENTER.

Finding the PDC Emulator Role Owner with DNS

This topic explains how to use the Active Directory module for Windows PowerShell to find the primary domain controller (PDC) emulator operations master (also known as flexible single master operations or FSMO) role owner by using Domain Name System (DNS).

Example

The following example demonstrates how to find the PDC emulator operations master role owner by using DNS:
Get-ADDomainController -Discover -Service PrimaryDC

Additional information

For a full explanation of the parameters that you can pass to Get-ADDomainController, at the Active Directory module command prompt, type Get-Help Get-ADDomainController –detailed, and then press ENTER.


No comments:

Post a Comment