filmov
tv
How to create a Distribution Group using PowerShell | #Microsoft #PowerShell #ExchangeOnline
![preview_player](https://i.ytimg.com/vi/JeDG6l-tU4U/maxresdefault.jpg)
Показать описание
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
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
Комментарии