Files
Intune/intune/Externally Sourced Remediations/DeviceConfiguration/Get-CustomWallpaper/Remediate_CustomWallpaper.ps1
2025-05-19 15:19:36 -04:00

6 lines
261 B
PowerShell

# Set the corporate wallpaper
$wallpaperPath = "C:\Path\To\CorporateWallpaper.jpg"
Set-ItemProperty -Path "HKCU:\Control Panel\Desktop\" -Name Wallpaper -Value $wallpaperPath
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
Write-Output "Wallpaper set"