<?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: Migrate vDS from 6.0 to 6.6 in VMware vSphere™ Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Migrate-vDS-from-6-0-to-6-6/m-p/2933224#M43601</link>
    <description>&lt;P&gt;I managed to import , I google it for a bit.&amp;nbsp; basically, file has three columns , first Name, second VLAN id , and 3rd number of ports.&lt;/P&gt;&lt;P&gt;$file = Import-Csv d:\_scripts\VBs\port.csv -Header @("Name","vlan", "NumPorts")&lt;BR /&gt;foreach ($vlan in $file)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;Get-VDSwitch -Name "DSwitch" | New-VDPortgroup -Name $vlan.Name -VLanId $vlan.vlan -NumPorts $vlan.NumPorts&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 13:01:54 GMT</pubDate>
    <dc:creator>zare_N0222</dc:creator>
    <dc:date>2022-10-12T13:01:54Z</dc:date>
    <item>
      <title>Migrate vDS from 6.0 to 6.6</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Migrate-vDS-from-6-0-to-6-6/m-p/2933174#M43600</link>
      <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my environment, I have an old version of the distributed switch and I want to upgrade it to version 6.6 . there ares several host that use that vDS and more than 100 VMs. I want to create a new distributed switch and migrate uplink, vmkernel and VMs.&lt;/P&gt;&lt;P&gt;My problem is that there is too many port groups and want somehow to use powercli export port group from old vDS and create them on new vDS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-VDSwitch -name dvsOLD | Get-VirtualPortGroup | Out-File -FilePath D:\_scripts\VBs\port1.txt&lt;/P&gt;&lt;P&gt;I stack with import of port group on new vDS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone know how to import port group ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 07:17:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Migrate-vDS-from-6-0-to-6-6/m-p/2933174#M43600</guid>
      <dc:creator>zare_N0222</dc:creator>
      <dc:date>2022-10-12T07:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Migrate vDS from 6.0 to 6.6</title>
      <link>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Migrate-vDS-from-6-0-to-6-6/m-p/2933224#M43601</link>
      <description>&lt;P&gt;I managed to import , I google it for a bit.&amp;nbsp; basically, file has three columns , first Name, second VLAN id , and 3rd number of ports.&lt;/P&gt;&lt;P&gt;$file = Import-Csv d:\_scripts\VBs\port.csv -Header @("Name","vlan", "NumPorts")&lt;BR /&gt;foreach ($vlan in $file)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;Get-VDSwitch -Name "DSwitch" | New-VDPortgroup -Name $vlan.Name -VLanId $vlan.vlan -NumPorts $vlan.NumPorts&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 13:01:54 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSphere-Discussions/Migrate-vDS-from-6-0-to-6-6/m-p/2933224#M43601</guid>
      <dc:creator>zare_N0222</dc:creator>
      <dc:date>2022-10-12T13:01:54Z</dc:date>
    </item>
  </channel>
</rss>

