Sudo for Windows
WSL wrapper will not work if gsudo is on different drive
#337 #338Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.3...v2.4.4
vim
and nano
freezing when elevated directly (i.e. gsudo vim
). #248 #302Unauthorized. (Different gsudo.exe?)
. #300MediumPlus
integrity levelCacheDuration
> 24 days. #318Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.2...v2.4.3
Error: Invalid option: -noninteractive
using gsudo {command}
on Visual Studio code by @gerardog in https://github.com/gerardog/gsudo/pull/306
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.0...v2.4.2
gsudo {command}
on VSCode.Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.0...v2.4.1-fixnoninteractive
--LogLevel
or --Duration
if cache was already activeError: Unable to connect to the elevated service
/NullReferenceException
by @gerardog in https://github.com/gerardog/gsudo/pull/292
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.3.0...v2.4.0
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.3.0...v2.3.1-beta
gsudo status --json
by @gerardog in https://github.com/gerardog/gsudo/pull/276
gsudo status {key}
gsudo status CacheAvailable
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.2.0...v2.3.0
Import-Module gsudoModule
, eliminating the requirement for a full absolute path. Existing scripts using absolute paths will continue to work as expected.
.MSI
and Chocolatey
installers now deploy the module files also to %ProgramFiles%\PowerShell\Modules\gsudoModule\
.Full Changelog: https://github.com/gerardog/gsudo/compare/v2.1.0...v2.2.0
gsudo PowerShell Module
gsudo
(#233)Test-IsProcessElevated
function, returns true if elevated.Test-IsAdminMember
function, returns true if user is member of the Local 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.
Get-Help gsudo
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.10...v2.1.0
--copyns
error reconnecting network path with spaces by @nurfed1 in https://github.com/gerardog/gsudo/pull/268
Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.9...v2.0.10