﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Programming / Powershell  / Getting printers on a remote PC in a workgroup / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 00:07:20 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Getting printers on a remote PC in a workgroup</title><link>http://www.sqlservercentral.com/Forums/Topic1423349-1351-1.aspx</link><description>[quote][b]paul.knibbs (2/26/2013)[/b][hr]It sounds like that command is trying to access the spooler service on the other machine, and that isn't going to work unless you have permissions to do that. Easiest way to do that is to have both machines on the same domain and set the remote permissions appropriately; I'm pretty sure it would be possible to do this in a workgroup, but you'd have to use trickery to do it (e.g. have the same username and password on both machines and use that account to do the test).[/quote]Yeah, I guess using some trickery is what I'm going to have to do, in my workgroup domain.</description><pubDate>Thu, 28 Feb 2013 08:52:30 GMT</pubDate><dc:creator>Doctor Who 2</dc:creator></item><item><title>RE: Getting printers on a remote PC in a workgroup</title><link>http://www.sqlservercentral.com/Forums/Topic1423349-1351-1.aspx</link><description>It sounds like that command is trying to access the spooler service on the other machine, and that isn't going to work unless you have permissions to do that. Easiest way to do that is to have both machines on the same domain and set the remote permissions appropriately; I'm pretty sure it would be possible to do this in a workgroup, but you'd have to use trickery to do it (e.g. have the same username and password on both machines and use that account to do the test).</description><pubDate>Tue, 26 Feb 2013 02:24:06 GMT</pubDate><dc:creator>paul.knibbs</dc:creator></item><item><title>RE: Getting printers on a remote PC in a workgroup</title><link>http://www.sqlservercentral.com/Forums/Topic1423349-1351-1.aspx</link><description>I meant using the -Full switch when using Get-Help. Sorry I was terse, I was standing in the middle of a field (no shoveling or hitching involved).</description><pubDate>Mon, 25 Feb 2013 03:22:32 GMT</pubDate><dc:creator>Gary Varga</dc:creator></item><item><title>RE: Getting printers on a remote PC in a workgroup</title><link>http://www.sqlservercentral.com/Forums/Topic1423349-1351-1.aspx</link><description>I'm pretty new to PowerShell; I didn't even know about the -Full switch.So, after running the command again, using the -Full switch, I got the following message:[quote]The spooler service is not reachable. Ensure the spooler service is running.+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (MSFT_Printer:ROOT/StandardCimv2/MSFT_Printer) [Get-Printer], CimException    + FullyQualifiedErrorId : HRESULT 0x800706ba,Get-Printer[/quote]</description><pubDate>Sun, 24 Feb 2013 18:22:05 GMT</pubDate><dc:creator>Doctor Who 2</dc:creator></item><item><title>RE: Getting printers on a remote PC in a workgroup</title><link>http://www.sqlservercentral.com/Forums/Topic1423349-1351-1.aspx</link><description>Does it not explain more when you use the -Full switch?</description><pubDate>Sun, 24 Feb 2013 02:47:42 GMT</pubDate><dc:creator>Gary Varga</dc:creator></item><item><title>Getting printers on a remote PC in a workgroup</title><link>http://www.sqlservercentral.com/Forums/Topic1423349-1351-1.aspx</link><description>I'm trying to learn PowerShell. So I did a [b]Get-Help Get-Printer -examples[/b] and saw that I can issue the command [b]Get-Printer -ComputerName[/b] [i]&amp;lt;computer name&amp;gt;[/i]. So, that's what I tried to do, but it doesn't work in my home network. Is this because I only have a peer-to-peer workgroup at home? Do commands like [b]Get-Printer -ComputerName[/b] [i]&amp;lt;computer name&amp;gt;[/i] only work in Active Directory domains?</description><pubDate>Sat, 23 Feb 2013 08:46:35 GMT</pubDate><dc:creator>Doctor Who 2</dc:creator></item></channel></rss>