Vmsvc/get.networks: Difference between revisions
Jump to navigation
Jump to search
New page: ==== vimsh vmsvc/get.networks ==== Usage: get.networks vmid Show the list of networks for this virtual machine. Category: Vimsh |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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 ==== | |||
[/]$ vmsvc/get.networks 4400 | |||
Networks: | |||
(vim.Network.Summary) { | |||
dynamicType = <unset>, | |||
network = 'vim.Network:HaNetwork-Virtual Machines Network', | |||
name = "Virtual Machines Network", | |||
accessible = true, | |||
} | |||
[[Category: Vimsh]] | [[Category: Vimsh]] |
Latest revision as of 11: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, }