Hi,I need power shell script for applying wallpaper to remote computers.Please help me.
Now, I am a real PoSH addict, but PoSH is not always the right answer for everything.
Don't reinvent the wheel. What you are asking for can easily be done using GPO. No coding needed.
Use you favorite search engine to look that up.
'gpo set workstation backgound'
Thanks for advice..
Note however, this GPO deal only applies to domain joined systems. If you are in non-domain then, to even use PoSH, you have to go thru all the steps of getting each workgroup machine configured for PSRemoting so you could do this remotely.
PowerShell remoting between two workgroup machines
If you’re an IT Pro, PowerShell remoting is a great tool for doing quick, ad hoc management tasks on computers from the comfort of your own home or office. However, before you can log into a machine, you have to make sure that it’s properly configured to grant you access – for safety’s sake, the default settings don’t allow remote access. If the machine you’re trying to log into is in a Workgroup, which doesn’t have the same stringent security requirements and infrastructure of a typical Domain setting, you’ll have to modify a few additional settings in order to get this done.
i have done all settings but i not sure how to write script for applying wallpaper to remote computers.
If you did this using GPO. There is no script needed. You just have to have the user either to run... GPUPDATE /force or have them reboot the computer or you can force a domain-wide GPUpdate. See this article on how to do that. Force a Domain-Wide Update of Group Policy with PowerShell ... 'blogs.technet.microsoft.com/heyscriptingguy/2012/11/12/force-a-domain-wide-update-of-group-policy-with-powershell'.
we dont have domain all systems are in work group.
There are lot's of examples of PoSH code to set wallpaper. Setting this on remote systems, is just a mattering of using PSRemoting to run the script on those systems. It's really a matter of making a RegKey change.
# Use PowerShell to Edit the Registry on Remote Computers 'blogs.technet.microsoft.com/heyscriptingguy/2012/03/16/use-powershell-to-edit-the-registry-on-remote-computers'
# Powershell change wallpaper 'gist.github.com/s7ephen/714023'
# Changing Desktop Wallpaper using Windows PowerShell 'culham.net/powershell/changing-desktop-wallpaper-using-windows-powershell'
# Set Random Wallpaper on your Desktop using Powershell
# Hi,This is a small script code for those , who love their wallpapers. or those love to change theri wallpaers daily.I love to chnage my desktop wallpaper once or twice in a week.This small code, jut get a ramdom image from your picture folders and set it as your desktop wallpaper
Powered by IDERA