Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AD Vbscript to move a folder to another folder

Status
Not open for further replies.

Aek

MIS
Jun 18, 2004
10
US
Here is what we want to achieve:

We have lots of user folder that still exist even after the user has moved out of the organization. We want to move that user's folder to a separate share on the network.

So:
If a UserID exists in the Terminated OU in AD
Move the users folder on a \\server\share\userfolder
to \\server\share\.DELETEDUSER folder

It would be great if anyone has a script to achieve the same.

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top