Add OU users to a group (and skip when the user is already member)

I wanted to add all the users from an OU direct in a group but the problem was that the group had already members.I needed to control wether the user was already member of the group.That is my implementation.

 

Continue reading “Add OU users to a group (and skip when the user is already member)”

WSUS Cleanup script. (when mmc still fails)

The script is not mine.I found it as is on the web.It is the ONLY script that actually does the work when you are dealing with broken MMC console sessions.
Tested on a 1.2 TB WSUS installation on a windows Server 2012 R2. Continue reading “WSUS Cleanup script. (when mmc still fails)”