amoos
asked on
need a script to find old user folders
i am trying to write a script that will find folders on a file server that have no AD account attached to them.
for example we have user1 map their home directory which is stored on another file server so if we delete that user the directory is on another server
but all usernames match the directories
so user1 has the directory user1
for example we have user1 map their home directory which is stored on another file server so if we delete that user the directory is on another server
but all usernames match the directories
so user1 has the directory user1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
and what script could i use? i am new to scripting.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
user one maps there home directory from another server, i.e. AD is on one server and the home directories are on another.
have a person who deleted a lot of accounts but did not delete thier home directories to so what i am looking for is a script or program that will find the directories that dont have AD accounts associated with them
tons of thanks in advance