Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Added Reload to Remove
Browse files Browse the repository at this point in the history
Added the "reload file explorer" to remove.ps1 in order to remove the code tab short cut under This PC to avoid user confusion.
  • Loading branch information
stanieldev committed Aug 16, 2022
1 parent 705634e commit 8d299f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion remove.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ $regeditparams = @{
}
$removekeys = Start-Process @regeditparams
if ($removekeys.ExitCode -eq 0) { "Successfully removed keys from registry!" }
else { "Failed to remove keys from registry! Exit code: $($removekeys.ExitCode)" }
else { "Failed to remove keys from registry! Exit code: $($removekeys.ExitCode)" }


# Reload File Explorer
taskkill /F /IM explorer.exe
Start-Process explorer.exe

0 comments on commit 8d299f9

Please sign in to comment.