Exchange Commands (Part 1)
To Create QBDL :
(Dynamic Distribution Group)
(Note : given Recipient filter is a sample please replace this according to your environment)
• Set-DynamicDistributionGroup -Identity "created DL Name" -RecipientContainer ‘OU Path'
To Get the List of member in DL in Notepad :
To Add user into the group :
Add-ADPermission –identity DistributionGroup –User username –AccessRights WriteProperty –Properties “Member”
To Create QBDL :
(Dynamic Distribution Group)
• New-DynamicDistributionGroup -Name "<<DL NAME>>" -OrganizationalUnit "OU Path" -RecipientFilter { ((memberofgroup -eq "CN=G-CRP-STS-ProWatch-User,OU=Corporate,OU=Groups,DC=americas,DC=swk,DC=pri")) }
(Note : given Recipient filter is a sample please replace this according to your environment)
• Set-DynamicDistributionGroup -Identity "created DL Name" -RecipientContainer ‘OU Path'
To Get the List of member in DL in Notepad :
Get-DistributionGroupMember –identity “group name” | ft name >> output.txt
To Add user into the group :
Add-ADPermission –identity DistributionGroup –User username –AccessRights WriteProperty –Properties “Member”
EmoticonEmoticon