Run below command in PowerCLI to Connect Virtual Center.
Connect-VIServer vCenterName
PowerCLI Script for VAAI. Save it as Get-VAAIStatus.ps1 and execute.
$vaaistatus = @()
Get-VMHost | %{
$DataMoverHardwareAcceleratedMove = $_ | Get-VMHostAdvancedConfiguration -Name DataMover.HardwareAcceleratedMove
$VMFS3HardwareAcceleratedLocking = $_ | Get-VMHostAdvancedConfiguration -Name VMFS3.HardwareAcceleratedLocking
$DataMoverHardwareAcceleratedInit = $_ | Get-VMHostAdvancedConfiguration -Name DataMover.HardwareAcceleratedInit
$vaaistatus += new-object psobject -property @{
Host = $_.Name
DataMoverHardwareAcceleratedMove = [string]$DataMoverHardwareAcceleratedMove.Values
VMFS3HardwareAcceleratedLocking = [string]$VMFS3HardwareAcceleratedLocking.Values
DataMoverHardwareAcceleratedInit = [string]$DataMoverHardwareAcceleratedInit.Values
}
}
$vaaistatus