How to scan HBA Vmware ESXi Vmware Power CLI

How to scan HBA Vmware ESXi Vmware Power CLI

Connect to your ESX or VCenter Server

Connect-VIServer -Server 192.168.1.10  -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd

To Scan all ESXi hosts is Cluster
Get-Cluster ‘cluster name‘ | Get-VMHost  | Get-VMHostStorage -RescanAllHba

To scan single ESX  host

Get-VMHost ‘192.168.1.11‘ | Get-VMHostStorage -RescanAllHba

 

Leave a Comment