Examples: To change the description of several OUs at the same time: dsmod ou "OU=Domain Controllers,DC=microsoft,DC=com" "OU=Resources,DC=microsoft,DC=com" "OU=troubleshooting,DC=microsoft,DC=com" -desc "This is a test OU"
Examples: Rename rule1 to rule 2: netsh advfirewall consec set rule name="rule1" new name="rule2" Change the action on a ...
Examples: setspn -R daserver1 It will register SPN "HOST/daserver1" and "HOST/{DNS of daserver1}" setspn -A http/daserver ...
Examples: The user object for the user Jane Doe can be renamed to Jane Jones with the following command: dsmove "cn=Jane ...
Examples: To add the user Mike Danseglio to all administrator distribution list groups: dsquery group "OU=Distribution Lists,DC=microsoft,DC=com" ...
Examples: To change the description of several OUs at the same time: dsmod ou "OU=Domain Controllers,DC=microsoft,DC=com" ...
Examples: To disable multiple computer accounts: dsmod computer CN=MemberServer1,CN=Computers,DC=microsoft,DC=com CN=Mem ...
Examples: To display all directory partitions in the forest that begin with "application", along with the top three directory ...
Examples: To display the account to which the quota is assigned and the quota limit for the quota specification "CN=quot ...
Examples: To display the description and phone numbers for contacts "Jon Smith" and "Jona Jones". dsget contact "CN=John ...