Skip to content

gsudo v1.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Sep 21:31
· 330 commits to master since this release

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 #175

    gsudo { 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