chris1984
9/12/2018 - 5:13 PM

vmware_case.ps1

vmware_case.ps1

Connect-VIServer -Server vcenter.server.example.com -User admin_user -Password "password"
Write-Host "Gathering clusters"
Get-Cluster
Get-Cluster | Get-ResourcePool
$cluster = Get-Cluster "cluster_name" | Get-View
$cluster
$cluster.Configuration.DrsConfig
$cluster.Configuration.DasConfig