<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vmfs on BAFM</title><link>https://christian.blog.pakiheim.de/tags/vmfs/</link><description>Recent content in Vmfs on BAFM</description><generator>Hugo -- 0.160.1</generator><language>en</language><lastBuildDate>Thu, 26 Jan 2012 21:14:41 +0000</lastBuildDate><atom:link href="https://christian.blog.pakiheim.de/tags/vmfs/index.xml" rel="self" type="application/rss+xml"/><item><title>Emptying a VMFS datastore with PowerCLI</title><link>https://christian.blog.pakiheim.de/posts/2012-01-26_emptying-a-vmfs-datastore-with-powercli/</link><pubDate>Thu, 26 Jan 2012 21:14:41 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=4070</guid><description>&lt;p&gt;Well, once again I hacked at the Powershell/PowerCLI the other day. Since we don&amp;rsquo;t yet have a Enterprise Plus license at work (which would support Datastore Maintaince and Storage DRS), I needed a way to empty one datastore and move all the content into another one, while enabling Thin-Provisioning.&lt;/p&gt;
&lt;p&gt;So I googled for a bit, and actually &lt;a href="http://thephuck.com/virtualization/mass-storage-migrations-using-vsphere-storage-vmotion-and-powercli/"&gt;found a few hints&lt;/a&gt; &amp;hellip; So without further yada-yada, here&amp;rsquo;s the script I came up with:&lt;/p&gt;</description></item></channel></rss>