Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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
Add Comment
Please, Sign In to add comment