<?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: Who deleted my VM ?</title>
	<atom:link href="http://www.virtu-al.net/2008/12/10/who-deleted-my-vm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.virtu-al.net/2008/12/10/who-deleted-my-vm/</link>
	<description>Virtually everything is poshable</description>
	<lastBuildDate>Thu, 09 Feb 2012 21:00:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: René</title>
		<link>http://www.virtu-al.net/2008/12/10/who-deleted-my-vm/#comment-5028</link>
		<dc:creator>René</dc:creator>
		<pubDate>Wed, 09 Feb 2011 17:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=197#comment-5028</guid>
		<description>Got a tricky question about something similar:
I want to find out, which user moved a folder to another folder. (even if the event is out of the max 1000 events in the client view)
The problem is, that i see in events and tasks: &quot;user moved to target&quot; without &quot;what&quot; he moved...
With the get-vievent cmdlet i only receive a &quot;Task: move entity&quot;, but no folder or something and also no target :-(

How can i achive this ?</description>
		<content:encoded><![CDATA[<p>Got a tricky question about something similar:<br />
I want to find out, which user moved a folder to another folder. (even if the event is out of the max 1000 events in the client view)<br />
The problem is, that i see in events and tasks: &#8220;user moved to target&#8221; without &#8220;what&#8221; he moved&#8230;<br />
With the get-vievent cmdlet i only receive a &#8220;Task: move entity&#8221;, but no folder or something and also no target <img src='http://www.virtu-al.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>How can i achive this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alen</title>
		<link>http://www.virtu-al.net/2008/12/10/who-deleted-my-vm/#comment-2897</link>
		<dc:creator>Alen</dc:creator>
		<pubDate>Wed, 13 Oct 2010 12:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=197#comment-2897</guid>
		<description>I found that when i migrate a VM guest from a host to another host a event is logged saying :  Migrated from host ESX1 to ESX2

When i do datastore migration and i leave the host the same I get the following log:
Migrated from host esx1 to esx1 but i cant find to which datastore it was moved?

is there a way to get that info?</description>
		<content:encoded><![CDATA[<p>I found that when i migrate a VM guest from a host to another host a event is logged saying :  Migrated from host ESX1 to ESX2</p>
<p>When i do datastore migration and i leave the host the same I get the following log:<br />
Migrated from host esx1 to esx1 but i cant find to which datastore it was moved?</p>
<p>is there a way to get that info?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: René</title>
		<link>http://www.virtu-al.net/2008/12/10/who-deleted-my-vm/#comment-2000</link>
		<dc:creator>René</dc:creator>
		<pubDate>Fri, 19 Mar 2010 18:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=197#comment-2000</guid>
		<description>Thanks for the quick answer...
This script like posted before did not run.

Have it done now with an direct script into excel..</description>
		<content:encoded><![CDATA[<p>Thanks for the quick answer&#8230;<br />
This script like posted before did not run.</p>
<p>Have it done now with an direct script into excel..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtu-Al</title>
		<link>http://www.virtu-al.net/2008/12/10/who-deleted-my-vm/#comment-1997</link>
		<dc:creator>Virtu-Al</dc:creator>
		<pubDate>Fri, 19 Mar 2010 16:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=197#comment-1997</guid>
		<description>Yes it would</description>
		<content:encoded><![CDATA[<p>Yes it would</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: René</title>
		<link>http://www.virtu-al.net/2008/12/10/who-deleted-my-vm/#comment-1996</link>
		<dc:creator>René</dc:creator>
		<pubDate>Fri, 19 Mar 2010 16:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=197#comment-1996</guid>
		<description>Is it possible to read the information from the vc directly ? Like:
$results = Get-VM &#124; Get-VIEvent -maxsamples 10000 -Start (Get-Date).AddDays(-1) &#124; where {$_.fullformattedmessage -eq &quot;Aufgabe: Virtuelle Maschine ausschalten&quot; -or $_.fullformattedmessage -eq &quot;Aufgabe: Herunterfahren des Gastbetriebssystems initiiert.&quot;} &#124; Sort CreatedTime -Descending &#124; select createdtime, username, vm, fullformattedmessage

foreach ($result in $Results) {
	$Details=&quot;&quot; &#124; select createdtime, username, vm, fullformattedmessage
	$Details.createdtime = $result.createdtime
	$Details.username = $result.username
	$Details.vm = $result.vm.name
	$Details.FullFormattedMessage = $result.fullformattedMessage
}
$details &#124; Export-csv -NoTypeInformation &#039;C:\TEMP\shutdown.csv&#039;

I want to read out which user shutdown which vm at which time</description>
		<content:encoded><![CDATA[<p>Is it possible to read the information from the vc directly ? Like:<br />
$results = Get-VM | Get-VIEvent -maxsamples 10000 -Start (Get-Date).AddDays(-1) | where {$_.fullformattedmessage -eq &#8220;Aufgabe: Virtuelle Maschine ausschalten&#8221; -or $_.fullformattedmessage -eq &#8220;Aufgabe: Herunterfahren des Gastbetriebssystems initiiert.&#8221;} | Sort CreatedTime -Descending | select createdtime, username, vm, fullformattedmessage</p>
<p>foreach ($result in $Results) {<br />
	$Details=&#8221;" | select createdtime, username, vm, fullformattedmessage<br />
	$Details.createdtime = $result.createdtime<br />
	$Details.username = $result.username<br />
	$Details.vm = $result.vm.name<br />
	$Details.FullFormattedMessage = $result.fullformattedMessage<br />
}<br />
$details | Export-csv -NoTypeInformation &#8216;C:\TEMP\shutdown.csv&#8217;</p>
<p>I want to read out which user shutdown which vm at which time</p>
]]></content:encoded>
	</item>
</channel>
</rss>

