Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Remove the managed by details for all computers in the Domain and save results.

Hi,

Remove the managed by details for all computers in the Domain and save results.
Script which can remove all users that have been specified in the computers managed by tab.Need the results to a file which shows which machine had which user and if removed.

regards
Sharath
Avatar of RobSampson
RobSampson
Flag of Australia image

Sharath, this script has a section that clears the ManagedBy attribute.....I'll modify it tomorrow to do only that on the computers in the AD....

Regards,

Rob.
Avatar of bsharath

ASKER

Ok Rob...
ASKER CERTIFIED SOLUTION
Avatar of Farhan Kazi
Farhan Kazi
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Farhan i get this...

Name: DEV-CHEN-MRD100
ManagedBy: CN=Sharath Reddy,OU=Named Accounts,OU=User Accounts,DC=Development,DC=Group,DC=co
Name: msmq
ManagedBy:

So does this mean that this machine had a managed by user and it has been removed.
What id the "Name : msmq"
>> So does this mean that this machine had a managed by user and it has been removed.
YES
>> What id the "Name : msmq"
That must be machine name try searching with DSQuery Computer -Name msmq*
Ha, too late....nice one Farhan...