list all user profile paths ad

Welcome Forums General PowerShell Q&A list all user profile paths ad

Viewing 1 reply thread
  • Author
    Posts
    • #44645
      Participant
      Topics: 8
      Replies: 8
      Points: 0
      Rank: Member

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

    • #44647
      Participant
      Topics: 47
      Replies: 156
      Points: 42
      Rank: Member
      #Select OU
      $OU = "domain.name.com/Europe/Users"
      
      
      #GetDetails
      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, – https://support.software.dell.com/download-install-detail/5024645

      • #44650
        Participant
        Topics: 8
        Replies: 8
        Points: 0
        Rank: Member

        Thank you for the script.

        It works great

Viewing 1 reply thread
  • The topic ‘list all user profile paths ad’ is closed to new replies.