Using Powershell to look up the PDC
Did you know that you can Use Powershell to lookup your PDC?
If you have ever needed to look up your primary domain controller (PDC) this can sometimes be a daunting task especially in a large enterprise environment. Luckily you can open PowerShell and run a single command to have the system to query active directory (AD) to determine the hostname of your current PDC (Primary Domain Controller).
Open PowerShell and then Run:
This will return your PDC’s name like in the image below:
This concludes the tutorial on how to get the PDC host name from Power Shell and shows how easy it can be to start using Windows Powershell.