Hi,
I would like to remotely enumerate printers on our 2012r2 print server from a Windows 7 box. I am logged into the Win7 box with a domain account that is in the local admins group on the print server. When I:
get-wmiobject -class "Win32_Printer" -computer printserver.college.edu
I get the dreaded 0x80070005 access denied. If I add "-credential DOMAIN\user" (where DOMAIN\user is the account I am already logged into the Windows 7 box with) and enter my password when prompted, it works fine (so I am sure DOMAIN\user has the proper authority on the print server to do this). I've tried this from the PowerShell console/command line as well as in the ISE with the same results.
What's going on here? Thanks, Tony