gsudo v2.6.0 (Branch.tags-v2.6.0.Sha.8067a30b9a83dc3ba318c0007644d1878773abec)

Usage:
 gsudo [options]			Elevates your current shell
 gsudo [options] {command} [args]	Runs {command} with elevated permissions
 gsudo cache [on | off | help] 		Starts/Stops an elevated cache session. (reduced UAC popups)
 gsudo status [--json]			Shows current user, cache and console status. 
 gsudo status {key} [--no-output]	Shows status filtered by json {key}. Boolean keys also returned as exit codes.
 gsudo !!				Re-run last command as admin. (YMMV)

New Window options:
 -n | --new             Starts the command in a new console (and returns immediately).
 -w | --wait            When in new console, wait for the command to end and return the exitcode.
 --keepShell            Keep elevated shell open after running {command}.
 --keepWindow           When in new console, ask for keypress before closing the console.
 --close                Override settings and always close new window at end.

Security options:
 -i | --integrity {v}   Run with integrity level: Untrusted, Low, Medium, MediumPlus, High (default), System
 -u | --user {username} Run as the specified user. Asks for password. For local admins shows UAC unless '-i Medium'.
 -s | --system          Run as Local System account (NT AUTHORITY\SYSTEM).
 --ti                   Run as member of NT SERVICE\TrustedInstaller group.
 -k | --reset-timestamp Kills all cached credentials. The next time gsudo is run a UAC popup will be appear.

Shell related options:
 -d | --direct          Skip Shell detection. Assume CMD shell or CMD {command}.

Other options:
 --loglevel {val}       Set minimum log level to display: All, Debug, Info, Warning, Error, None.
 --debug                Enable debug mode.
 --copyns               Connect network drives to the elevated user. Warning: Interactive asks for credentials.
 --copyev               (deprecated) Copy all environment variables to the elevated process.
 --chdir {dir}          Change the current directory to {dir} before running the command.

Configuration:
 gsudo config				Show current configuration settings & values.
 gsudo config {key} [--global] [value] 	Read or write a configuration setting.
 gsudo config {key} [--global] --reset 	Reset a specific setting to its default value.
 gsudo config --reset-all 		Reset all user and global settings to their default values.
 --global				Applies to all users (overrides user-specific settings)

 (Note: User settings are stored at HKCU\Software\gsudo and globals at HKLM\Software\gsudo)

Usage from PowerShell: 
 gsudo [options] [--loadProfile] { ScriptBlock } [-args $argument1 [..., $argumentN]]
  { ScriptBlock }		Must be wrapped in { curly brackets }
  --loadProfile		When elevating PowerShell commands, load user profile.
 
 Example: gsudo { Write-Output "Hello World" } -args
 Tip: Add `Import-Module gsudoModule` to your $PROFILE for  tab auto-complete.
    
Learn more about security considerations of using gsudo at: https://gerardog.github.io/gsudo/docs/security

