Syntax
$DName = Read-Host “Enter Distribution Group Name”; #Creates a name for the Distribution Group
$DNameNoSpace = $DName -replace ‘\s’,”; #Removes the spaces from the name for email address
$DAdd = $DNameNoSpace + ‘@infraadminassist.onmicrosoft.com’; #creates an email address
Download Full Script
Purpose: | To import contacts in Office 365 |
Modification: | |
Type: | PowerShell (.ps1) |
Compatibility: | Run with PowerShell |
Tags: | Office 365, Microsoft |
Reference link: |