hi guys,
wondering if any of you can help me with a small issue, ive been asked to go through actve directory and delete all disabled accounts, now luckily all these accounts are in the same ou, however each account has a home folder, im wondering if theres an easy way to select all accounts and delete the home folder with the account? my first thought was to use a script to delete the home folder and account however google has shown me nothing, and although i have wrote a few scripts in the past i didnt fancy risking this one so much incase i typed something incorrectly(therefore deleting everything ).
thanks,
Flakes
wondering if any of you can help me with a small issue, ive been asked to go through actve directory and delete all disabled accounts, now luckily all these accounts are in the same ou, however each account has a home folder, im wondering if theres an easy way to select all accounts and delete the home folder with the account? my first thought was to use a script to delete the home folder and account however google has shown me nothing, and although i have wrote a few scripts in the past i didnt fancy risking this one so much incase i typed something incorrectly(therefore deleting everything ).
thanks,
Flakes