Vmc Cluster Category
Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations
Step 1: Retrieve a object by running a Get command
# Retrieves EDRS policy of the specified $CLUSTER cluster.
Get-VmcClusterEdrsPolicy -Cluster $CLUSTER
Step 2 : Run commands from the CRUD group
# Modifies the EDRS policy type of the selected $cluster cluster. The policy type is set to "cost" with the minimum number of hosts 6 and the maximum number of hosts 15.
Set-VmcClusterEdrsPolicy -Cluster $cluster -PolicyType "cost" -MinHostCount 6 -MaxHostCount 15