{"id":13,"date":"2011-10-06T18:31:01","date_gmt":"2011-10-06T18:31:01","guid":{"rendered":"http:\/\/powershell.erichcottom.com\/?p=13"},"modified":"2011-10-06T18:34:58","modified_gmt":"2011-10-06T18:34:58","slug":"execution-policy","status":"publish","type":"post","link":"https:\/\/powershell.erichcottom.com\/?p=13","title":{"rendered":"Execution Policy"},"content":{"rendered":"<p>First step to scripting in PowerShell is setting the execution policy to RemoteSigned.\u00a0 That way any script that came from your hard drive can be executed.<\/p>\n<p style=\"padding-left: 30px\"><code>Set-ExecutionPolicy RemoteSigned<\/code><\/p>\n<p>For more info see: <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ee176961.aspx\" target=\"_blank\">http:\/\/technet.microsoft.com\/en-us\/library\/ee176961.aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First step to scripting in PowerShell is setting the execution policy to RemoteSigned.\u00a0 That way any script that came from your hard drive can be executed. Set-ExecutionPolicy RemoteSigned For more info see: http:\/\/technet.microsoft.com\/en-us\/library\/ee176961.aspx<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[14,15],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-powershell","category-tips","tag-execution-policy","tag-remotesigned"],"_links":{"self":[{"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13"}],"version-history":[{"count":3,"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":15,"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=\/wp\/v2\/posts\/13\/revisions\/15"}],"wp:attachment":[{"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/powershell.erichcottom.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}