{"id":73,"date":"2018-09-03T17:00:00","date_gmt":"2018-09-03T15:00:00","guid":{"rendered":"https:\/\/schoppe.it\/wiki\/?p=73"},"modified":"2024-09-03T08:51:24","modified_gmt":"2024-09-03T06:51:24","slug":"exchange-online-powershell-fuer-office-365","status":"publish","type":"post","link":"https:\/\/schoppe.it\/wiki\/exchange-online-powershell-fuer-office-365\/","title":{"rendered":"Exchange Online Powershell f\u00fcr Office 365"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Voraussetzungen<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Windows 7 oder h\u00f6her bzw. Windows Server ab 2008 R2<\/li><li>Microsoft Online Services-Anmelde-Assistent<\/li><\/ul>\n\n\n\n<p>Die Microsoft Online Services k\u00f6nnen \u00fcber den folgenden Link heruntergeladen und installiert werden.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.microsoft.com\/de-de\/download\/details.aspx?id=41950\">https:\/\/www.microsoft.com\/de-de\/download\/details.aspx?id=41950<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Danach das PowerShell-Modul installieren (PowerShell als Administrator \u00f6ffnen)<\/li><\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ninstall-module msonline\n<\/pre><\/div>\n\n\n<p>Die Installation des &#8222;NuGet-Anbieters&#8220; mit &#8222;J&#8220; best\u00e4tigen.<\/p>\n\n\n\n<p>Die Installation des Moduls aus einem nicht vertrauensw\u00fcrdigem Repository mit &#8222;J&#8220; best\u00e4tigen.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport-module msonline\n<\/pre><\/div>\n\n\n<p>\u00d6ffnen Sie die PowerShell mit administrativen Rechten und f\u00fchren Sie folgende Befehle aus.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSet-ExecutionPolicy RemoteSigned\n<\/pre><\/div>\n\n\n<p>Die Ausf\u00fchrungsrichtlinie muss vor dem Befehl &#8222;Import-PSSession&#8220; ausgef\u00fchrt werden.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verbinden mit Exchange Online-Powershell<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$cred = Get-Credential\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/outlook.office365.com\/powershell-liveid\/ -Credential $cred -Authentication Basic -AllowRedirection\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nImport-PSSession $Session -DisableNameCheckin\n<\/pre><\/div>\n\n\n<p>Die Verbindung ist nun hergestellt. Die Exchange-Powershell-Befehle sollten nun verf\u00fcgbar sein.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Voraussetzungen Windows 7 oder h\u00f6her bzw. Windows Server ab 2008 R2 Microsoft Online Services-Anmelde-Assistent Die Microsoft Online Services k\u00f6nnen \u00fcber den folgenden Link heruntergeladen und installiert werden. https:\/\/www.microsoft.com\/de-de\/download\/details.aspx?id=41950 Danach das PowerShell-Modul installieren (PowerShell als Administrator \u00f6ffnen) Die Installation des &#8222;NuGet-Anbieters&#8220; mit &#8222;J&#8220; best\u00e4tigen. Die Installation des Moduls aus einem nicht vertrauensw\u00fcrdigem Repository mit &#8222;J&#8220; best\u00e4tigen.&hellip; <a class=\"more-link\" href=\"https:\/\/schoppe.it\/wiki\/exchange-online-powershell-fuer-office-365\/\"><span class=\"screen-reader-text\">Exchange Online Powershell f\u00fcr Office 365<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,22],"tags":[],"powershell":[16,19,15,20,17,18],"wordpress":[],"exchange":[],"linux":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-microsoft-365","category-powershell","powershell-get-credential","powershell-import-module","powershell-import-pssession","powershell-install-module","powershell-new-pssessio","powershell-set-executionpolicy","entry"],"_links":{"self":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":3,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":76,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/posts\/73\/revisions\/76"}],"wp:attachment":[{"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/categories?post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/tags?post=73"},{"taxonomy":"powershell","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/powershell?post=73"},{"taxonomy":"wordpress","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/wordpress?post=73"},{"taxonomy":"exchange","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/exchange?post=73"},{"taxonomy":"linux","embeddable":true,"href":"https:\/\/schoppe.it\/wiki\/wp-json\/wp\/v2\/linux?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}