In this chapter, you will cover the following topics:
Applying recommendations for partially automated DRS clusters
Setting a cluster into maintenance mode with PowerCLI
Using native DRS rule cmdlets to manage KeepTogether and Separate rules
Learning the MoRef way of identifying objects
Creating a DRS group for virtual machines
Listing the members of a DRS group
Updating the members of a VM DRS group
Creating a custom function to update members of a DRS group
Creating rules to maintain memberships of DRS groups using a custom function
Using Compare-Object to audit group memberships for differences