1
Vote

A build error is not propagated into $Error

description

Hi,
build a script from the HKLM:\ PSdrive do not return an error :
cd HKLM:\
$Error.Clear()
G:\PS\ps2Wiz\PS2Wiz.ps1 -InputFile 'G:\PS\ps2Wiz\Examples\Demo-Basic.ps1' -OutputFolder $pwd -verbose
$Error.count
#0

file attachments

comments