GET-AppXPackage -AllUsers | {的foreach附加AppxPackage -DisableDevelopmentMode -Register“$($ _。INSTALLLOCATION)\ AppXManifest.xml”}