Office 365 – öffentliches Postfach


New-Mailbox -Name "ANZEIGENAME" -Alias MAILBOXNAME -Shared -primarysmtp <MAILBOXNAME@DOMAIN.DOM>
Add-MailboxPermission "MAILBOXNAME" -User "VERTEILER" -AccessRights FullAccess
Add-RecipientPermission "MAILBOXNAME"  -Trustee "VERTEILER" -AccessRights SendAs

Office 365 – Powershell aktivieren

set-executionpolicy RemoteSigned
set-executionpolicy default
$cred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection
Set-ExecutionPolicy -ExecutionPolicy unrestricted
$importresults = Import-PSSession $session
Set-ExecutionPolicy -ExecutionPolicy restricted