github aaronparker/defaults v2510.27.241

pre-release12 hours ago
  • Introduces -InstallLanguagePack switch parameter to Install-Defaults.ps1. This allows explicit control over whether the language pack is installed for the specified language. The -Language parameter will still be applied to localise Windows.
  • Adds Write-Message for improved log output with colour and symbols, and Get-Symbol for tick/cross Unicode characters. Updates Write-LogFile to use Write-Message instead of Write-Msg, and exports new functions in the module. Also changes timestamp format in Write-Msg to show only time.
  • Enhanced Write-Message to 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-WinUserLanguageList and 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.ps1 for proper script termination.
  • Removed the call to Remove-AppxApps.ps1 from success.cmd, so only Install-Defaults.ps1 is executed.
  • Remove-AppxApps.ps1 - commented out Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe and Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe from SafePackageList to enable their removal.
  • Remove-AppxApps.ps1 - Enabled removal of Enabled removal of Microsoft.OutlookForWindows_8wekyb3d8bbwe, Microsoft.Todos_8wekyb3d8bbwe, and Microsoft.Copilot_8wekyb3d8bbwe from the TargetedPackageList.
  • Added registry settings to User-Windows11.All.json to disable Windows Spotlight and related subscribed content on the Lock Screen.
  • Added --no-first-run --disable-first-run-ui to the Microsoft Edge shortcut arguments to suppress first run prompts.
  • Introduces the Set-Shortcut function to modify Windows shortcut (.lnk) files, supporting target, arguments, working directory, description, icon, and window style. Updates Install-Defaults.ps1 to process shortcut settings from configuration, and adds a Shortcuts section to Machine.All.json for managing shortcut arguments.

Files

This release includes several file assets:

  • defaults.zip - a downloadable copy of the solution that can be used anywhere
  • defaults.intunewin - a copy of the solution in Intune Win32 format for deployment to manage devices
  • Win32App.json - a definition file for the Win32 package and can be used with the IntuneWin32App PowerShell module to import into an Intune tenant

Don't miss a new defaults release

NewReleases is sending notifications on new releases.