- Introduces an
-InstallLanguagePackswitch parameter toInstall-Defaults.ps1and updates all locale-specific install scripts to use it. This allows explicit control over whether the language pack is installed for the specified language, improving flexibility and clarity in language setup. The-Languageparameter will still be applied to localise Windows. - Adds
Write-Messagefor improved log output with colour and symbols, andGet-Symbolfor tick/cross Unicode characters. UpdatesWrite-LogFileto useWrite-Messageinstead ofWrite-Msg, and exports new functions in the module. Also changes timestamp format inWrite-Msgto show only time. - Enhanced
Write-Messageto support line wrapping and better formatting for long messages. - Adjusted log levels for AppX removal messages and added completion logs for language pack installation.
- Suppressed warnings for
Set-WinUserLanguageListand improved user guidance in locale setting. - Adds a check to skip registry key creation if PackageFamilyName is null or empty, preventing unnecessary operations and potential errors in
Remove-AppxApps.ps1. - Replaced 'return 0' with 'exit 0' in
Install-Defaults.ps1for proper script termination. - Removed the call to
Remove-AppxApps.ps1from success.cmd, so onlyInstall-Defaults.ps1is executed. Remove-AppxApps.ps1- commented out Power Automate Desktop and Sound Recorder from the default app list to enable their removal. Enabled removal of Copilot, Outlook for Windows, and Todos by uncommenting their entries.
Files
This release includes several file assets:
defaults.zip- a downloadable copy of the solution that can be used anywheredefaults.intunewin- a copy of the solution in Intune Win32 format for deployment to manage devicesWin32App.json- a definition file for the Win32 package and can be used with theIntuneWin32AppPowerShell module to import into an Intune tenant