Get users in OU which has a homedrive mapped to UNC path.


  • Hi,

    I have a OU, with 2500 users. By error, SOME of them have a mapped homedir! but i dont want to go through each user to find WHO has and WHO has not.

    I really need help with Building a script to export all users in the OU, together with thier homedrive. (if mapped or not) og similar solution. Just exported as a list.txt or similar.

    So i can get the users, which has a mapped homedrive on thier profile and reset these with a powershell script, i allready have.
    To save ALOT of time.

    Can someone help me with this fetch script? :?


    Friday, April 21, 2017 10:36 AM

All replies