<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Rename VMware ESXi vSwitch using the command line - VMware vSphere help				            </title>
            <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/rename-vmware-esxi-vswitch-using-the-command-line/</link>
            <description>Virtualization Howto Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 16 Apr 2026 11:48:11 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Rename VMware ESXi vSwitch using the command line</title>
                        <link>https://www.virtualizationhowto.com/community/vmware-vsphere-help/rename-vmware-esxi-vswitch-using-the-command-line/#post-927</link>
                        <pubDate>Mon, 23 Sep 2024 13:43:37 +0000</pubDate>
                        <description><![CDATA[It would be great if we could rename the vSwitches from the GUI, but unfortunately, you can&#039;t with Standard vSwitches in VMware ESXi in the GUI, either the ESXi host client connected directl...]]></description>
                        <content:encoded><![CDATA[<p>It would be great if we could rename the vSwitches from the GUI, but unfortunately, you can't with Standard vSwitches in VMware ESXi in the GUI, either the ESXi host client connected directly, or with the vSphere Client. However, there is an easy way to do this if you are running vSphere 7.0 U2 and higher.</p>
251
252
<p>This configuration is kep in a new "configstore" that allows us to work with this fairly easily by exporting config, changing names on the vSwitches, and then importing the configuration back into the configstore.</p>
<p>To get your current configstore configuration, you can run the command:</p>
<pre contenteditable="false">configstorecli config current get -c esx -g network_vss -k switches</pre>
253
254
<p>You can export the configuration to a JSON file with this command:</p>
<pre contenteditable="false">configstorecli config current get -c esx -g network_vss -k switches &gt; vswitch.json
</pre>
<p>Then, you can reimport the configuration back into your configstore that you have modified using the command:</p>
<pre contenteditable="false">configstorecli config current set -c esx -g network_vss -k switches --infile vswitch.json --overwrite
</pre>
<p> </p>
<p>This should allow you to change the network name effectively</p>
<p>Found Duncan's post on this subject, just tweaked the infile command a bit since I was getting an error with the other: <a href="https://www.yellow-bricks.com/2021/06/14/how-do-i-change-the-name-of-a-vswitch-with-vsphere-7-0-u2-and-higher/">How do I change the name of a vSwitch with vSphere 7.0 U2 and higher? | Yellow Bricks (yellow-bricks.com)</a></p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/vmware-vsphere-help/">VMware vSphere help</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/vmware-vsphere-help/rename-vmware-esxi-vswitch-using-the-command-line/#post-927</guid>
                    </item>
							        </channel>
        </rss>
		