<?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/"
		>
<channel>
	<title>Comments on: vSphere permissions: export &amp; import &#8211; Part 2</title>
	<atom:link href="http://www.virtu-al.net/2009/06/14/vsphere-permissions-export-import-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.virtu-al.net/2009/06/14/vsphere-permissions-export-import-part-2/</link>
	<description>Virtually everything is poshable</description>
	<lastBuildDate>Thu, 09 Sep 2010 15:41:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Simon Long</title>
		<link>http://www.virtu-al.net/2009/06/14/vsphere-permissions-export-import-part-2/comment-page-1/#comment-2354</link>
		<dc:creator>Simon Long</dc:creator>
		<pubDate>Fri, 21 May 2010 07:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=670#comment-2354</guid>
		<description>Hi Luc, I now get this error:

Cannot convert value &quot;[/xml]&quot; to type &quot;System.Xml.XmlDocument&quot;. Error: &quot;Data at the root level is invalid. Line 1, position 1.&quot;
At :line:36 char:11
+ $vInventory &lt;&lt;&lt;&lt;  = &quot;[/xml]&quot;</description>
		<content:encoded><![CDATA[<p>Hi Luc, I now get this error:</p>
<p>Cannot convert value &#8220;[/xml]&#8221; to type &#8220;System.Xml.XmlDocument&#8221;. Error: &#8220;Data at the root level is invalid. Line 1, position 1.&#8221;<br />
At :line:36 char:11<br />
+ $vInventory &lt;&lt;&lt;&lt;  = &quot;[/xml]&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LucD</title>
		<link>http://www.virtu-al.net/2009/06/14/vsphere-permissions-export-import-part-2/comment-page-1/#comment-2351</link>
		<dc:creator>LucD</dc:creator>
		<pubDate>Thu, 20 May 2010 19:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=670#comment-2351</guid>
		<description>Simon, in PS v2 line 35 should be
$vInventory = [xml][/xml]&quot;&quot;
Can you give that a try ?</description>
		<content:encoded><![CDATA[<p>Simon, in PS v2 line 35 should be<br />
$vInventory = [/xml]&#8220;&#8221;<br />
Can you give that a try ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Long</title>
		<link>http://www.virtu-al.net/2009/06/14/vsphere-permissions-export-import-part-2/comment-page-1/#comment-2350</link>
		<dc:creator>Simon Long</dc:creator>
		<pubDate>Thu, 20 May 2010 16:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=670#comment-2350</guid>
		<description>Hi Alan, I&#039;m trying to run this import script and I am getting the following error:

Exception calling &quot;AddAuthorizationRole&quot; with &quot;2&quot; argument(s): &quot;A specified parameter was not correct. 
privIds&quot;
At :line:8 char:39
+ $roleId = $authMgr.AddAuthorizationRole &lt;&lt;&lt;&lt; ($name,$privIds)

Any idea?

Simon</description>
		<content:encoded><![CDATA[<p>Hi Alan, I&#8217;m trying to run this import script and I am getting the following error:</p>
<p>Exception calling &#8220;AddAuthorizationRole&#8221; with &#8220;2&#8243; argument(s): &#8220;A specified parameter was not correct.<br />
privIds&#8221;<br />
At :line:8 char:39<br />
+ $roleId = $authMgr.AddAuthorizationRole &lt;&lt;&lt;&lt; ($name,$privIds)</p>
<p>Any idea?</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Long</title>
		<link>http://www.virtu-al.net/2009/06/14/vsphere-permissions-export-import-part-2/comment-page-1/#comment-2349</link>
		<dc:creator>Simon Long</dc:creator>
		<pubDate>Thu, 20 May 2010 14:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=670#comment-2349</guid>
		<description>Hi Rutch, Change line 35 to this:

[XML]$vInventory = &quot;&quot;

Regards

Simon</description>
		<content:encoded><![CDATA[<p>Hi Rutch, Change line 35 to this:</p>
<p>[XML]$vInventory = &#8220;&#8221;</p>
<p>Regards</p>
<p>Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rutch Johnson</title>
		<link>http://www.virtu-al.net/2009/06/14/vsphere-permissions-export-import-part-2/comment-page-1/#comment-2295</link>
		<dc:creator>Rutch Johnson</dc:creator>
		<pubDate>Tue, 04 May 2010 21:30:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=670#comment-2295</guid>
		<description>Iam getting the following error on inport. Any ideas?

[vSphere PowerCLI] C:\Program Files\VMware\Infrastructure\vSphere PowerCLI&gt; $vIn
ventory.Load($XMLfile)
Method invocation failed because [System.String] doesn&#039;t contain a method named
 &#039;Load&#039;.
At line:1 char:17
+ $vInventory.Load &lt;&lt;&lt;&lt; ($XMLfile)
    + CategoryInfo          : InvalidOperation: (Load:String) [], RuntimeExcep
   tion
    + FullyQualifiedErrorId : MethodNotFound</description>
		<content:encoded><![CDATA[<p>Iam getting the following error on inport. Any ideas?</p>
<p>[vSphere PowerCLI] C:\Program Files\VMware\Infrastructure\vSphere PowerCLI&gt; $vIn<br />
ventory.Load($XMLfile)<br />
Method invocation failed because [System.String] doesn&#8217;t contain a method named<br />
 &#8216;Load&#8217;.<br />
At line:1 char:17<br />
+ $vInventory.Load &lt;&lt;&lt;&lt; ($XMLfile)<br />
    + CategoryInfo          : InvalidOperation: (Load:String) [], RuntimeExcep<br />
   tion<br />
    + FullyQualifiedErrorId : MethodNotFound</p>
]]></content:encoded>
	</item>
</channel>
</rss>
