Use PowerShell to Determine the PDC Emulator FSMO Role Holder in your Active Directory Forest Root Domain

Each domain has a PDC emulator FSMO role so how do I determine which domain controller holds the PDC emulator FSMO role in the forest root domain if I have multiple domains in my forest? Sounds like you can’t see the forest root for the trees :-).

The answer of course is with PowerShell:

2014-03-19_20-29-19

The Active Directory PowerShell module which is part of the Remote Server Administration Tools (RSAT) is installed on the workstation these commands are being run from. The module is automatically imported since the workstation is running a new enough version of PowerShell to take advantage of the module auto-loading feature that was first introduced in PowerShell version 3.

µ

4 Comments

  1. Patrick IZZO

    In result we got :

    PDCEmulator
    ——————————
    dc01.mikefrobbins.com

    How to do for get ONLY :dc01.mikefrobbins.com

    Reply
    • Mike F Robbins

      Expanding the PDCEmulator property will return the result you’re looking for:

      Get-ADForest |
      Select-Object -ExpandProperty RootDomain |
      Get-ADDomain |
      Select-Object -ExpandProperty PDCEmulator
      Reply

Leave a Reply

%d bloggers like this: