You can open Powershell as administrator from domain controller or from a client machine which has RSAT installed.
If you are using an older version of powershell make sure you import active directory module by typing
Get-module Activedirectory
Run the below command to get the ms-Mcs-AdmPwd
Get-ADComputer
-identity computername -properties * | Select-Object -Property ms-Mcs-AdmPwd
No comments:
Post a Comment