Reply to Message

View discussion in a popup

Replying to:
Ranger_rkm
Contributor
Contributor

PowerCLI Array Question

Hello,

I'm trying to figure out how to use an PS Array for Clusters. If anyone has done something simlar in the past, can you please help me.

Thanks,

-Mike

Here is the code that I'm working with right now.

[CODE]

#Production Cluster - Rescan All HBAs

$Cluster = @("Production", "Production-1") | Get-Cluster $Cluster | Get-VMHost | Get-VMHostStorage -RescanAllH

{CODE]

Reply
0 Kudos