[3.0]Fix snippet to prepare Windows node

This commit is contained in:
Joao Fernandes 2018-04-04 15:53:15 -07:00 committed by Jim Galasyn
parent c9c6c94a37
commit 23682a9354
1 changed files with 7 additions and 5 deletions

View File

@ -62,7 +62,9 @@ for the Docker daemon to communicate securely. Use this command to run
the Windows node setup script:
```powershell
docker container run --rm {{ page.ucp_org }}/ucp-agent-win:{{ page.ucp_version }} windows-script | powershell -noprofile -noninteractive -command 'Invoke-Expression -Command $input'
$script = [ScriptBlock]::Create((docker run --rm {{ page.ucp_org }}/ucp-agent-win:{{ page.ucp_version }} windows-script | Out-String))
Invoke-Command $script
```
> Docker daemon restart