Open lukargit opened 3 weeks ago
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
Note: You can give me feedback by 👍 or 👎 this comment.
Description of the new feature / enhancement
This request is to add a feature to allow
winget export
to support passing--scope machine
. This would only list applications installed machine wide, and APPX packages provisioned for all users.Proposed technical implementation details
When running
winget export --scope machine -o export.json
, as well asExport-WinGetPackage -Scope System
, the output should only contain applications installed with scope machine. For APPX in particular, this would use the code here to callpackageManager.FindProvisionedPackages()
rather thanpackageManager.FindPackagesForUserWithPackageTypes({}, PackageTypes::Main | PackageTypes::Framework)
.