Search code examples
powershellwinget

How to see the scope of an already winget installed package?


How can I see the install scope of an already installed package, that has been previously with installed using winget?

winget install --scope machine -i -e xxxx 

Solution

  • Use winget list with --scope machine, but note that you need to run from an elevated session (not necessary for --scope user)

    # REQUIRES ELEVATION
    winget list --scope machine