thanks for replying...
my org. needs a script only..
will below script export multiple vcenter data into single csv? please help.
$vcservers = get-content "C:\scritp\vcenters.txt"s
$creds = get-credential
Foreach ($vc in $vcservers) {
Connect-VIServer $vc -Credential $creds -ErrorAction SilentlyContinue -ErrorVariable ConnectError | Out-Null
}
Get-cluster | select Name,HAEnabled,HAFailoverLevel,DrsEnabled,DrsAutomationLevel | Export-Csv "C:\HaDrs.CSV"