mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fixing formatting in Reset-PWSHSystemPath.ps1 (#13689)
This commit is contained in:
@@ -32,11 +32,13 @@
|
||||
|
||||
Removes ALL PowerShell paths from the Machine level path.
|
||||
Good for running right before upgrading PowerShell.
|
||||
|
||||
.EXAMPLE
|
||||
.\Reset-PWSHSystemPath.ps1 -PathScope Machine, User, Process
|
||||
|
||||
Removes all paths but the very last one when sorted in ascending order.
|
||||
Processes all path scopes including current process.
|
||||
|
||||
.EXAMPLE
|
||||
.\Reset-PWSHSystemPath.ps1 -PathScope Machine, User, Process -RemoveAllOccurencs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user