How to Create bulk Distribution Groups, Add Members and Add Contacts on Office 365 using PowerShell
Автор: Microsoft & beyond
Загружено: 2023-06-15
Просмотров: 13318
https://microsoftandbeyond.blogspot.c...
https://drive.google.com/drive/folder...
How to Create Distribution Groups, Add Members to Distribution Groups, and Add Contacts on Office 365 Portal using PowerShell.
1. Create Distribution Groups.
PowerShell Cmd:
Import-CSV “C:\temp\distgroups.csv” | foreach {New-DistributionGroup -Name $_.name -PrimarySmtpAddress $_.PrimaryEmail -Type $_.Type}
2. Add Members in Distribution Groups
PowerShell Cmd:
Import-Csv “C:\temp\neurogroupmembers.csv” | foreach {Add-DistributionGroupMember -Identity $_.identity -Member $_.members}
3. Add contacts in Office 365 Portal
PowerShell Cmd:
Import-Csv “C:\temp\ExternalContacts.csv” |%{New-MailContact -Name $_.Name -DisplayName $_.Name -ExternalEmailAddress $_.ExternalEmailAddress}
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: