Thursday, July 2, 2015

Powershell move computer account to a specific destination Organizational Unit

Hi mates,
how many times you asked to yourself : how can I move computer account in a specific OU ?
I had this need in our Active Directory test environment.
Since we were applying a particular Group Policy we needed to schedule, in a specific time windows, to move these computers.
Here below something that is simple to customize (only the OU where to find the computer account to move and the destination container need to be set).


No complications, no tricks, only the essential.
Hope this helps.
See you soon.

No comments:

Post a Comment