forest wide search using Powershell

Welcome Forums General PowerShell Q&A forest wide search using Powershell

Viewing 0 reply threads
  • Author
    • #6260
      Topics: 1562
      Replies: 0
      Points: 1
      Rank: Member

      by techps at 2013-01-24 02:15:51

      I would like to search for users in entire domain and update some attributes mostly extended attributes. I have samaccountname in CSV file

      Is this possible? I can do this for domain where my account exist but for all other domains not possible. I am looking to updated entire forest

      Can this be done using Powershell or Quest commands

      Any help would be appreciated


      by ArtB0514 at 2013-01-24 10:59:51

      Note that you need Enterprise Admin permissions to update in all domains.
      This should get you started (using the Quest tools)….

      $DomainList = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest().Domains
      foreach ($Domain in $DomainList) {
      $Connection = Connect-QADService $Domain
      <execute your per-domain commands>
      Disconnect-QADService $Connection

Viewing 0 reply threads
  • The topic ‘forest wide search using Powershell’ is closed to new replies.