How Can We Help?

Categories

MSIX PowerShell Cmdlets – Install, manage MSIX package

You are here:
< Back

MSIX uses the same PowerShell cmdlets available for AppX packages. But Microsoft added aliases for them not to create confusion between the AppX and MSIX packages.
Let’s go through some of them with a few examples.

To install an MSIX package from Powershell, run the command:

Add-AppPackage -path “C:\Caphyon\MyApp.msix”

The same command works for MSIX bundles as well:

Add-AppPackage -path “C:\Caphyon\MyBundle.msixbundle”

To remove an MSIX from PowerShell, you can use:

Remove-AppPackage -Package “Caphyon.MyApp_1.0.0.0_neutral__8wekyb3d8bbwe”

If you want to find additional information about a package, you can use

Get-AppPackage -name “Caphyon.MyApp”

If you want the list of msix installed package, you can use

Get-AppxPackage

To create a filtered return provide a full or partial string into the -Name parameter using * as the wild character.

Get-AppxPackage -name *teams*