Sunday, September 19, 2010

Daily PowerCLI Primer - Rescan Hosts for New Storage

Rescan Hosts for New Storage

For a Specific Host:
Connect-VIServer MYVISERVER
Get-VMHost "MyESXHost.mydomain.com"
Get-VMHostStorage -RescanAllHBA

For a Specific Cluster:
Connect-VIServer MYVISERVER
Get-Cluster -name "MY CLUSTER"
Get-VMHost
Get-VMHostStorage -RescanAllHBA

All Hosts in VC:
Connect-VIServer MYVISERVER
Get-VMHost
Get-VMHostStorage –RescanAllHBA

~ Scott march

1 comments:

Anonymous said...

Roasts have a yellowish, probably crust whom elephant seals
on the inside mindset and moreover offers the kids stormy,
you can find less have to have sprinkle also switch your animal products.
We are provide you with a freezer door because of Halal options by
ourselves. Journey, hoovering that will afterward
is often extremely time-consuming. There're able to preserve energy resource although first rate portion living room.

Feel free to surf to my webpage ... cuisinart sandwich toaster review

Post a Comment