Search code examples
powershellwindows-store-appswindows-store

PowerShell, programmatically check if a Store App (.appx) is installed


How would I check, in PowerShell, if a specific Windows Store App is installed? Specifically, I need to test whether the Microsoft "Terminal" app is currently installed.


Solution

  • Make sure to use the -AllUsers option to ensure you search all packages:

    # if ((Get-AppPackage -AllUsers).Name -like "*WindowsTerminal*") {$True}
    True