diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-29 13:30:33 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-29 13:30:33 -0700 |
commit | a871f16c6ec7413558dbadf7870b7bb065c36c9a (patch) | |
tree | 02fbabb9f381964da119ccfe410e616316a034ef /lib/chef/mixin/powershell_out.rb | |
parent | a123c315307f5210629d63e20cd80906620a072e (diff) | |
download | chef-lcg/powershell_out.tar.gz |
change executionpolicy to unrestrictedlcg/powershell_out
Diffstat (limited to 'lib/chef/mixin/powershell_out.rb')
-rw-r--r-- | lib/chef/mixin/powershell_out.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/powershell_out.rb b/lib/chef/mixin/powershell_out.rb index a81905407c..e4f29c07c4 100644 --- a/lib/chef/mixin/powershell_out.rb +++ b/lib/chef/mixin/powershell_out.rb @@ -85,7 +85,7 @@ class Chef "-NoProfile", # always set the ExecutionPolicy flag # see http://technet.microsoft.com/en-us/library/ee176961.aspx - "-ExecutionPolicy RemoteSigned", + "-ExecutionPolicy Unrestricted", # Powershell will hang if STDIN is redirected # http://connect.microsoft.com/PowerShell/feedback/details/572313/powershell-exe-can-hang-if-stdin-is-redirected "-InputFormat None" |