Active directory automated cleaning Script for disabled users

Dear all ; I just got a little script that could be usefull if you plan to used towards an OU It will Strip the memebership groups, Addresslist exchange membership and ensure is disabled. You can schedule this script at the last time of the day , please make sure you change the OU to … Continue reading Active directory automated cleaning Script for disabled users

Powershell script to move active directory machines to specific ou

Today I'll post a simple mini script that moves machines to a specific ou in active directory via powershell   The machines will be listed in a txt file like this  ( no spaces only intro ) example (machines.txt)   machine1 machine2 machine3   Create a ps1 with the following code get-content machines.txt | % … Continue reading Powershell script to move active directory machines to specific ou