dispatcher: stage the Windows bootstrap script in chunks and run it as a file (command line too long) #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "windows-readiness-probe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pywinrm run_ps sends the script through powershell -EncodedCommand; the bootstrap exceeded the ~32 KiB command line ('The command line is too long.', key.store runs 18499/18535). Chunks are appended to $env:TEMP<name>.b64 with short run_ps calls, decoded to .ps1 and executed with -File; only the last call is long-running. TestWindowsWinRMScriptRoundTrip green on the forge (28 s).