Vmsvc/get.networks: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:


Show the list of networks for this virtual machine.
Show the list of networks for this virtual machine.
You can use [[vmsvc/getallvms]] to retrieve the vmid


==== example output ====
==== example output ====

Latest revision as of 12:02, 17 December 2008

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,
}