Я делаю вот так вот на новых ПК:
Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.WindowsStore*"} | where-object {$_.name -notlike "*Microsoft.WindowsCalculator*"} | where-object {$_.name -notlike "*Microsoft.BingWeather*"} | where-object {$_.name -notlike "*Microsoft.MicrosoftStickyNotes*"} | where-object {$_.name -notlike "*Microsoft.Windows.Photos*"} | where-object {$_.name -notlike "*Microsoft.NET.*"} | where-object {$_.name -notlike "*Microsoft.MicrosoftEdge*"} | Remove-AppxPackage
Get-AppxProvisionedPackage -online | where-object {$_.packagename -notlike "*Microsoft.WindowsStore*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsCalculator*"} | where-object {$_.packagename -notlike "*Microsoft.BingWeather*"} | where-object {$_.packagename -notlike "*Microsoft.MicrosoftStickyNotes*"} | where-object {$_.packagename -notlike "*Microsoft.Windows.Photos*"} | where-object {$_.packagename -notlike "*Microsoft.NET.*"} | where-object {$_.packagename -notlike "*Microsoft.MicrosoftEdge*"} | Remove-AppxProvisionedPackage -online
конечно в идеале надо образ бы исправить убрав лишнее