forest wide search using Powershell

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

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 7 years, 6 months ago.

  • Author
  • #6260

    Topics: 1562
    Replies: 0
    Points: 0
    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

    Disconnect-QADService $Connection

The topic ‘forest wide search using Powershell’ is closed to new replies.