Improved both scripts

This commit is contained in:
Markus Fleschutz
2021-02-25 11:57:02 +01:00
parent 0d4009ca1b
commit ac2f03adfe
2 changed files with 7 additions and 3 deletions

View File

@ -12,7 +12,7 @@ try {
copy-item "$PathToRepo/Scripts/my-profile.ps1" "$PathToProfile" -force
write-host -foregroundColor green "OK - updated profile $PathToProfile"
write-host -foregroundColor green "OK - updated profile 'CurrentUserCurrentHost' (gets active on next login)"
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"