[Scenario]
Country leader set a flag for creating an email distribution for Korea management members. Members for the distribution group has been in the request mail.
[Objectives]
Use PowerShell ExchangeOnline module to create an email distribution group
[Steps]
Run PowerShell and connect to ExchangeOnline with admin. credential
#Accessing to ExchangeOnline
Connect-ExchangeOnline -UserPrincipalName [admin account]
When a credential input window appears, input ID and PW.
----------------------------------------------------------------------------------------
This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn't require WinRM for Client-Server communication. You can now run these cmdlets after turning off
WinRM Basic Auth in your client machine thus making it more secure.
Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with the RPS (V1) cmdlets.
V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and throttling errors inherently.
However, REST backed EOP and SCC cmdlets are not available yet. To use those, you will need to enable WinRM Basic Auth.
For more information check https://aka.ms/exov3-module
----------------------------------------------------------------------------------------
After successfully log in to Exchange server, use "New-DistributionGroup" command to create an email distribution group.
New-DistributionGroup (ExchangePowerShell) | Microsoft Learn
New-DistributionGroup (ExchangePowerShell)
You can use the New-DistributionGroup cmdlet to create the following types of groups: Mail-enabled universal security groups (USGs) Universal distribution groups Distribution groups are used to consolidate groups of recipients into a single point of contac
learn.microsoft.com
It is recommanded to user below parameters to describe an email distribution group.
-Description --> Short description about email distribution group
-DisplayName --> Displayed name of email distribution group
-Name --> Name saved in Exchange server data
Set member with "Members" parameter and email distribution address with "PrimarySmtpAddress"
New-DistributionGroup -Description [Short description of group] -DisplayName [Display] -Name [Name saved in Exchange server] -Members [list of email account without space, separated by comma(,)] -PrimarySmtpAddress [emailAddress]
After creating email distribution group, email distribution group can be listed with "Set-DistributionGroup"
Set-DistributionGroup (ExchangePowerShell) | Microsoft Learn
Set-DistributionGroup (ExchangePowerShell)
Distribution groups are used to consolidate groups of recipients into a single point of contact for email messages. Distribution groups aren't security principals, and therefore can't be assigned permissions. However, you can assign permissions to mail-ena
learn.microsoft.com
Get-DistributionGroup -filter "Name -like '*Gimpo*'"
Name DisplayName
---- -----------
KR - Gimpo (YTC) – Admin KR - Gimpo (YTC) – Admin
KR - Gimpo (YTC) - Douzon_Users KR - Gimpo (YTC) - Douzon_Users
KR - Gimpo (YTC) - Finance KR - Gimpo (YTC) - Finance
KR - Gimpo (YTC) - HSE KR - Gimpo (YTC) - HSE
KR - Gimpo (YTC) - Production KR - Gimpo (YTC) - Production
KR - Gimpo (YTC) – Production_Materials KR - Gimpo (YTC) – Production_Materials
KR - Gimpo (YTC) - Production_PCB KR - Gimpo (YTC) - Production_PCB
KR - Gimpo (YTC) – Production_TeamLeaders KR - Gimpo (YTC) – Production_TeamLeaders
KR - Gimpo (YTC) - Quality KR - Gimpo (YTC) - Quality
KR - Gimpo (YTC) – R&D KR - Gimpo (YTC) – R&D
KR - Gimpo (YTC) - Sales KR - Gimpo (YTC) - Sales
KR - Gimpo (YTC) - SAP_Users KR - Gimpo (YTC) - SAP_Users
KR - Gimpo (YTC) - Site Service KR - Gimpo (YTC) - Site Service
KR - Gimpo (YTC) - Team_Leaders KR - Gimpo (YTC) - Team_Leaders
When modifying email distribution group, call "Set-DistributionGroup" command
Set-DistributionGroup (ExchangePowerShell) | Microsoft Learn
Set-DistributionGroup (ExchangePowerShell)
Distribution groups are used to consolidate groups of recipients into a single point of contact for email messages. Distribution groups aren't security principals, and therefore can't be assigned permissions. However, you can assign permissions to mail-ena
learn.microsoft.com
'ICT' 카테고리의 다른 글
[PowerShell]Creating Room Mailbox As Resource (0) | 2023.04.07 |
---|---|
[PowerShell]Setting Mailbox Autoreply (0) | 2023.04.06 |
[PowerShell]7. Functions (0) | 2023.04.03 |
[PowerShell]6. Loops (0) | 2023.03.30 |
[PowerShell]Checking User EmailBox Storage Status (0) | 2023.03.30 |
댓글