<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arnout's Eclectica &#187; VMWare</title>
	<atom:link href="http://grootveld.com/archives/category/vmware/feed" rel="self" type="application/rss+xml" />
	<link>http://grootveld.com</link>
	<description>But I digress...</description>
	<lastBuildDate>Wed, 10 Feb 2010 20:00:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMWare statement on &#8220;Industry Events&#8221; and &#8220;News and Awards&#8221;?</title>
		<link>http://grootveld.com/archives/23/vmware-statement-on-industry-events-and-news-and-awards</link>
		<comments>http://grootveld.com/archives/23/vmware-statement-on-industry-events-and-news-and-awards#comments</comments>
		<pubDate>Tue, 03 Jun 2008 13:03:26 +0000</pubDate>
		<dc:creator>amg</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://grootveld.com/archives/23</guid>
		<description><![CDATA[I just received issue 49 of VMWare's corporate newsletter.
Since I don't let GMail automatically download images, this is what the message looked like initially:

After downloading the images, it looks like this:

Blah blah indeed.
]]></description>
			<content:encoded><![CDATA[<p>I just received issue 49 of VMWare's corporate newsletter.</p>
<p>Since I don't let GMail automatically download images, this is what the message looked like initially:</p>
<p><img src='/images/vmware-newsletter-before.png' width='577' height='99' alt='blah blah'/></p>
<p>After downloading the images, it looks like this:</p>
<p><img src='/images/vmware-newsletter-after.png' width='604' height='94' alt='still blah blah :-)'/></p>
<p>Blah blah indeed.</p>
]]></content:encoded>
			<wfw:commentRss>http://grootveld.com/archives/23/vmware-statement-on-industry-events-and-news-and-awards/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying VMWare Server status on the desktop</title>
		<link>http://grootveld.com/archives/7/displaying-vmware-server-status-on-the-desktop</link>
		<comments>http://grootveld.com/archives/7/displaying-vmware-server-status-on-the-desktop#comments</comments>
		<pubDate>Tue, 02 May 2006 19:55:00 +0000</pubDate>
		<dc:creator>amg</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://grootveld.com/blog/archives/7</guid>
		<description><![CDATA[In another post, I provided a VB script that outputs the status of the guests running on a VMWare Server. With a tiny modification that script can be used within Sysinternals' BGInfo, to display this information on the host's desktop:

In order to do this, change the line "WScript.Echo s" to "Echo s". In BGInfo, create [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="/archives/6" title="Using VmCOM to display the status of VMWare Server guests">another post</a>, I provided a VB script that outputs the status of the guests running on a VMWare Server. With a tiny modification that script can be used within Sysinternals' <a href="http://www.sysinternals.com/Utilities/BgInfo.html" title="Links to the BGInfo page on http://www.sysinternals.com">BGInfo</a>, to display this information on the host's desktop:</p>
<p><img class='screenshot' src="/images/vmware-bginfo.png" width='400' height='139' alt="Screenshot showing information about VMWare guests on the desktop"/></p>
<p>In order to do this, change the line "<code>WScript.Echo s</code>" to "<code>Echo s</code>". In BGInfo, create a VBScript Custom field, by clicking "Custom...", "New...", selecting "VB Script file" and entering a field name and the path to your script.</p>
]]></content:encoded>
			<wfw:commentRss>http://grootveld.com/archives/7/displaying-vmware-server-status-on-the-desktop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using VmCOM to display the status of VMWare Server guests</title>
		<link>http://grootveld.com/archives/6/displaying-the-status-of-vmware-server-guests</link>
		<comments>http://grootveld.com/archives/6/displaying-the-status-of-vmware-server-guests#comments</comments>
		<pubDate>Sat, 29 Apr 2006 13:17:05 +0000</pubDate>
		<dc:creator>amg</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://grootveld.com/blog/archives/6</guid>
		<description><![CDATA[VmCOM is a COM-based API that allows you to control VMWare Server from your own software. As an example, the following script displays the status of each registered guest:

Option Explicit
Dim cp, server, vmCollection, vmName, vm, s

Const vmErr_VMBusy = &#38;H80040215
Const vmExecutionState_On = 1
Const vmExecutionState_Off = 2
Const vmExecutionState_Suspended = 3
Const vmExecutionState_Stuck = 4

Set cp = CreateObject("VmCOM.VmConnectParams")
Set server [...]]]></description>
			<content:encoded><![CDATA[<p>VmCOM is a COM-based API that allows you to control <a href="http://www.vmware.com/products/server/" title="Links to the VMWare Server page on http://www.vmware.com">VMWare Server</a> from your own software. As an example, the following script displays the status of each registered guest:</p>
<pre class='codesample'>
<span class="TPVBkw1">Option Explicit</span>
<span class="TPVBkw1">Dim </span>cp, server, vmCollection, vmName, vm, s

<span class="TPVBkw1">Const </span>vmErr_VMBusy = &amp;H80040215
<span class="TPVBkw1">Const </span>vmExecutionState_On = 1
<span class="TPVBkw1">Const </span>vmExecutionState_Off = 2
<span class="TPVBkw1">Const </span>vmExecutionState_Suspended = 3
<span class="TPVBkw1">Const </span>vmExecutionState_Stuck = 4

<span class="TPVBkw1">Set </span>cp = <span class="TPVBkw2">CreateObject</span><span class="TPVBbrkt">(</span><span class="TBVBstr">"VmCOM.VmConnectParams"</span><span class="TPVBbrkt">)</span>
<span class="TPVBkw1">Set </span>server = <span class="TPVBkw2">CreateObject</span><span class="TPVBbrkt">(</span><span class="TBVBstr">"VmCOM.VmServerCtl"</span><span class="TPVBbrkt">)</span>

server.Connect cp
<span class="TPVBkw1">Set </span>vmCollection = server.RegisteredVmNames

<span class="TPVBkw1">For Each </span>vmName <span class="TPVBkw1">in </span>vmCollection
   <span class="TPVBkw1">Set </span>vm = <span class="TPVBkw2">CreateObject</span><span class="TPVBbrkt">(</span><span class="TBVBstr">"VmCOM.VmCtl"</span><span class="TPVBbrkt">)</span>
   <span class="TPVBkw1">On error resume next</span>
   vm.Connect cp, vmName
   <span class="TPVBkw1">If </span><span class="TPVBkw2">Err</span>.Number = vmErr_VMBUSY <span class="TPVBkw1">Then</span>
      s = Basename<span class="TPVBbrkt">(</span>vmName<span class="TPVBbrkt">) </span>&amp; <span class="TBVBstr">":      BUSY"</span>
   <span class="TPVBkw1">ElseIf </span><span class="TPVBkw2">Err</span>.Number &lt;&gt; 0 <span class="TPVBkw1">Then</span>
      s = Basename<span class="TPVBbrkt">(</span>vmName<span class="TPVBbrkt">) </span>&amp; <span class="TBVBstr">":     ERROR"</span>
   <span class="TPVBkw1">Else</span>
      <span class="TPVBkw1">On Error Goto </span>0
      s = vm.Config<span class="TPVBbrkt">(</span><span class="TBVBstr">"displayName"</span><span class="TPVBbrkt">) </span>&amp; <span class="TBVBstr">": " </span>&amp; State2Str<span class="TPVBbrkt">(</span>vm<span class="TPVBbrkt">)</span>
   <span class="TPVBkw1">End if</span>
   WScript.Echo s
<span class="TPVBkw1">next</span>

<span class="TPVBkw1">Function </span>State2Str<span class="TPVBbrkt">(</span><span class="TPVBkw1">ByVal </span>vm<span class="TPVBbrkt">)</span>
  <span class="TPVBkw1">Select Case </span>vm.ExecutionState
      <span class="TPVBkw1">Case </span>vmExecutionState_On
         State2Str = <span class="TBVBstr">"       ON"</span>
      <span class="TPVBkw1">Case </span>vmExecutionState_Off
         State2Str = <span class="TBVBstr">"      OFF"</span>
      <span class="TPVBkw1">Case </span>vmExecutionState_Suspended
         State2Str = <span class="TBVBstr">"SUSPENDED"</span>
      <span class="TPVBkw1">Case </span>vmExecutionState_Stuck
         State2Str = <span class="TBVBstr">"    STUCK"</span>
      <span class="TPVBkw1">Case else</span>
         State2Str = <span class="TBVBstr">"  UNKNOWN"</span>
   <span class="TPVBkw1">End Select</span>
<span class="TPVBkw1">End Function</span>

<span class="TPVBkw1">Function </span>Basename<span class="TPVBbrkt">(</span><span class="TPVBkw1">ByVal </span>path<span class="TPVBbrkt">)</span>
   <span class="TPVBkw1">Dim </span>pos
   pos = <span class="TPVBkw2">InstrRev</span><span class="TPVBbrkt">(</span>path, <span class="TBVBstr">"\"</span><span class="TPVBbrkt">)</span>
   <span class="TPVBkw1">If </span>pos &gt; 0 <span class="TPVBkw1">Then</span>
      Basename = <span class="TPVBkw2">Mid</span><span class="TPVBbrkt">(</span>path, pos + 1<span class="TPVBbrkt">)</span>
   <span class="TPVBkw1">Else</span>
      Basename = path
   <span class="TPVBkw1">End If</span>
<span class="TPVBkw1">End Function</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://grootveld.com/archives/6/displaying-the-status-of-vmware-server-guests/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
