Tag: Exchange online

cmdlet: New-InboxRule

Q: Is there a way to create a new Inbox rule for a mailbox? A: Yes. The New-InboxRule cmdlet creates an Inbox rule to process messages and perform tasks for an Exchange mailbox. This cmdlet works both for on premises and online versions of Exchange. Actions can be taken such as move, copy, or even

cmdlet: Get-InboxRule

Q: Is there a way to get a list of Inbox rules from a mailbox? A: Yes. The Get-InboxRule is available both on premises and online versions of Exchange. This cmdlet allows you to review all or specific Inbox rules on an end user’s mailbox. Get-InboxRule -Mailbox Joe@Contoso.com This example retrieves all Inbox rules for the

cmdlet: Remove-DistributionGroupMember

Q: Is there a way to remove a user from a distribution group? A: Yes, there is the built in Remove-DistributionGroupMember cmdlet available, both for an on premises Exchange Server environment and Exchange online tenants. Remove-DistributionGroupMember -Identity GroupName -Member UserName  

cmdlet: Add-DistributionGroupMember

Q: Is there a way to add users to a distribution group? A: Yes, there is the built in Add-DistributionGroupMember cmdlet available, both for an on premises Exchange Server environment and Exchange online tenants. Add-DistributionGroupMember -Identity GroupName -Member UserName  

cmdlet: Get-DistributionGroupMember

Q: Is there a way to list or get members in a distribution group? A: Yes, there is the built in Get-DistributionGroupMember cmdlet available, both for an on premises Exchange Server environment and Exchange online tenants. Get-DistributionGroupMember -Identity GroupName -Member UserName