Skip to content

Instantly share code, notes, and snippets.

@a73xsh
Last active April 13, 2018 07:44
Show Gist options
  • Save a73xsh/6c67919ae7db6078e3228d479a050a08 to your computer and use it in GitHub Desktop.
Save a73xsh/6c67919ae7db6078e3228d479a050a08 to your computer and use it in GitHub Desktop.
Cisco enic driver vmware
$hosts = Get-VMHost
$versions = @{}
Foreach($vihost in $hosts){
$esxcli = Get-VMHost $vihost | Get-EsxCli
$versions.Add($vihost, ($esxcli.system.module.get("enic") |
Select Version))
}
$versions.GetEnumerator() | Sort-Object Name | Format-List
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment