I would like to get a list of all ad-user profiles path, where is the profile stored,
Background: we had a file server that didnt worked fine, so we changed the profile path of all users to another shared location.
but now i whant to list all users from an ou to see if the profile path is correct.
what i had so far:
et-ADUser -filter * -properties scriptpath, profiledirectory, homedirectory | ft Name, scriptpath, homedrive, homedirectory > C:\temp\users.txt