Skip to content

Start-VCFUpgrade

Synopsis

Starts the upgrade of a resource.

Syntax

Start-VCFUpgrade [-json] <String> [<CommonParameters>]

Description

The Start-VCFUpgrade cmdlet starts the upgrade of a resource in SDDC Manager.

Examples

Example 1

Start-VCFUpgrade -json (Get-Content -Raw .\samples\upgrades\upgradeDomainSpec.json)

This example shows how to start an upgrade in SDDC Manager by using a JSON specification file.

Sample JSON: Domain Upgrade
{
  "bundleId": "6b5d5a0e-5bdc-4679-82c3-860bd660ea83",
  "parallelUpgrade": true,
  "resourceType": "DOMAIN",
  "resourceUpgradeSpecs": [ {
      "resourceId": "565d2fc3-00a3-4f25-b868-2d25db933614",
      "shutdownVms": false,
      "upgradeNow": true
  } ]
}

Parameters

-json

Specifies the JSON specification to be used.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.