<?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 PowerCLI - Move-VM to a Opaque NSX-T Network in VMware vSphere™ Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/PowerCLI-Move-VM-to-a-Opaque-NSX-T-Network/m-p/2864345#M40071</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;i am currently developing a powershell / powercli script to migrate a batch of VMs from our legacy VLAN based portgroups and cluster structure to a new cluster and to the corresponding bridged vlan segments in NSX-T. We are still running vSphere 6.7u3 therefor all nsx-t segments are displayed as a Opaque network in vSphere.&lt;/P&gt;&lt;P&gt;I already tried to use the "Move-VM" command to safe some time and complete the migration for a single vm in one go. The problem with Move-VM is that it only accepts normal portgroups as input for the networkAdapters (ObjectType: "VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualPortGroupBase") while the Get-VirtualNetwork Command doesnt output the right type nether does the Get-View &lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;ViewType&amp;nbsp;OpaqueNetwork.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What would be the fastest / recommended way of approaching such&amp;nbsp; a migration ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Aug 2021 11:01:58 GMT</pubDate>
    <dc:creator>Spalte</dc:creator>
    <dc:date>2021-08-30T11:01:58Z</dc:date>
    <item>
      <title>PowerCLI - Move-VM to a Opaque NSX-T Network</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/PowerCLI-Move-VM-to-a-Opaque-NSX-T-Network/m-p/2864345#M40071</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;i am currently developing a powershell / powercli script to migrate a batch of VMs from our legacy VLAN based portgroups and cluster structure to a new cluster and to the corresponding bridged vlan segments in NSX-T. We are still running vSphere 6.7u3 therefor all nsx-t segments are displayed as a Opaque network in vSphere.&lt;/P&gt;&lt;P&gt;I already tried to use the "Move-VM" command to safe some time and complete the migration for a single vm in one go. The problem with Move-VM is that it only accepts normal portgroups as input for the networkAdapters (ObjectType: "VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualPortGroupBase") while the Get-VirtualNetwork Command doesnt output the right type nether does the Get-View &lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;ViewType&amp;nbsp;OpaqueNetwork.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What would be the fastest / recommended way of approaching such&amp;nbsp; a migration ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 11:01:58 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/PowerCLI-Move-VM-to-a-Opaque-NSX-T-Network/m-p/2864345#M40071</guid>
      <dc:creator>Spalte</dc:creator>
      <dc:date>2021-08-30T11:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI - Move-VM to a Opaque NSX-T Network</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/PowerCLI-Move-VM-to-a-Opaque-NSX-T-Network/m-p/2865590#M40129</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use move-vm along with the parameter&lt;/P&gt;&lt;P&gt;-Network &amp;lt;Network[]&amp;gt;&lt;/P&gt;&lt;P&gt;and replace Network[] with your target network(s).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 06:29:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/PowerCLI-Move-VM-to-a-Opaque-NSX-T-Network/m-p/2865590#M40129</guid>
      <dc:creator>lhoreis</dc:creator>
      <dc:date>2021-09-07T06:29:13Z</dc:date>
    </item>
  </channel>
</rss>

