12 November 2019

Get AD Home Drive and Profile paths

Get the AD Home Drive, path, and Profile path for all users:

dsquery user -name "*" -limit 0 | dsget user -samid -hmdir -hmdrv -profile > paths.txt

No comments:

Post a Comment