Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Zsoldier
Created October 11, 2022 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zsoldier/1174e2b4f5bdd7657a79fa9fa9c4712d to your computer and use it in GitHub Desktop.
Save Zsoldier/1174e2b4f5bdd7657a79fa9fa9c4712d to your computer and use it in GitHub Desktop.
Demonstrates creating a cluster w/ quickstart disabled or skipping quickstart on an already deployed cluster.
#Creates a simple cluster object in vCenter Inventory with quickstart disabled.
$spec = New-Object VMware.Vim.ClusterConfigSpecEx
$spec.InHciWorkflow = $false #Disables QuickStart
$_this = Get-View -Id 'Folder-group-h5'
$_this.CreateClusterEx($name, $spec)
#Disables QuickStart on an existing cluster
$Cluster = Get-Cluster "SomeCrazyName"
$Cluster.ExtensionData.AbandonHciWorkflow()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment