Fixing formatting in Reset-PWSHSystemPath.ps1 (#13689)
This commit is contained in:
parent
15e4e8a6af
commit
bb4a0f4660
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue