<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Bulk-create printer objects on print servers using Windows PowerShell</title>
	<atom:link href="http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/</link>
	<description>On Windows PowerShell and other admin-related topics</description>
	<lastBuildDate>Thu, 29 Jul 2010 08:16:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: stelephan</title>
		<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-122</link>
		<dc:creator>stelephan</dc:creator>
		<pubDate>Tue, 30 Mar 2010 21:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-122</guid>
		<description>Hi,

I have the same issue as Leao Braz on a 2008 Server R2 x64. the printer port creation work fine, but I have this error on the printer creator:
Exception calling “Put” with “0″ argument(s): “Generic failure ”
At C:\temp\createprinter.ps1:53 char:12
+ $print.Put &lt;&lt;&lt;&lt; ()
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException

Then i have tried with several drivers and the issue is always the same. I have tried on windows 2003 and it works like a charm...

Any idea ?

Help would be appreciated
Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have the same issue as Leao Braz on a 2008 Server R2 x64. the printer port creation work fine, but I have this error on the printer creator:<br />
Exception calling “Put” with “0″ argument(s): “Generic failure ”<br />
At C:\temp\createprinter.ps1:53 char:12<br />
+ $print.Put &lt;&lt;&lt;&lt; ()<br />
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException<br />
+ FullyQualifiedErrorId : DotNetMethodException</p>
<p>Then i have tried with several drivers and the issue is always the same. I have tried on windows 2003 and it works like a charm&#8230;</p>
<p>Any idea ?</p>
<p>Help would be appreciated<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Egil Ring</title>
		<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-78</link>
		<dc:creator>Jan Egil Ring</dc:creator>
		<pubDate>Tue, 05 Jan 2010 22:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-78</guid>
		<description>WMI does not support the cluster virtual machine name, only node names.

Pick us the Windows Resource Kit and use prnadmin.dll and associated
scripts and support when scripting printers on the cluster.
&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/downloads/d...DisplayLang=en&lt;/a&gt;

If you have an existing print server, try the print migrator tool if you
wish to move printers from one or more machines to the cluster.

&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=9B9F2925-CBC9-44DA-B2C9-FFDBC46B0B17&amp;displaylang=en&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/WindowsServ...grator3.1.mspx&lt;/a&gt;

Source: http://forums.techarena.in/server-cluster/75119.htm</description>
		<content:encoded><![CDATA[<p>WMI does not support the cluster virtual machine name, only node names.</p>
<p>Pick us the Windows Resource Kit and use prnadmin.dll and associated<br />
scripts and support when scripting printers on the cluster.<br />
<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd" rel="nofollow">http://www.microsoft.com/downloads/d&#8230;DisplayLang=en</a></p>
<p>If you have an existing print server, try the print migrator tool if you<br />
wish to move printers from one or more machines to the cluster.</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9B9F2925-CBC9-44DA-B2C9-FFDBC46B0B17&amp;displaylang=en" rel="nofollow">http://www.microsoft.com/WindowsServ&#8230;grator3.1.mspx</a></p>
<p>Source: <a href="http://forums.techarena.in/server-cluster/75119.htm" rel="nofollow">http://forums.techarena.in/server-cluster/75119.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Selenae</title>
		<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-77</link>
		<dc:creator>Selenae</dc:creator>
		<pubDate>Tue, 05 Jan 2010 08:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-77</guid>
		<description>Hi,

The script work fine but I&#039;m on a Windows 2k8 cluster and when I launch the script it create the printer on the node and not the cluster instance. 

Could you tell me what can I do ?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The script work fine but I&#8217;m on a Windows 2k8 cluster and when I launch the script it create the printer on the node and not the cluster instance. </p>
<p>Could you tell me what can I do ?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leao Braz</title>
		<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-68</link>
		<dc:creator>Leao Braz</dc:creator>
		<pubDate>Thu, 26 Nov 2009 12:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-68</guid>
		<description>Hi,
After many attempts, the problem is on Microsoft XPS Document Writer... Bad luck on test driver...

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
After many attempts, the problem is on Microsoft XPS Document Writer&#8230; Bad luck on test driver&#8230;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leao Braz</title>
		<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-67</link>
		<dc:creator>Leao Braz</dc:creator>
		<pubDate>Tue, 24 Nov 2009 16:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-67</guid>
		<description>Hi,
The printer port creating work fine, but I have this error on the printer creator. My CSV=
Printserver,Driver,Portname,IPAddress,Sharename,Location,Comment,Printername
HL-SPRINTER02,Microsoft XPS Document Writer,10.0.19.1,10.0.19.1,HL-P001,teste,teste,HL-P001

I  have tried configure the printers settings direct on the CreatePrinter funcition, but show me this error:

PS C:\Users\administrator.HLUZ\Desktop&gt; .\createprinter3.ps1
Unexpected token &#039;.19&#039; in expression or statement.
At C:\Users\administrator.HLUZ\Desktop\createprinter3.ps1:31 char:26
+ $print.PortName = 10.0.19 &lt;&lt;&lt;&lt; .1
    + CategoryInfo          : ParserError: (.19:String) [], ParseException
    + FullyQualifiedErrorId : UnexpectedToken


Thanks for your helping,
LB</description>
		<content:encoded><![CDATA[<p>Hi,<br />
The printer port creating work fine, but I have this error on the printer creator. My CSV=<br />
Printserver,Driver,Portname,IPAddress,Sharename,Location,Comment,Printername<br />
HL-SPRINTER02,Microsoft XPS Document Writer,10.0.19.1,10.0.19.1,HL-P001,teste,teste,HL-P001</p>
<p>I  have tried configure the printers settings direct on the CreatePrinter funcition, but show me this error:</p>
<p>PS C:\Users\administrator.HLUZ\Desktop&gt; .\createprinter3.ps1<br />
Unexpected token &#8216;.19&#8242; in expression or statement.<br />
At C:\Users\administrator.HLUZ\Desktop\createprinter3.ps1:31 char:26<br />
+ $print.PortName = 10.0.19 &lt;&lt;&lt;&lt; .1<br />
    + CategoryInfo          : ParserError: (.19:String) [], ParseException<br />
    + FullyQualifiedErrorId : UnexpectedToken</p>
<p>Thanks for your helping,<br />
LB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Egil Ring</title>
		<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-66</link>
		<dc:creator>Jan Egil Ring</dc:creator>
		<pubDate>Mon, 23 Nov 2009 22:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-66</guid>
		<description>Hi! You`re sure the csv-file contains the necessary headers?Printserver,Driver,Portname,Sharename,Location,Comment,Printername.

The same thing happens if you manually try to run the CreatePrinter function?</description>
		<content:encoded><![CDATA[<p>Hi! You`re sure the csv-file contains the necessary headers?Printserver,Driver,Portname,Sharename,Location,Comment,Printername.</p>
<p>The same thing happens if you manually try to run the CreatePrinter function?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leao braz</title>
		<link>http://blog.powershell.no/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-65</link>
		<dc:creator>Leao braz</dc:creator>
		<pubDate>Mon, 23 Nov 2009 22:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://janegilring.wordpress.com/2009/11/07/bulk-create-printer-objects-on-print-servers-using-windows-powershell/#comment-65</guid>
		<description>Hi,
I have this error on try to create print on windows 2008 R2:
Exception calling &quot;Put&quot; with &quot;0&quot; argument(s): &quot;Generic failure &quot;
At C:\Users\administrator.HLUZ\Desktop\createprinter.ps1:53 char:12
+ $print.Put &lt;&lt;&lt;&lt; ()
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException


Any help?

thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have this error on try to create print on windows 2008 R2:<br />
Exception calling &#8220;Put&#8221; with &#8220;0&#8243; argument(s): &#8220;Generic failure &#8221;<br />
At C:\Users\administrator.HLUZ\Desktop\createprinter.ps1:53 char:12<br />
+ $print.Put &lt;&lt;&lt;&lt; ()<br />
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException<br />
    + FullyQualifiedErrorId : DotNetMethodException</p>
<p>Any help?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
