Exchange Online PowerShell: Unterschied zwischen den Versionen
(Die Seite wurde neu angelegt: „<syntaxhighlight lang=powershell>$UserCredential = Get-Credential</syntaxhighlight> <syntaxhighlight lang=powershell>$Session = New-PSSession -ConfigurationNa…“) |
|||
| Zeile 9: | Zeile 9: | ||
[[Category:Software]] | [[Category:Software]] | ||
[[Category:Exchange]] | [[Category:Exchange]] | ||
| + | [[Category:Office 365]] | ||
Version vom 19. Juni 2015, 13:08 Uhr
<syntaxhighlight lang=powershell>$UserCredential = Get-Credential</syntaxhighlight>
<syntaxhighlight lang=powershell>$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection</syntaxhighlight>
<syntaxhighlight lang=powershell>Import-PSSession $Session</syntaxhighlight>
<syntaxhighlight lang=powershell>Remove-PSSession $Session</syntaxhighlight>