Examples: To enable the domain controllers CORPDC1 and CORPDC9 to become global catalog servers: dsmod server "cn=CORPDC1,cn=Servers,cn=site1,cn=sites,cn=configuration,dc=microsoft,dc=com" "cn=CORPDC9,cn=Servers,cn=site2,cn=sites,cn=configuration,dc=microsoft,dc=com" -isgc yes
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 ...
Examples: To find all computers in the current domain whose name starts with "ms" and whose description starts with "desktop", ...
Examples: To find all computers that have been inactive for the last four weeks and remove them from the directory: dsquery ...
Examples: To find all connections for server CORPDC1 and show their from-end servers and enabled states. dsquery conn -to ...