List VM Network Adapters
Retrieves the virtual network adapters of the specified virtual machine.
Input Parameters
Virtual Machine Name |
String |
Yes |
Specifies the virtual machine whose virtual network adapters are to be retrieved. The asterisk, “*” can be used to return virtual network adapters from every virtual machine in the system. |
Legacy NICs |
String |
Yes |
Specifies to retrieve information on Legacy NICs only, Non-Legacy NICs only, or All NICs. |
Output Parameters
Result |
Number |
Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Virtual Machine Name |
String |
Yes |
Guest001 |
Legacy NICs |
String |
Yes |
Optionally, you can retrieve information on Legacy NICs only, Non-Legacy NICs only or All NICs. |