Modifying cluster settings

To modify the settings of a cluster, you can use the Set-Cluster cmdlet. This cmdlet has basically the same parameters as the New-Cluster cmdlet with the addition of the -Profile parameter that enables you to associate a host profile with a cluster. The syntax of the Set-Cluster cmdlet is:

Set-Cluster [-HARestartPriority <HARestartPriority>] [-HAIsolationResponse <HAIsolationResponse>] [-VMSwapfilePolicy <VMSwapfilePolicy>] [-Cluster] <Cluster[]> [[-Name] <String>] [-HAEnabled [<Boolean>]] [-HAAdmissionControlEnabled [<Boolean>]] [-HAFailoverLevel <Int32>] [-DrsEnabled [<Boolean>]] [-DrsMode <DrsMode>] [-DrsAutomationLevel <DrsAutomationLevel>] [-VsanEnabled [<Boolean>]] [-VsanDiskClaimMode <VsanDiskClaimMode>] [-Profile ...

Get Learning PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.