list all user profile paths ad

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Jeremy Smit Jeremy Smit 10 months, 1 week ago.

  • Author
  • #44645
    Profile photo of Jeremy Smit
    Jeremy Smit

    IS it possible to create a list of alle users in AD and where there profiles are saved?

  • #44647
    Profile photo of Mark Prior
    Mark Prior
    #Select OU
    $OU = ""
    Get-QADUser -Searchroot $ou -IncludedProperties homeDirectory | Select-Object name,homedrive,homedirectory,canonicalname | Out-GridView

    certainly is, i used quest commands for this, probably can be done in AD module
    this will output to grid, you could also output to file using "out-file"

    edit... dependant on how many users you have in your domain you may need the "-resultsize unlimited" switch adding

    download here, –

    • This reply was modified 10 months, 1 week ago by Profile photo of Mark Prior Mark Prior.
    • #44650
      Profile photo of Jeremy Smit
      Jeremy Smit

      Thank you for the script.

      It works great

You must be logged in to reply to this topic.