diff --git a/website/source/docs/provisioners/powershell.html.md.erb b/website/source/docs/provisioners/powershell.html.md.erb index 2dfcc90a6..074f4f8f3 100644 --- a/website/source/docs/provisioners/powershell.html.md.erb +++ b/website/source/docs/provisioners/powershell.html.md.erb @@ -102,6 +102,12 @@ The example below is fully functional. "elevated_password": "", ``` +- `execution_policy` - To run ps scripts on windows packer defaults this to + "bypass" and wraps the command to run. Setting this to "none" will prevent + wrapping, allowing to see exit codes on docker for windows. Possible values + are "bypass", "allsigned", "default", "remotesigned", "restricted", + "undefined", "unrestricted", "none". + - `remote_path` (string) - The path where the PowerShell script will be uploaded to within the target build machine. This defaults to `C:/Windows/Temp/script-UUID.ps1` where UUID is replaced with a dynamically