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"
Example: To change the default quota limit for a directory partition named NC1 to a value of 1000, type: dsmod partition ...
Examples: REG QUERY HKLM\Software\Microsoft\ResKit /v Version Displays the value of the registry value Version REG QUERY ...
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 the description and phone numbers for contacts "Jon Smith" and "Jona Jones". dsget contact "CN=John ...
Examples: To enable the domain controllers CORPDC1 and CORPDC9 to become global catalog servers: dsmod server "cn=CORPDC ...
Examples: To find all computers in a given OU whose name starts with "tst" and show their descriptions. dsquery computer ...