Vmsvc/get.networks

From VI-Toolkit
Jump to: navigation, search

vimsh vmsvc/get.networks

Usage: get.networks vmid

Show the list of networks for this virtual machine.

You can use vmsvc/getallvms to retrieve the vmid


example output

[/]$ vmsvc/get.networks 4400
Networks:

(vim.Network.Summary) {
   dynamicType = <unset>,
   network = 'vim.Network:HaNetwork-Virtual Machines Network',
   name = "Virtual Machines Network",
   accessible = true,
}