Jump to content

Script to remove home & profile folders of deleted users


Recommended Posts

Posted

hi folks,

I used to have this handy little script that I could run and it would query the AD againts a folder location (eg. Profiles folder or Home Folder) - it would then prompt to delete any folder that had no corresponding user account in the directory.

 

Anybody got a little script handy? I can't for the life of me track it down on the web

 

cheers

Baronne

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...