PS Command to query user desktop background/wallpaper setting value
[1]: Get-itemproperty -path "HKCU:Control PanelDesktop" -name WallPaper
PSPath : Microsoft.PowerShell.CoreRegistry::HKEY_CURRENT_USERControl PanelDesktop
PSParentPath : Microsoft.PowerShell.CoreRegistry::HKEY_CURRENT_USERControl Panel
PSChildName : Desktop
PSDrive : HKCU
PSProvider : Microsoft.PowerShell.CoreRegistry
Wallpaper : C:Downloadsdesktop-paper_007.jpg
[2]:
PS Command to query user desktop background/wallpaper setting value
[2]: set-itemproperty -path "HKCU:Control PanelDesktop" -name WallPaper -value "C:Downloadsdesktop-paper_new.jpg"
[3]:
PS Command to enforce the user desktop setting changes
$(c:windowsSystem32RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters)
.