Powershell to Find the FSMO Role
Updated: May 2, 2022
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.
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.
Some useful books on Powershell.
#Powershell, #WindowsServer, #ActiveDirectory, #FSMORole, #Scripting, #PSScript