Improved the script

This commit is contained in:
Markus Fleschutz 2020-12-30 11:44:09 +00:00
parent aa0d1ab290
commit 16b9272dbd

View File

@ -10,7 +10,7 @@ try {
write-output "PowerShell Automatic Variables"
write-output "=============================="
write-output "`$ConsoleFileName= $ConsoleFileName"
write-output "`$Error = $Error"
write-output "`$Error[0] = $($Error[0])"
write-output "`$Event = $Event"
write-output "`$EventArgs = $EventArgs"
write-output "`$EventSubscriber= $EventSubscriber"