packer-cn/provisioner/powershell
DanHam 2a060adbf8 Don't use -EncodedCommand with PS as progress stream always leaks to stderr
* Setting $ProgressPreference to SilentlyContinue makes no difference
  when -EncodedCommand is used - any output to the progress stream
  still appears on stderr.
* Delete file containing encode/decode functions since we no longer
  need them.
* Fixes leak of output on progress streams for both normal and elevated
  commands.
* Since we no longer base64 encode, ensure any characters special to XML
  are correctly escaped in the elevated command. This ensures correct
  parsing once the command is wrapped within the elevatedTemplates XML
  based Task Scheduler definition.

Fixes #4322
2017-09-26 11:07:11 +01:00
..
elevated.go Don't use -EncodedCommand with PS as progress stream always leaks to stderr 2017-09-26 11:07:11 +01:00
provisioner.go Don't use -EncodedCommand with PS as progress stream always leaks to stderr 2017-09-26 11:07:11 +01:00
provisioner_test.go Update powershell provisioner test with new default 2017-09-15 08:17:17 -07:00