Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: need help with PowerCli script to detach RDM devices not datastores

$
0
0

No, you can be connected to the vCenter.

Get all the ESXi in the cluster, and then call the function for each ESXi host.

Something like this

 

Get-Cluster-NameMyCluster|Get-VMHost|%{    Detach-Disk-VMHost$_-CanonicalName$canonicalname
}

Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>