Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / You have created about 50 users for a new branch office of the csmtech

You have created about 50 users for a new branch office of the csmtech

Sociology

You have created about 50 users for a new branch office of the csmtech.local domain that will be opening soon. The accounts are in the BranchOff OU and are currently disabled. You want to enable them when the branch office opens next week. Construct a dsquery command that pipes to a dsmod command that will enable all accounts that are disabled.

 

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Answer Preview

answer is the following:

Step-by-step explanation

The following is the query:
?C:\>dsquery user "dc=pearson,dc=abc,dc=com"  dsmod -disabled 
C:\>dsquery computer "dc=pearson,dc=abc,dc=com" -enable 

This finds all the disabled accounts and converts them to be enabled in the category pearson as stated above.