mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-31 18:24:27 -06:00
Compare commits
1 Commits
9f45d91249
...
6dfa7b1dd7
Author | SHA1 | Date | |
---|---|---|---|
|
6dfa7b1dd7 |
@ -175,9 +175,6 @@ function Invoke-WinUtilUninstallPSProfile {
|
|||||||
|
|
||||||
# Silently cleanup the oldprofile.ps1 file that was created when the CTT PowerShell profile was installed.
|
# Silently cleanup the oldprofile.ps1 file that was created when the CTT PowerShell profile was installed.
|
||||||
Remove-Item "$env:USERPROFILE\oldprofile.ps1" | Out-Null
|
Remove-Item "$env:USERPROFILE\oldprofile.ps1" | Out-Null
|
||||||
|
|
||||||
# Silently cleanup the $PSProfile.hash file that was created when the CTT PowerShell profile was installed.
|
|
||||||
Remove-Item "$PSProfile.hash" | Out-Null
|
|
||||||
} else {
|
} else {
|
||||||
# Let the user know that the CTT PowerShell profile is not installed and that the uninstallation was skipped.
|
# Let the user know that the CTT PowerShell profile is not installed and that the uninstallation was skipped.
|
||||||
Write-Host "===> Chris Titus Tech's PowerShell Profile Not Found. Skipped Uninstallation. <===" -ForegroundColor Magenta
|
Write-Host "===> Chris Titus Tech's PowerShell Profile Not Found. Skipped Uninstallation. <===" -ForegroundColor Magenta
|
||||||
|
Loading…
Reference in New Issue
Block a user