cloudbase / windows-imaging-tools

Tools to automate the creation of a Windows image for OpenStack, supporting KVM, Hyper-V, ESXi and more.
Apache License 2.0
675 stars 227 forks source link

Fix PS exit code quirk #296

Closed ader1990 closed 5 years ago

ader1990 commented 5 years ago

bcdedit and bcdboot executables write their errors in the error pipe and on some PowerShell shells they throw also a PowerShell error.

Changing the ErrorActionPreference to 'SilentlyContinue' fixes the issue.

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.139 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/571791455a by @ader1990)

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.140 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/a19be71004 by @ader1990)

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.141 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/3d50a5e73f by @ader1990)

AppVeyorBot commented 5 years ago

:x: Build windows-openstack-imaging-tools 1.0.142 failed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/000261e600 by @ader1990)

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.143 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/ccf5248e4a by @ader1990)

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.144 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/49ceea5cbe by @ader1990)

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.145 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/b5810f795f by @ader1990)

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.146 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/3581f1ab2c by @ader1990)

AppVeyorBot commented 5 years ago

:white_check_mark: Build windows-openstack-imaging-tools 1.0.147 completed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/50bc48d174 by @ader1990)