Please enable Javascript for better experience...
 
PowerCLI Script - Check VAAI Status of all ESXi Hosts in a Virtual Center
By Pranay Jha | May 26, 2016 | In Tips | Total Views [ 1001 ]
Taged In
(0 Like)
Rate


Use this PowerCLI Script to Check the Status of VAAI of all ESXi Hosts in Virtual Center

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


Thanks for visiting here. Share this article if you found it useful.
Like Facebook Page https://www.facebook.com/VMwareInsight/
Connect to twitter https://twitter.com/imPranayK
Subscribe my Channel https://www.youtube.com/vmwareinsight
Connect over Linkedin https://in.linkedin.com/in/impranayk
Share this on Social Media

About the Author

Pranay Jha
Pranay Jha
Founder, Contributer VMwareInsight.com
Follow me

facebook linkedin twitter G+ VMTN youtube

Thank you for visiting my profile. I am Pranay Jha, bring along a total of 11+ years of extensive experience with me in Information Technology sector for organizations from small business to large enterprises, wherein my current assignment I am associated with IBM as a Technical Solution Architect for Virtualization platform. I am also an Independent blogger and founder of Vmwareinsight.com. I can be reached via email at pranay1988jha@gmail.com or Direct Message via Contact Us form.

 
Please SignUp/Login to comment...

Or comment as anonymous...
* Name
* Email ID
Comment
 
Sponsors
 
 
 
 
 
Facebook Likes