To Disable Computer account

To Disable Computer account:

dsmod computer “CN=BR10-08GGR48,OU=Workstations,OU=BCD,OU=Organizations,DC=domain,DC=com” -disabled yes

To Move Disabled computer account:

dsmove “CN=BR10-08GGR48,OU=Workstations,OU=BCD,OU=Organizations,DC=domain,DC=com” -newparent “OU=Waste Basket,OU=GC,OU=Organizations,DC=domain,DC=com”

To remove the computer account :

dsrm “CN=BR10-08F5R35,OU=Workstations,OU=BCD,OU=Organizations,DC=domain,DC=com” –noprompt -subtree

Advertisements

About jaihunt
Working as Technical consultant in Windows technologies

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: