mandiant / mandiant/VM-Packages
Enhance log of VM-Apply-Configurations
Open
@emtuls is already working on this.
Since Aug 2, 2025.
:gem: enhancement
- Dominant language
- PowerShell
- Stars
- 246
- Forks
- 98
- Avg merge
- 9h 30m
- Merged PRs (30d)
- 7
Description
Details
The output of debloat.vm (that comes from VM-Apply-Configurations) is very difficult to read for example because of:
- It includes the string
Progress: 0% - Processingthe class nameMicrosoft.Dism.Commands.ImageObjectwhich shouldn't be outputted. Example:Progress: 0% - Processing Microsoft.XboxGameCallableUI_1000.25128.1000.0_neutral_neutral_cw5n1h2txyewy removed Provisioned packages matching pattern 'Microsoft.XboxGameCallableUI' not found on the system. Progress: 0% - Processing Windows.CBSPreview_10.0.19580.1000_neutral_neutral_cw5n1h2txyewy removed Provisioned packages matching pattern 'Windows.CBSPreview' not found on the system. Progress: 0% - Processing Microsoft.OutlookForWindows_1.0.0.0_neutral__8wekyb3d8bbwe removed Microsoft.Dism.Commands.ImageObject Provisioned package Microsoft.OutlookForWindows_1.0.0.0_neutral__8wekyb3d8bbwe removed Installed packages matching pattern 'Microsoft.Ink.Handwriting' not found on the system. Provisioned packages matching pattern 'Microsoft.Ink.Handwriting' not found on the system. Progress: 0% - Processing MicrosoftWindows.CrossDevice_0.25062.33.0_x64__cw5n1h2txyewy removed - It includes the word "INFO" likely caused by using the wrong helper function to print information. We should use
VM-Write-Logfor all relevant output. Example:INFO Service XboxNetApiSvc has been set to manual startup. INFO Service RetailDemo has been set to manual startup.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.