Created
October 11, 2022 17:46
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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