Skip to content

Instantly share code, notes, and snippets.

@chris1984
Created September 12, 2018 17:13
Show Gist options
  • Save chris1984/3955d6b6dd1dcba7970bb33f098f434b to your computer and use it in GitHub Desktop.
Save chris1984/3955d6b6dd1dcba7970bb33f098f434b to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment