Skip to content

stephenn/powershell_sudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Sudo for PowerShell

Installation

  1. From PowerShell, create a $profile if you don't have one:

    if (!(test-path $profile)) { new-item -path $profile -itemtype file -force }
    
  2. Open the profile in notepad:

    notepad.exe $profile
    
  3. Add the following line and save the file:

    . /path/to/sudo.ps1
    
  4. sudo will be available in all new PowerShell windows

Usage

sudo application [arguments ...]

Contact

About

Sudo for Microsoft Windows Powershell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published