Examples: To add the user Mike Danseglio to all administrator distribution list groups: dsquery group "OU=Distribution Lists,DC=microsoft,DC=com" ...

Examples:  To add the user Mike Danseglio to all administrator   distribution list groups:    dsquery group "OU=Distribution Lists,DC=microsoft,DC=com" -name adm* |   dsmod group -addmbr "CN=Mike Danseglio,CN=Users,DC=microsoft,DC=com"    To add all members of the US Info group to the Cananda Info group:    dsget group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com" -members |  dsmod group "CN=CANADA INFO,OU=Distribution Lists,DC=microsoft,DC=com"  -addmbr    To convert the group type of several groups from "security" to  "non-security":    dsmod group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com"  "CN=CANADA INFO,OU=Distribution Lists,DC=microsoft,DC=com"  "CN=MEXICO INFO,OU=Distribution Lists,DC=microsoft,DC=com" -secgrp no    To add three new members to the US Info group:    dsmod group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com" -addmbr   "CN=John Smith,CN=Users,DC=microsoft,DC=com"  "CN=Datacenter,OU=Distribution Lists,DC=microsoft,DC=com"  "CN=Jane Smith,CN=Users,DC=microsoft,DC=com"    To add all users from the OU "Marketing" to the exisitng group  "Marketing Staff":    dsquery user ou=Marketing,dc=microsoft,dc=com | dsmod group  "cn=Marketing Staff,ou=Marketing,dc=microsoft,dc=com" -addmbr    To delete two members from the exisitng US Info group:    dsmod group "CN=US INFO,OU=Distribution Lists,DC=microsoft,DC=com" -rmmbr  "CN=John Smith,CN=Users,DC=microsoft,DC=com"  "CN=Datacenter,OU=Distribution Lists,DC=microsoft,DC=com"
English
English (United States)
日本語
Japanese