PowerCLI: Upgrading your VMFS datastores

From VI-Toolkit
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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/