Tag: AD

Disabled Users with LastLogOnDate and OU Structure Copy the Script below it will produce an output file with the results where you have ran the script, you can add a network path if preferred. Script will show Disabled accounts with Last login Date and location of the account. Echo “Input computer name: ” $Computer = […]

Read more
Step-By-Step Guide on how to rename your active directory domain name – Windows Server 2016

I have always been curious to see how hard it was to rename an active directory domain name, but never really had a reason to do it. Generally you move to clean domain, as it has issues with Exchange Servers 2007+. Finally a time has occurred when I can do this in my environment as […]

Read more