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