Powershell to Find the FSMO Role

Updated: Aug 31, 2020

Article No :: KB00004

Dear All, You can use the below Powershell script to find the FSMO Role of the Active Directory Domain.

Note: Please test the script in your test environment, before executing in production environment. You can modify the script as per your need and environment.

Powershell Script

Copy the below script into Notepad and save the same as ".ps1" file. Then, run the script into the Active Directory PowerShell Module.

Output of the above script is showing below.

Output of the Script

Some useful books on Powershell.

#Powershell, #WindowsServer, #ActiveDirectory, #FSMORole, #Scripting, #PSScript

34 views0 comments