Name | Type | Description | Required? | Pipeline Input | Default Value |
---|
Server | VIServer | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | true | false |
Datastore | Datastore | Specifies datastore to update to VMFS6. It must be of version VMFS5. | true | true (ByValue) |
TemporaryDatastore | Datastore | Specifies the temporary datastore to help the upgrade to VMFS6. It should be of VMFS5 version. This datastore should be empty and its size should be more than that of the datastore you want to upgrade. The temporary datastore must have enough backing to support the migration. | true | false |
TargetVmfsVersion | Int32 | Specifies the target version to which you want to update the datastore. By default, the target VMFS version is 6. | false | false |
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | false |
Force | SwitchParameter | Suppresses the confirmation prompt if vSphere Replication/HBR or SRM is enabled on the specified datastore. | false | false |
Resume | SwitchParameter | Indicates that you want to resume the previous upgrade attempt. | false | false |
Rollback | SwitchParameter | Specifies whether to roll back Storage vMotion after a failure happens. This is possible only before the original datastore has been deleted. After the original datastore is removed, only resume is possible. | false | false |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | false |
-------------- Example 1 --------------
Update-VmfsDatastore -Datastore $source -TemporaryDatastore $temp
Starts an update of the $source VMFS5 datastore to VMFS version 6 by using $temp as a temporary datastore.
-------------- Example 2 --------------
Update-VmfsDatastore -Datastore $source -TemporaryDatastore $temp -Resume
Resumes a previous failed attempt of updating the $source datastore to the specified VMFS version.