Set-MsixZeroPortalPackage

Publishes or unpublishes MSIX packages (Enabled flag).

Syntax

Set-MsixZeroPortalPackage -Id <int[]> -Enabled <bool>

Description

Same semantics as the portal UI: publishing a bundle auto-publishes its catalog-resolved dependencies; MsixAutoDisableOldVersion (portal setting) optionally retires other enabled versions of the same family.

Examples

Get-MsixZeroPortalPackage -Name 'Contoso*' | Set-MsixZeroPortalPackage -Enabled $true