mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Improved the scripts
This commit is contained in:
@ -47,7 +47,7 @@ try {
|
||||
Invoke-Expression $Cmd > $Filename
|
||||
$DevInfo++
|
||||
}
|
||||
write-output "DONE."
|
||||
write-host -foregroundColor green "Done."
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user