Author Posts

January 1, 2012 at 12:00 am

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

Thanks

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
}