How to create a Distribution Group using PowerShell | #Microsoft #PowerShell #ExchangeOnline

preview_player
Показать описание
Hi Everyone,
In this video, I will show how you can use PowerShell to create a distribution group in Exchange Online. Also, I will show you a few other commands I think will help you to manage a distribution group.

List of commands:

1)How to Create a Distribution Group

2)To get E-mail from External senders
Set-distributionGroup "Distribution Group Name" -requiredSenderAuthenticationEnabled $false

3)Hide Distribution Group from Global Address List
Set-distributionGroup "Distribution Group Name" -HideFromAddressListEnabled $True

4)Add users to a distribution group
Add-DistributionGroupMember "Distribution Group Name" -Member "Member Name"

5)Send As permission

7)Count the number of Distribution Group Member
(Get-DistributionGroupMember "Distribution Group Name").count

8)Remove A distribution Group
Remove-DistributionGroup "Distribution Group Name"

9)Remove a member from a distribution group
Remove-DistributionGroupMember -identity "Distribution Group Name" -Member "MemberName"

10)Get a list of Distribution groups which their owner is user X
Get-DistributionGroup | Where {$_.ManagedBy -like “*UserX*”} | FT DisplayName,ManagedBy

#howto #office365
Рекомендации по теме
Комментарии
Автор

Hii ! how we got Grouptype as Universal? here!
It came as default.

shaikjawahar
Автор

how to export members name along with email ids in that distribution group

yuvrajpatil
Автор

How to create a bulk distribution groups in exchange online using power shell ?

hiteshganesana