Improve the scripts

This commit is contained in:
Markus Fleschutz
2021-04-18 10:55:37 +02:00
parent 139ceab42f
commit 41ccb7867b
9 changed files with 8 additions and 13 deletions

View File

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