(Exchange Online) How to Create Distribution Group Using Powershell

preview_player
Показать описание
Dear Friends: Welcome to My Channel. I will show how to create distribution group in exchange online using powershell command. Please note the 2FA is enabled for my user and the procedure is a little different than basic authentication.

This Video contains instructions for how to create distribution group using powershell.

The Exchange Online PowerShell module uses modern authentication for connecting to all Exchange-related PowerShell environments in Microsoft 365: Exchange Online PowerShell, Security & Compliance PowerShell, and standalone Exchange Online Protection (EOP) PowerShell.

####### Exchange Online Module Installation #######

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Import-Module ExchangeOnlineManagement

Connect-ExchangeOnline

####### Distribution Group Creation ########

To view All Distribution group list :

Get-DistributionGroup

To view Entire list about Particular Distribution group:

Get-DistributionGroup -Identity “TECH SPOT” |fl

Add User to Distribution Group:

Add-DistributionGroupMember "TECH SPOT" -Member “kumar surya”

#powershell #exchange #microsoft365
Рекомендации по теме