メールアドレスを追加 -37049

Microsoft Exchange Online を使用しています。
従業員は、現在の電子メールエイリアスとドメイン cohowinery.com を組み合わせた追加の電子メールを持っている必要があります。
発信メールメッセージは、既存の cohovineyard.com メールアドレスから送信する必要があります。
cohowinery.com メールアドレスを追加する必要があります。

PowerShell を完成させなさい。

Susers = Get-User-Filter "Department -eq" "winery division'" -resultzsize unimited | GetMailbox”)}

Susers | ForEach-Object
$_EmailAdress-Add("smtp" +$_Alias+"@3cohowinery.com3"))

Susers | ForEach-Object {Set-mailboxIdentity
$_.Identity -EmailAddress $_.EmailAdress






回答
Susers = Get-User-Filter "Department -eq" "winery division'" -resultzsize unimited | GetMailbox”)}

Susers | ForEach-Object
$_EmailAdress-Add("smtp" +$_Alias+"@3cohowinery.com3"))

Susers | ForEach-Object {Set-mailboxIdentity
$_.Identity -EmailAddress $_.EmailAdress