Cmdlet reference

84 cmdlets, grouped by task. Each links to its source on GitHub (ref master).

Open, build, sign & validate

Open-MSIXPackage

Opens an MSIX package and unpacks its contents to a specified folder.

New-MSIXPackage

Creates an empty MSIX skeleton folder from the bundled template.

Copy-ToMSIXPackage

Copies files into an expanded MSIX package at a package-root-relative path.

Test-MSIXManifest

Validates an AppxManifest.xml against the schemas embedded in AppxPackaging.dll.

Pre-built application fixes

Add-MSIXFixSSMS

Pre-built fix for SQL Server Management Studio (SSMS) MSIX packages.

Add-MSIXFixWinRAR

Injects the Package Support Framework into a WinRAR 64-bit MSIX package.

Add-MSIXFixWinRARModernShell

Replaces the WinRAR classic context menu with MsixModernContextMenuHandler for the Windows 11 modern context menu (top section, IExplorerCommand).

Package Support Framework (PSF)

Add-MSIXPSFFtaCom

Moves shell extension entries from an existing Application to a new PsfFtaCom surrogate.

Add-MSIXPSFTracing

Adds tracing configuration for a specific executable in an MSIX package.

Applications, services & dependencies

Add-MSIXApplication

Adds an Application entry (with VisualElements) to an MSIX package's manifest.

Get-MSIXServices

Lists windows.service declarations in an MSIX manifest (one object per service, incl. ApplicationId, ServiceName, StartAccount, HasComServer).

Remove-MSIXServices

Removes windows.service declarations (+ matching COM ServiceServer and empty service-host apps) from an MSIX manifest. Once no service remains, the localSystemServices/packagedServices capabilities are dropped too (keeps the install dialog from demanding admin) - unless -KeepServiceCapabilities.

Get-MSIXDependencies

Lists PackageDependency entries in an MSIX manifest (TargetDeviceFamily excluded).

Remove-MSIXDependencies

Removes PackageDependency entries from an MSIX manifest. TargetDeviceFamily is never touched.

Shortcuts, shell & context menus

Add-MSIXDesktop7Shortcut

Adds a working desktop7:Shortcut to an MSIX app: PNG icon (never exe) + physical .lnk written into the package. -Location tab-completes the folders.

Repair-MSIXDesktop7Shortcut

Relocates desktop7:Shortcut entries from the all-users Start Menu ([{Common Programs}]) to the per-user Start Menu ([{Programs}]).

Capabilities, virtualization & registry

Add-MSIXFirewallRule

Adds a Windows Firewall rule (windows.firewallRules) for a packaged executable.

Add-MSIXSharedContainer

Creates a Windows shared package container by name, accepting wildcard patterns or literal PackageFamilyNames.

Add-MSIXSharedFonts

Adds found font files to the AppxManifest.xml under the uap7:SharedFonts section.

Assets & visual elements

New-MSIXAssetFrom

Generates MSIX asset PNGs (tile/logo icons) from an exe, dll, ico or png source.

App Attach & deployment

Diagnostics & inspection

Stop-MSIXTracing

Stops the MSIX ETW trace session and converts the ETL to a readable log.

Wait-MSIXTracing

Starts MSIX tracing, waits for user input, then stops and parses the trace.

Invoke-MSIXCleanup

Removes unsupported or unnecessary artifacts from an expanded MSIX package.

Find-MSIXFonts

This function checks for font files within an unpacked MSIX package directory.

Setup, tooling & configuration

Update-MSIXTMPSF

Downloads and organises the latest Tim Mangan MSIX Package Support Framework release.

Set-MSIXCore

Registers the msixmgr.exe alias for the current session.