Skip to content

Instantly share code, notes, and snippets.

@nwesoccer
Created September 18, 2018 22:03
Show Gist options
  • Save nwesoccer/5fc92319708c5913b06294ec9fb7bb33 to your computer and use it in GitHub Desktop.
Save nwesoccer/5fc92319708c5913b06294ec9fb7bb33 to your computer and use it in GitHub Desktop.
template
{
"type": "powershell",
"script": "../../../scripts/common/windows_updates.ps1",
"elevated_user": "aaa",
"elevated_password": "{{ user `winrm_password` }}"
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"script": "../../../scripts/common/windows_updates.ps1",
"elevated_user": "aaa",
"elevated_password": "{{ user `winrm_password` }}"
},
{
"type": "windows-restart",
"restart_timeout": "30m"
},
{
"type": "powershell",
"script": "../../../scripts/common/windows/cleanup.ps1",
"elevated_user": "aaa",
"elevated_password": "{{ user `winrm_password` }}"
},
{
"type": "windows-restart",
"restart_timeout": "15m"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment