Created
September 12, 2018 17:13
-
-
Save chris1984/3955d6b6dd1dcba7970bb33f098f434b to your computer and use it in GitHub Desktop.
vmware_case.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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