An expert solved this script question
previously which is related. To recap this script works flawlessly on my machine (Win7 x64 PS 3.0) when I run PS as administrator. I've enabled WinRM through GPO on the domain machine and created the firewall exception. I've tried to run this script several different ways. First, I run it from my machine as the script was intended and I get the attached error. This was the same error I described in previous question I linked to above. That was solved after I enter the correct print driver name. Secondly, I copied the script to remote machine and then remoted in (Enter-PSSession) using my credentials and I'm a domain admin. Then I run from the remote machine and get the same error. I'm pretty sure the problem lies with the elevated permissions. Even on my machine I have to launch PS as administrator to get script to work. I tested my theory on remote machine by trying to run Enable-PSRemoting and I get attached errors. We have a GPO in place to disable UAC. Could that be the reason I continue to get access denied on remote session?