From 8bbc9be71395043c44d39181e5c9a18e2bf8f511 Mon Sep 17 00:00:00 2001 From: DanHam Date: Wed, 18 Apr 2018 12:07:56 +0100 Subject: [PATCH] Explain how to manually set {{.Path}} and {{.Vars}} --- website/source/docs/provisioners/powershell.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/provisioners/powershell.html.md b/website/source/docs/provisioners/powershell.html.md index 24083da68..e1de273ec 100644 --- a/website/source/docs/provisioners/powershell.html.md +++ b/website/source/docs/provisioners/powershell.html.md @@ -101,7 +101,9 @@ Optional parameters: template](/docs/templates/engine.html). There are two available variables: `Path`, which is the path to the script to run, and `Vars`, which is the location of a temp file containing the list of - `environment_vars`, if configured. + `environment_vars`. The value of both `Path` and `Vars` can be + manually configured by setting the values for `remote_path` and + `remote_env_var_path` respectively. - `elevated_user` and `elevated_password` (string) - If specified, the PowerShell script will be run with elevated privileges using the given