gsudo v1.6.0
What's Changed
-
π Feature: PowerShell new syntax:
gsudo { ScriptBlock }
by @gerardog in #178
Read the Docs: -
Fix: Unified
gsudo config PowerShellLoadProfile
and$gsudoLoadProfile
into the first one. by @gerardog in #175gsudo { Get-Process "chrome" } gsudo { Get-Process $args } -args "chrome" $file='C:\My Secret.txt'; $algorithm='md5'; $hash = gsudo {(Get-FileHash $args[0] -Algorithm $args[1]).Hash} -args $file, $algorithm # Output can be captured as PSObjects. $services = gsudo { Get-Service 'WSearch', 'Winmgmt'} Write-Output $services.DisplayName
Full Changelog: v1.5.1...v1.6.0