如何获取有关powershell.exe以1073807364退出的更多信息?
powershell脚本包含如下内容:
start-transcript
try{
# import modules xxx
# import modules yyy
# running function of module xxx
# running function of module yyy
}catch{
write-host "Errors - Global.exceptions: $global:error.exception; Script.exceptions: $script:error.exception"
write-host "Errors - Global.exceptions: $global:error.exception; Script.exceptions: $script:error.exception"
$_ | Out-String
}finally{
Stop-Transcript
}