What's Changed
- Improvements in
gsudo PowerShell Module
- Added PowerShell syntax suggestions and auto-complete for
gsudo
(#233) - Added PowerShell functions:
Test-IsProcessElevated
function, returns true if elevated.Test-IsAdminMember
function, returns true if user is member of theLocal Administrators
group, regardless of the elevation status.gsudoPrompt
function to add a red#
to the prompt if user is admin. Requires the user to add:Set-Alias prompt gsudoPrompt
in their$PROFILE
to activate.
- Improved
Get-Help gsudo
- Added PowerShell syntax suggestions and auto-complete for
- Fixed quotation issue when elevating a command with the first and last word has quotes.
Full Changelog: v2.0.10...v2.1.0