Set-ChromeLightMode

1.0.1

Changes Google Chrome's automatic darkening behavior using
the WebContentsForceDark feature flag.

Supports dark and light modes through the Mode parameter.

If Chrome is currently running, the script closes Chrome
and restarts it with the selected mode while attempting
to restore the previous browsing session.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Set-ChromeLightMode

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Sha256Encrypted

Tags

Chrome DarkMode LightMode Browser Theme Windows

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0.1 (current version) 10 11/2/2026
1.0.0 6 11/2/2026