<?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: Setting of advanced options with the VI Toolkit</title>
	<atom:link href="http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/</link>
	<description>Using Powershell for (virtually) everything!</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:41:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: bjorn bats</title>
		<link>http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/comment-page-1/#comment-6751</link>
		<dc:creator>bjorn bats</dc:creator>
		<pubDate>Mon, 22 Jun 2009 07:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/#comment-6751</guid>
		<description>hugo,

is it also possible to set advanced settings of a virtual machine ?
this would be really handy, i cannot find it</description>
		<content:encoded><![CDATA[<p>hugo,</p>
<p>is it also possible to set advanced settings of a virtual machine ?<br />
this would be really handy, i cannot find it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/comment-page-1/#comment-902</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 20 Nov 2008 06:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/#comment-902</guid>
		<description>Bubba,
That has something to do with &quot;expression mode&quot; versus &quot;command mode&quot;. In this case, it is not able to guess that you meant to provide a string. It tried to find a commandlet or executable that matches the name info. To be safe, you can always use parenthesis. Or read more about parsing modes here: http://keithhill.spaces.live.com/Blog/cns!5A8D2641E0963A97!6058.entry</description>
		<content:encoded><![CDATA[<p>Bubba,<br />
That has something to do with &#8220;expression mode&#8221; versus &#8220;command mode&#8221;. In this case, it is not able to guess that you meant to provide a string. It tried to find a commandlet or executable that matches the name info. To be safe, you can always use parenthesis. Or read more about parsing modes here: <a href="http://keithhill.spaces.live.com/Blog/cns!5A8D2641E0963A97!6058.entry" rel="nofollow">http://keithhill.spaces.live.com/Blog/cns!5A8D2641E0963A97!6058.entry</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bubba</title>
		<link>http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/comment-page-1/#comment-901</link>
		<dc:creator>bubba</dc:creator>
		<pubDate>Thu, 20 Nov 2008 04:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/#comment-901</guid>
		<description>Strange, I changed info with &quot;info&quot; and all of a sudden it started working...
Would you have some more example, but with API Ref, it would really help, thanks!</description>
		<content:encoded><![CDATA[<p>Strange, I changed info with &#8220;info&#8221; and all of a sudden it started working&#8230;<br />
Would you have some more example, but with API Ref, it would really help, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bubba</title>
		<link>http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/comment-page-1/#comment-900</link>
		<dc:creator>bubba</dc:creator>
		<pubDate>Thu, 20 Nov 2008 04:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/index.php/vmware/setting-of-advanced-options-with-the-vi-toolkit/#comment-900</guid>
		<description>Strange that I am trying to change vpxSetting:

$SI = Get-View ServiceInstance
$OM = Get-View $SI.Content.Setting
$OM.QueryOptions(&quot;log.level&quot;)

#$newOption = New-Object VMware.Vim.OptionValue
$newOption.Key = &quot;log.level&quot;
$newOption.Value = info

$OM.UpdateOptions($newOption)

But i get error:

PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows&gt; .\queryAdvValue.ps1

Key                                Value                              DynamicType                        DynamicProperty
---                                -----                              -----------                        ---------------
log.level                          verbose
The term &#039;info&#039; is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\queryAdvValue.ps1:7 char:24
+ $newOption.Value = info &lt;&lt;&lt;&lt;
Exception calling &quot;UpdateOptions&quot; with &quot;1&quot; argument(s): &quot;A specified parameter was not correct.
&quot;
At C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\queryAdvValue.ps1:9 char:18
+ $OM.UpdateOptions( &lt;&lt;&lt;&lt; $newOption)


I am thinking maybe I incorrectly use UpdateOptions?</description>
		<content:encoded><![CDATA[<p>Strange that I am trying to change vpxSetting:</p>
<p>$SI = Get-View ServiceInstance<br />
$OM = Get-View $SI.Content.Setting<br />
$OM.QueryOptions(&#8220;log.level&#8221;)</p>
<p>#$newOption = New-Object <a href="http://www.vmware.com/" target='_blank'>VMware</a>.Vim.OptionValue<br />
$newOption.Key = &#8220;log.level&#8221;<br />
$newOption.Value = info</p>
<p>$OM.UpdateOptions($newOption)</p>
<p>But i get error:</p>
<p>PS C:\Program Files\VMware\Infrastructure\VIToolkitForWindows&gt; .\queryAdvValue.ps1</p>
<p>Key                                Value                              DynamicType                        DynamicProperty<br />
&#8212;                                &#8212;&#8211;                              &#8212;&#8212;&#8212;&#8211;                        &#8212;&#8212;&#8212;&#8212;&#8212;<br />
log.level                          verbose<br />
The term &#8216;info&#8217; is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.<br />
At C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\queryAdvValue.ps1:7 char:24<br />
+ $newOption.Value = info &lt;&lt;&lt;&lt;<br />
Exception calling &#8220;UpdateOptions&#8221; with &#8220;1&#8243; argument(s): &#8220;A specified parameter was not correct.<br />
&#8221;<br />
At C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\queryAdvValue.ps1:9 char:18<br />
+ $OM.UpdateOptions( &lt;&lt;&lt;&lt; $newOption)</p>
<p>I am thinking maybe I incorrectly use UpdateOptions?
<p style="opacity:0.5;padding:0;margin:0;display:inline;"><sub><a href="http://www.janhvizdak.com/make-donation-cross-linker-plugin-wordpress.php" onclick="window.open('http://www.janhvizdak.com/make-donation-cross-linker-plugin-wordpress.php'); return false;" target="_blank" style="cursor:help;"><b>&#187;crosslinked&#171;</b></a></sub></p>
]]></content:encoded>
	</item>
</channel>
</rss>

