parent
0229f63df2
commit
717935ad81
|
@ -2,7 +2,6 @@ Function Set-WallPaper($Value){
|
||||||
Invoke-WebRequest "https://motd.ping-mee.de/wallpaper.png" -OutFile "$($value)wallpaper.png"
|
Invoke-WebRequest "https://motd.ping-mee.de/wallpaper.png" -OutFile "$($value)wallpaper.png"
|
||||||
Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value "$($value)wallpaper.png"
|
Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value "$($value)wallpaper.png"
|
||||||
rundll32.exe user32.dll, UpdatePerUserSystemParameters
|
rundll32.exe user32.dll, UpdatePerUserSystemParameters
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Set-WallPaper -value "C:\temp\"
|
Set-WallPaper -value "C:\temp\"
|
Loading…
Reference in New Issue