PowerCLI: Upgrading your VMFS datastores

From VI-Toolkit
Jump to: navigation, search

Upgrading your VMFS datastores with PowerCLI

author: Robert van den Nieuwendijk

Description

This script gives you the possibility to run in-place upgrades on your VMFS datastores to upgrade them from VMFS-3 to VMFS-5

Usage

PowerCLI C:\> Get-Datastore -Name Datastore1 | Upgrade-VmfsDatastore -WhatIf
What if: Performing operation "Upgrade-VmfsDatastore" on Target "Datastore1".
PowerCLI C:\> Get-Datastore -Name Datastore1 | Upgrade-VmfsDatastore
Name FreeSpaceGB CapacityGB
---- ----------- ---------- 
Datastore1 103,861 499,750

Location

http://rvdnieuwendijk.com/2013/06/05/upgrading-your-vmfs-datastores-with-powercli/