Fix flakiness around PowerShell output
Fix flakiness around PowerShell output

[#136980131]

Signed-off-by: Charlie Vieth <ea3f0b85bda195c42ceb97da0f596f9d6d014e12@pivotal.io>

mattcui/bosh-agent,gu-bin/bosh-agent,mattcui/bosh-agent,gu-bin/bosh-agent,gu-bin/bosh-agent,cloudfoundry/bosh-agent,mattcui/bosh-agent,cloudfoundry/bosh-agent