Created
January 27, 2022 23:59
-
-
Save carlosdoliveira/f0b7eaae35831ba0106f197eba95be4f to your computer and use it in GitHub Desktop.
Cria múltiplas listas de distribuição para o Exchange Online
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Seu Arquivo CSV deve ter as colunas Nome e Email | |
$listas=Import-Csv C:\temp\listas.csv | |
foreach ($lista in $listas) | |
{ | |
New-DistributionGroup -Name $lista.Nome -PrimarySmtpAddress $lista.Email | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment