How to add all users in an Active Directory OU to a group using powershell (like a sophisticated person would do).

If you want to feel really sophisticated you can do this. It’s very easy. I’ll show you how. ** Replace with the OU searchbase and group name (Office1_N_Drive is group name here in this example) ** In the above example, we have a domain name “domain.local” . There is an OU named “offices”, within that … Read more

How to copy group memberships from one active directory user to another using powershell

Perhaps you made a new domain admin but want all the same permissions as another, or perhaps you want to copy permissions from an already existing user, or maybe you are on a first date trying to impress your date with your powershell skills. The below code snippit should do the trick for you. sourceusername … Read more