AD account getting locked
PowerShell script to search AD controllers and display the source hostname
- Login to THNSLASUTIL02 as your admin account
- Navigate to c:\scripts
- Run “Execute Locked AD.ps1” in PowerShell (right click option)
- For security of this, we will be using “th\nslafwfp” account and password, which can be found in Keypass.
- Script will ask you for the TM AD account
- example “nsla.it.test” and hit enter
- This process will take a few minutes and if found, the hostname(s) will be listed on the line below the TM’s AD account