Skip to main content

Set-ChromiumHomepage

Description​

Sets an enforced homepage in certain popular Chromium-based browsers.

Usage​

  1. Checks for MDM enrollment policy; creates it if it doesn't exist.
  2. Sets homepage and loading options as requested for each targeted browser.
.\Set-ChromiumHomepage.ps1 -Target 'Chrome','Edge' -Homepage 'https://duckduckgo.com'

This command will set the browser homepage to DuckDuckGo for Google Chrome and Microsoft Edge.

.\Set-ChromiumHomepage.ps1 -Homepage "https://duckduckgo.com" -EnforceOnNewTab -EnforceHomepageStartup

This command will set the browser homepage to DuckDuckGo and enforce that page on startup and on every new tab for all available supported Chromium browsers.

Parameters​

ParameterAliasRequiredDefaultTypeDescription
HomepageTrueStringHolds the URL to the desired homepage.
EnforceOnNewTabFalseBoolApplies the desired homepage URL to every new tab.
EnforceHomepageStartupFalseBoolApplies the desired homepage on startup.
TargetFalseAllString[]This is a validated set of all supported Chromium-based browsers.

Output​

.\Set-ChromiumHomepage-log.txt

Changelog​

2025-04-10​

  • Initial version of the document