1Jan

Using A Script To Install Printers Remotely

1 Jan 2000admin

Installing IP printer on remote PC using Powershell. I am in the process of trying to get a powershell code to work for installing an IP based printer on a remote PC. Below is the code I have put together so far from multiple sources. If anyone can tell me why it is not installing or help me figure out a different way to install that would be great. Get logged on user's SID, then get installed printers from HKEYUSERS SID Printers Connections. Works like a charm in my production environment. You can do that remotely, of course, without even having WinRM enabled.

Learn

Using A Script To Install Printers Remotely
Hi All
Powershell Noob here but I need to understand why this script fails when running against remote machines. (IP is a placeholder obv.)
If I run this against a single machine (uncommmenting # $ComputerList = $env:COMPUTERNAME) it works fine. No drama and everything is hunky dory. If I run it against a list of remote machines using the settings above then I get this error:
This happens everytime
Has anyone got a working Powershell script that accomplishes this task or knows how to get this working?
I have even put the relevant files into a network share and tried running it from there (changing file paths accordingly obviously).
Cheers