even clearer example in winrmpassword docs

This commit is contained in:
Megan Marsh 2018-03-16 14:28:20 -07:00
parent de7d1430bd
commit f3dc7546d4
1 changed files with 5 additions and 1 deletions

View File

@ -80,7 +80,11 @@ Optional parameters:
as an environment variable. For example:
```json
"environment_vars": "WINRMPASS={{.WinRMPassword}}",
{
"type": "powershell",
"environment_vars": "WINRMPASS={{.WinRMPassword}}",
"inline": ["Write-Host \"Automatically generated aws password is: $Env:WINRMPASS\""]
},
```
- `execute_command` (string) - The command to use to execute the script. By