Execution of Powershell

Facebooktwittermail

Memo
Windows 8のPowershellの実行許可を与える方法
そのままではエラーになります


Windows PowerShell スクリプトを実行する
http://technet.microsoft.com/ja-jp/scriptcenter/powershell_owner05.aspx

about_Execution_Policies
http://technet.microsoft.com/ja-JP/library/hh847748.aspx

標準ではスクリプトは実行できない(Restricted)設定です。
しかしPowershellの利用を推奨しているのにそのままでは実行できないとは…

実行許可をRemoteSignedに変更します
これはネットワーク上のスクリプトなどはデジタル署名が必要で、ローカルでの実行はデジタル署名が無くても実行できるようになります

Powershell バージョン確認
http://gallery.technet.microsoft.com/scriptcenter/6aed190f-d9f1-422d-8b43-3d0ac072c267/

Leave a Reply