Posts tagged ‘active directory’

VBScript: Move computer object to another OU via Command line parameter

Hello everyone
My collegue Michael Petersen, needed a script to move computers to another OU, after re-installing them via SCCM/ConfigMgr.
He have written a blog post to show how to use it in a Task Sequence:
therefore i developed this small script
All you needs to do is to run it with the CN for the new OU (without [...]

Checking if User is member of group including nested/sub groups!

Download:
I had a challenge today.
Problem:
My Customer needs to insert a specific text in the Computer description field on the local PC, if the user is member of a specific group.
Challenges:
The problem is that most of the user are not directly members of the group.
but they are members of a nested group that if member [...]