powershellwinget

What does -h flag mean in winget?


I was working with WinGet, when I suddenly noticed why we write '-h' in command.

What is the use of this flag? I tried searching but couldn't find.

enter image description here


Solution

  • Use winget <subcommand-h> -? to see all options for that command.

    PS> winget upgrade -? | Select-String '-h\b'
    
      -h,--silent                          Request silent installation
    
    

    You can also find the information online: