LyonJay
asked on
Script to check profile paths in AD
Dear all,
We are currently moving all profiles from one server to another but i need to check which users in active directory still have there profile paths set to the old server.
Do anyone have a script that could show me a print out of who still have there profile path set to the old server?
Thanks,
Lyon
We are currently moving all profiles from one server to another but i need to check which users in active directory still have there profile paths set to the old server.
Do anyone have a script that could show me a print out of who still have there profile path set to the old server?
Thanks,
Lyon
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.
both from a command prompt.
it's also good example :)
There is many ways for that :) PowerShell, CSVDE, LDIFDE, DS Tools, ADFind aso.
Usage depends on user preferences, I prefer using DS Tools :)
Krzysztof
There is many ways for that :) PowerShell, CSVDE, LDIFDE, DS Tools, ADFind aso.
Usage depends on user preferences, I prefer using DS Tools :)
Krzysztof
ASKER
Thanks guy!
Will have a go and get back to you!
Will have a go and get back to you!
ASKER
demazter,
your query just errored out.
Thanks,
Lyon
your query just errored out.
Thanks,
Lyon
possibly you don't have permissions to C:
take the c:\ off.
Try:
CSVDE -f PROFILES.CSV -l "profilepath"
take the c:\ off.
Try:
CSVDE -f PROFILES.CSV -l "profilepath"
the -l is a lowercase L not an i.
ASKER
That didnt work.
Thanks,
Lyon
Thanks,
Lyon
odd, what's the error you are getting?
and where you are typing this command? I would suggest doing that on a DC :)
Krzysztof
Krzysztof
ASKER
Thanks,
Lyon