Active Directory

Add multiple users to multiple AD-groups

I got a question from the support at a customer how they could add multiple users to multiple groups without user the mmc “users and computers”, this is my quick solution…



A function to list ad-groups for an client based on computername.


A function to get a list on all AD-groups for an user i AD (by typing the username after the function.


An function to search Active Direcgory on user. If you wonder what info you can get….