Windows
- 30 ответов
- 0 вопросов
9
Вклад в тег
Get-User -OrganizationalUnit "IT" -RecipientTypeDetails User -Filter { UserPrincipalName -ne $Null } | Enable-Mailbox
Get-User -OrganizationalUnit "IT" -RecipientTypeDetails User -Filter { UserPrincipalName -ne $Null } | %{$forwardedEmail = "{0}@bleble.ru" -f $_.SamAccountName; Set-Mailbox -ForwardingAddress $forwardedEmail}