mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-21 17:38:19 +02:00
Add unicode character
This commit is contained in:
parent
52d81a2bed
commit
a67bff3cc8
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/pwsh
|
#!/usr/bin/pwsh
|
||||||
<#
|
<#
|
||||||
.SYNTAX set-profile.ps1
|
.SYNTAX set-profile.ps1
|
||||||
.DESCRIPTION sets the PowerShell profile for the current user
|
.DESCRIPTION sets the PowerShell profile for the current user
|
||||||
@ -12,7 +12,7 @@ try {
|
|||||||
|
|
||||||
copy-item "$PathToRepo/Scripts/my-profile.ps1" "$PathToProfile" -force
|
copy-item "$PathToRepo/Scripts/my-profile.ps1" "$PathToProfile" -force
|
||||||
|
|
||||||
write-host -foregroundColor green "OK - updated profile 'CurrentUserCurrentHost' (gets active on next login)"
|
write-host -foregroundColor green "✔️ PowerShell profile 'CurrentUserCurrentHost' updated - gets active on next login"
|
||||||
exit 0
|
exit 0
|
||||||
} catch {
|
} catch {
|
||||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user