Code: Alles auswählen
$EOAdminCred = Get-CredentialCode: Alles auswählen
$EOAdminSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $EOAdminCred -Authentication Basic -AllowRedirectionCode: Alles auswählen
Import-PSSession $EOAdminSessionCode: Alles auswählen
Set-RemoteDomain Default -TNEFEnabled $falseCode: Alles auswählen
Remove-PSSession $EOAdminSession