Techit Tricks

You can download videos of CCNA | Azure | Vmware | AWS | Citrix | HP

Exchange Shell Commands / cmdlets - Useful Exchange cmdlets (Part 1)

Exchange Commands (Part 1)





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”




Share if you care :)




EmoticonEmoticon