<?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: VMware Powershell script &#8211; Remove snapshots</title>
	<atom:link href="http://virtualfuture.info/2008/07/remove-snapshots-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://virtualfuture.info/2008/07/remove-snapshots-script/</link>
	<description></description>
	<lastBuildDate>Sat, 14 Jan 2012 01:44:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Thom</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-3316</link>
		<dc:creator>Thom</dc:creator>
		<pubDate>Mon, 16 Aug 2010 16:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-3316</guid>
		<description>I am VERY new to PS and VB scripting.

My goal is to write a script that will:

1) shut all guests down.
2) Take a snapshot of all guests in a cascaded fashion
3) Power the guests back on
4) Call (what you use to patch your servers) 
5) Reboot all guests

I know that is a tall order (especially for a rookie like me) but I am positive it can be done.

Advice?</description>
		<content:encoded><![CDATA[<p>I am VERY new to PS and VB scripting.</p>
<p>My goal is to write a script that will:</p>
<p>1) shut all guests down.<br />
2) Take a snapshot of all guests in a cascaded fashion<br />
3) Power the guests back on<br />
4) Call (what you use to patch your servers)<br />
5) Reboot all guests</p>
<p>I know that is a tall order (especially for a rookie like me) but I am positive it can be done.</p>
<p>Advice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thom</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-3315</link>
		<dc:creator>Thom</dc:creator>
		<pubDate>Mon, 16 Aug 2010 16:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-3315</guid>
		<description>Can this be ran on a cascaded basis? For example:

Once more than &quot;x&quot; snapshots are being removed wait until the process is completed before continuing.</description>
		<content:encoded><![CDATA[<p>Can this be ran on a cascaded basis? For example:</p>
<p>Once more than &#8220;x&#8221; snapshots are being removed wait until the process is completed before continuing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: william</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-3304</link>
		<dc:creator>william</dc:creator>
		<pubDate>Tue, 20 Jul 2010 11:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-3304</guid>
		<description>hi there,

i want to delete snapshot left by Vranger on my vmware enviroment, what type of wild card can i use to do this,
vranger names the snap shot &quot;Created by vRanger .....&quot;
and is there a way i can say not to delete snap shots older than a day?</description>
		<content:encoded><![CDATA[<p>hi there,</p>
<p>i want to delete snapshot left by Vranger on my vmware enviroment, what type of wild card can i use to do this,<br />
vranger names the snap shot &#8220;Created by vRanger &#8230;..&#8221;<br />
and is there a way i can say not to delete snap shots older than a day?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-3290</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Fri, 02 Jul 2010 09:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-3290</guid>
		<description>Hi Guys 

I was looking for a way to automatically delete snapshots, that are older than one week (or another time, depends on the company policy). Is there some variable that specifys the time of the snapshot? I&#039;d like to recommit all snapshots older than a week to prevent problems with full VMFS and timeout while recommitting big snapshots. 

The script we use here could be useful in that case. Does anyone see a way here? 

Thanks, 
Stefan</description>
		<content:encoded><![CDATA[<p>Hi Guys </p>
<p>I was looking for a way to automatically delete snapshots, that are older than one week (or another time, depends on the company policy). Is there some variable that specifys the time of the snapshot? I&#8217;d like to recommit all snapshots older than a week to prevent problems with full VMFS and timeout while recommitting big snapshots. </p>
<p>The script we use here could be useful in that case. Does anyone see a way here? </p>
<p>Thanks,<br />
Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-3146</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 05 Apr 2010 19:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-3146</guid>
		<description>How can you schedule this script to run automatically from vsphere powercli? Not sure how to add this to the script to open Vsphere power cli and execute the command. 

Script: 
connect-viserver virtualcenter-server.name
get-vm &#124; get-snapshot -Name “_VCB-Backup_”&#124;remove-snapshot -RunAsync -confirm:$false</description>
		<content:encoded><![CDATA[<p>How can you schedule this script to run automatically from vsphere powercli? Not sure how to add this to the script to open Vsphere power cli and execute the command. </p>
<p>Script:<br />
connect-viserver virtualcenter-server.name<br />
get-vm | get-snapshot -Name “_VCB-Backup_”|remove-snapshot -RunAsync -confirm:$false</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrisqc</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-3092</link>
		<dc:creator>chrisqc</dc:creator>
		<pubDate>Wed, 10 Mar 2010 19:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-3092</guid>
		<description>Hi Mike

Your script works well.
But if there is no _VCB-BACKUP_ snapshot, an error message is returned telling you that no snapshot were found.
How can you write your script to test if there is no snapshot do nothing, else delete the _VCB-BACKUP_ snapshot.

Thanks

Chris</description>
		<content:encoded><![CDATA[<p>Hi Mike</p>
<p>Your script works well.<br />
But if there is no _VCB-BACKUP_ snapshot, an error message is returned telling you that no snapshot were found.<br />
How can you write your script to test if there is no snapshot do nothing, else delete the _VCB-BACKUP_ snapshot.</p>
<p>Thanks</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: somasundar</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-2997</link>
		<dc:creator>somasundar</dc:creator>
		<pubDate>Thu, 21 Jan 2010 04:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-2997</guid>
		<description>can you please tell me the script to start a vm using a particular snapshot. My intention is to revert the vm using script.</description>
		<content:encoded><![CDATA[<p>can you please tell me the script to start a vm using a particular snapshot. My intention is to revert the vm using script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mr</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-2671</link>
		<dc:creator>mr</dc:creator>
		<pubDate>Tue, 01 Dec 2009 17:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-2671</guid>
		<description>get-snapshot * &#124; removesnapshot</description>
		<content:encoded><![CDATA[<p>get-snapshot * | removesnapshot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hussain</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-1832</link>
		<dc:creator>Hussain</dc:creator>
		<pubDate>Thu, 01 Oct 2009 21:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-1832</guid>
		<description>How to run this script?

Thanks,</description>
		<content:encoded><![CDATA[<p>How to run this script?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: get-admin :: Find VMware snapshots via SDK</title>
		<link>http://virtualfuture.info/2008/07/remove-snapshots-script/comment-page-1/#comment-739</link>
		<dc:creator>get-admin :: Find VMware snapshots via SDK</dc:creator>
		<pubDate>Thu, 29 Jan 2009 00:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://virtualfuture.info/?p=147#comment-739</guid>
		<description>[...] all snapshots for the VMs in vCenter using perl, so I spent a few minutes on this script. There are a lot of scripts for creating and deleting snapshots (and a couple to show them) using powershell, but [...]</description>
		<content:encoded><![CDATA[<p>[...] all snapshots for the VMs in vCenter using perl, so I spent a few minutes on this script. There are a lot of scripts for creating and deleting snapshots (and a couple to show them) using powershell, but [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

