Skip to content
master
Go to file
Code
This branch is 3 commits ahead, 7 commits behind ecsousa:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

PSSudo

Fork from https://github.com/ecsousa/PSSudo

Modifications:

  1. -cur_console for sudo <arguments> so that elevated PowerShell in ConEmu runs in the same window/tab/console (not possible)
  2. When checking for Aliases, use Ignore as the -ErrorAction so that errors are not detected in oh-my-posh templates
  3. Added f--k, allowing for sudo !! fuctionality - executing the last command in elevated mode.
  4. Added Invoke-ElevatedCommand for executing an inline script block (that is, it can be executed within a pipeline).

About

Fancy script to execute things elevated

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.