<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Obtaining Virtual Network Name, Type, and External Connection in Windows Workstation via CLI/scr in VMware Workstation Pro Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Obtaining-Virtual-Network-Name-Type-and-External-Connection-in/m-p/2941751#M178967</link>
    <description>&lt;P&gt;Perhaps an easier way to ask is:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Once I've created custom networks using the Virtual Network Editor, how can I retrieve all the networks' parameters without using a GUI?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 16:13:49 GMT</pubDate>
    <dc:creator>AnotherDummy</dc:creator>
    <dc:date>2022-12-01T16:13:49Z</dc:date>
    <item>
      <title>Obtaining Virtual Network Name, Type, and External Connection in Windows Workstation via CLI/script</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Obtaining-Virtual-Network-Name-Type-and-External-Connection-in/m-p/2940755#M178833</link>
      <description>&lt;P&gt;I am running VMWare Workstation 16.2 Pro on Windows 10, and I have to create bridged Virtual Networks in the Virtual Network Editor to assign to external network devices.&lt;/P&gt;&lt;P&gt;I add multiple network adapters to a particular VM (&lt;STRONG&gt;Linux guest&lt;/STRONG&gt;) and I need to get the PCI bus address that corresponds to each particular Windows Network device.&lt;/P&gt;&lt;P&gt;I can get the physical NIC (i.e.: port #) to "FriendlyName" (i.e.: "External Connection") mapping via PowerShell.&lt;/P&gt;&lt;P&gt;I can also get the "Virtual Network Name" (e.g.: vmnet17 or what it's renamed to) to VMWare MAC addresses for the configured VM, also via PowerShell (and the VM's .vmx file).&lt;/P&gt;&lt;P&gt;Once the VM is running, I can get the VMWare MACs to PCI addresses via a bash script.&lt;/P&gt;&lt;P&gt;However, I still need to map from the &lt;STRONG&gt;physical device&lt;/STRONG&gt; (e.g. "FriendlyName", "Location", physical MAC, etc) to the &lt;STRONG&gt;"Virtual Network Name"&lt;/STRONG&gt; as shown in the Virtual Network Editor".&lt;/P&gt;&lt;P&gt;The end objective will be to run a script for a VM that returns:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Physical NIC #1: PCI address = "0000:xx:..."
Physical NIC #2: PCI address = "0000:xx:..." 
etc.&lt;/LI-CODE&gt;&lt;P&gt;for each assigned (custom bridged at least) Virtual Adapter.&lt;/P&gt;&lt;P&gt;So I have all the pieces except the parts from the "Virtual Network Editor."&amp;nbsp; I have tried vmrest (api/vmnet), but that doesn't provide any networks but the defaults.&amp;nbsp; It does not provide the custom networks I added.&amp;nbsp; I can't find what I need in the registry or C:\ProgramData\VMware\... config files.&lt;/P&gt;&lt;P&gt;Can anyone help me obtain that information via a script (CLI/API)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 19:37:50 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Obtaining-Virtual-Network-Name-Type-and-External-Connection-in/m-p/2940755#M178833</guid>
      <dc:creator>AnotherDummy</dc:creator>
      <dc:date>2022-11-25T19:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining Virtual Network Name, Type, and External Connection in Windows Workstation via CLI/scr</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Obtaining-Virtual-Network-Name-Type-and-External-Connection-in/m-p/2941751#M178967</link>
      <description>&lt;P&gt;Perhaps an easier way to ask is:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Once I've created custom networks using the Virtual Network Editor, how can I retrieve all the networks' parameters without using a GUI?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:13:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Obtaining-Virtual-Network-Name-Type-and-External-Connection-in/m-p/2941751#M178967</guid>
      <dc:creator>AnotherDummy</dc:creator>
      <dc:date>2022-12-01T16:13:49Z</dc:date>
    </item>
  </channel>
</rss>

