When you’re using ‘esxcli’ to check drivers on ESXi, they’re referred to as ‘modules.’ You can run this bit of PowerCLI to quickly confirm which version of a module you’re running across a cluster. This came in handy for me recently as we found out we were running outdated enic and fnic (network) drivers. All that needs to be modified are the field rendered in blue: [Cluster name] to select the hosts, and [Module] to specify the driver to query. Hope this comes in handy for someone else!

[code language=”ps”] $hosts = Get-Cluster "[CLUSTER NAME]" | Get-VMHost$versions = @{}Foreach($vihost in $hosts){$esxcli = Get-VMHost $vihost | Get-EsxCli$versions.Add($vihost, ($esxcli.system.module.get("[MODULE]") |Select Version))$versions.GetEnumerator() | Sort Name[/code]