Reconfigure/Edit SDRS Anti-Affinity Rules w/PowerCLi – Part 3

This is Part 3 of SDRS series. In the previous part we learned how to create and remove anti-affinity rules. To close the topic, it remains to edit/reconfigure existing rules. Logical to assume, it will be Set-SdrsAntiAffinityRule function. Set-SdrsAntiAffinityRule The function allows to edit both Inter-VM and VMDK rules. Let's go straight to examples. Reconfigure … Continue reading Reconfigure/Edit SDRS Anti-Affinity Rules w/PowerCLi – Part 3

Create and delete SDRS Anti-Affinity Rules w/PowerCLi – Part 2

This is Part 2 of SDRS series. The Part 1 How to configure Storage DRS clusters w/PowerCLi – Part 1 is here. Part 3 Reconfigure/Edit SDRS Anti-Affinity Rules w/PowerCLi – Part 3 and may be even Part 4 How to get SDRS History/Actions w/PowerCLi – Part 4 are expected in near future. This article will cover … Continue reading Create and delete SDRS Anti-Affinity Rules w/PowerCLi – Part 2

How to configure Storage DRS clusters w/PowerCLi – Part 1

Despite the growing popularity of VMware VSAN, largest enterprises are still partially or completely continue to work with shared storage. There are enough PowerCLi cmdlets to deal with HA/DRS cluster aspects, but for SDRS clusters the choice is not great. This time we will look at just two functions Set-SdrsCluster/Get-SdrsCluster. These functions will complement the … Continue reading How to configure Storage DRS clusters w/PowerCLi – Part 1

How to get ESXi hosts Peripheral devices w/PowerCLi

This time we will look at just two functions Get-VMHostPnic/Get-VMHostHba from my PowerCLi Vi-Module module to deal with ESXi hosts’ peripheral devices. The Get-VMHostPnic for Physical Network Interface Controllers. And Get-VMHostHba intended for Host Bus (fiber channel) Adapters. Get-VMHostPnic / Get-VMHostHba Both the functions can receive ESXi host(s) from the pipeline. There is only one … Continue reading How to get ESXi hosts Peripheral devices w/PowerCLi

How to check installed patches on VMware VM w/PowerCLi

In light of recent events related to WannaCry ransomware, it becomes very relevant to check if a particular Windows Update (Patch / Hotfix / KB) is installed within VM Guest OS. Test-VMHotfix from my PowerCLi Vi-Module module will quickly and efficiently check all your VMs. The function is very simple to use. Just pipeline VM(s) … Continue reading How to check installed patches on VMware VM w/PowerCLi

How to control maximum number of VMware snapshots w/PowerCLi

Six years ago, the VMware guru William Lam wrote this excellent article. Today we will automate his solution with PowerCLi. Please meet the Set-MaxSnapshotNumber function from my PowerCLi Vi-Module module. The function can do three things: Get maximum allowed snapshot number Set maximum allowed snapshot number Prohibit taking snapshots at all Moreover, it is all … Continue reading How to control maximum number of VMware snapshots w/PowerCLi