Skip to content

Instantly share code, notes, and snippets.

View bordwalk2000's full-sized avatar

Bradley Herbst bordwalk2000

  • St. Louis, MO
  • 22:32 (UTC -06:00)
View GitHub Profile
@bordwalk2000
bordwalk2000 / Set-WindowsColorTheme.ps1
Last active March 7, 2025 15:29 — forked from bobby-tablez/theme.ps1
Enable Dark or Light mode in Windows via PowerShell
Function Set-WindowsColorTheme {
# Taken from bobby-tablez/theme.ps1
# Modify Windows 10/11 or Server theme (Light or Dark mode). Makes registry changes which
# take effect upon reboot, or explorer.exe restart. Bypasses restriction to change theme on
# unactivated Windows installations.
#
# Usage:
# To switch to dark mode, run: Set-WindowsColorTheme -Mode dark
# To switch to light mode, run: Set-WindowsColorTheme -Mode light
@bordwalk2000
bordwalk2000 / Move-ProfileFolder.ps1
Last active March 3, 2020 17:54 — forked from fcitsolutions/Move-ProfileFolder.ps1
Powershell Redirect Folders to OneDrive Account & Sync
<#
.SYNOPSIS
Sets a known folder's path using SHSetKnownFolderPath.
.PARAMETER KnownFolder
The known folder whose path to set.
.PARAMETER Path
The target path to redirect the folder to.
.NOTES
Forked from: https://gist.github.com/fcitsolutions/c50f83cfe51f3bab70d398a8fa8e1961
#>