Active Directory

Anything AD related

This one liner was used when the password age group policy was reduced. It caused a massive amount of users not being able to login due to the password expiry policy now in place. We needed to find the password age so we used the PasswordLastSet attribute on each AD User to export to s […]

Read More

This Script was designed for a Service Desk Analyst to run. The AD user was already created and required the same AD groups as another user in the domain. This script exports the groups and adds them to the other user. NOTE – This script does not overwrite existing groups.  Below is an index of […]

Read More

This script was found on the following site and very useful for me when consolidating an Active Directory forest: https://nidhinck.wordpress.com/2013/07/23/find-empty-groups-in-active-directory-using-powershell-script/ The script can be run from a normal Powershell window or with the Windows Powershell with AD Modules installed already (If you are using the AD Shell please delete the first line of this script) […]

Read More