{"id":561,"date":"2021-04-21T15:57:42","date_gmt":"2021-04-21T13:57:42","guid":{"rendered":"https:\/\/masterase.de\/Wordpress_Masterase\/?p=561"},"modified":"2021-04-21T15:57:42","modified_gmt":"2021-04-21T13:57:42","slug":"tipp-42-powershell-skripte-lassen-sich-nicht-ausfuehren-quick-and-dirty","status":"publish","type":"post","link":"https:\/\/masterase.de\/Wordpress_Masterase\/tipp-42-powershell-skripte-lassen-sich-nicht-ausfuehren-quick-and-dirty\/","title":{"rendered":"TIPP 42 PowerShell-Skripte lassen sich nicht ausf\u00fchren (Quick and dirty)"},"content":{"rendered":"\n<p>Vielfach scheitert es beim ausf\u00fchren von .ps1 scripten nicht nur daran, das man die Powershell ( Oder Exchange-Shell) nicht als Admin audgef\u00fchrt hat.<br><br>Quick and dirty damit alle Scripte erlaubt sind geht es so<br><br><em>Set-ExecutionPolicy Unrestricted<\/em><br><br>Ich habe es z.B. benutzt um einen Exchange Server mittels HealthChecker.script von GitHub auf die schnelle \u00fcberpr\u00fcfen zu k\u00f6nnen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vielfach scheitert es beim ausf\u00fchren von .ps1 scripten nicht nur daran, das man die Powershell ( Oder Exchange-Shell) nicht als Admin audgef\u00fchrt hat. Quick and dirty damit alle Scripte erlaubt sind geht es so Set-ExecutionPolicy Unrestricted Ich habe es z.B. benutzt um einen Exchange Server mittels HealthChecker.script von GitHub auf die schnelle \u00fcberpr\u00fcfen zu k\u00f6nnen.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[53,52,54],"class_list":["post-561","post","type-post","status-publish","format-standard","hentry","category-tipps","tag-exchange","tag-healthchecker","tag-powershell"],"_links":{"self":[{"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/posts\/561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/comments?post=561"}],"version-history":[{"count":1,"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/posts\/561\/revisions"}],"predecessor-version":[{"id":562,"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/posts\/561\/revisions\/562"}],"wp:attachment":[{"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/media?parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/categories?post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/masterase.de\/Wordpress_Masterase\/wp-json\/wp\/v2\/tags?post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}