diff options
author | Adam Edwards <adamed@opscode.com> | 2014-06-14 21:27:20 -0700 |
---|---|---|
committer | Adam Edwards <adamed@opscode.com> | 2014-10-21 20:58:05 -0700 |
commit | 04a3c18696f7ad2a857965ec7737ff85084290ed (patch) | |
tree | c2fd8af24400c048a816b13c47c40f888100b656 | |
parent | 4565d6506ae0a74be11ae31ec79bf85761293333 (diff) | |
download | chef-04a3c18696f7ad2a857965ec7737ff85084290ed.tar.gz |
Change default powershell_script executionpolicy to unrestricted
-rw-r--r-- | lib/chef/provider/powershell_script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/powershell_script.rb b/lib/chef/provider/powershell_script.rb index 852fe1436f..0e76cd1656 100644 --- a/lib/chef/provider/powershell_script.rb +++ b/lib/chef/provider/powershell_script.rb @@ -67,7 +67,7 @@ EOH "-NoLogo", "-NonInteractive", "-NoProfile", - "-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", |