<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Networknet.nl Blog &#187; commandline</title>
	<atom:link href="http://www.networknet.nl/apps/wp/archives/tag/commandline/feed" rel="self" type="application/rss+xml" />
	<link>http://www.networknet.nl/apps/wp</link>
	<description>Stay Connected</description>
	<lastBuildDate>Mon, 05 Jul 2010 17:50:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Software Packaging: Internet Explorer 8</title>
		<link>http://www.networknet.nl/apps/wp/archives/769</link>
		<comments>http://www.networknet.nl/apps/wp/archives/769#comments</comments>
		<pubDate>Wed, 25 Mar 2009 12:43:34 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[IE]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/?p=769</guid>
		<description><![CDATA[Here is my script and commands I used to install Internet Explorer 8 with a cmd script. I used this script to perform manual installation but it can also be used to deploy the package with software distribution. IE8-WindowsXP-x86-ENU.exe /passive /nobackup /norestart The script will install IE, without user interaction, create no uninstall package and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://farm4.static.flickr.com/3582/3376602772_af556341f3_o.png" alt="Internet Explorer 8" width="340" height="88" />Here is my script and commands I used to install Internet Explorer 8 with a cmd script. I used this script to perform manual installation but it can also be used to deploy the package with software distribution.</p>
<blockquote><p>IE8-WindowsXP-x86-ENU.exe /passive /nobackup /norestart</p></blockquote>
<p>The script will install IE, without user interaction, create no uninstall package and does not reboot the system. If you want to hide the installation window add &#8220;/quiet&#8221; to it. For more information click <a href="http://support.microsoft.com/kb/927677" target="_blank">here</a>.</p>
<p><img src="http://farm4.static.flickr.com/3654/3395869136_85c19ea845.jpg" alt="Internet Explorer 8 unattended" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/769/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ESX: esxcfg-vswitch and special vlan switch</title>
		<link>http://www.networknet.nl/apps/wp/archives/452</link>
		<comments>http://www.networknet.nl/apps/wp/archives/452#comments</comments>
		<pubDate>Thu, 12 Jun 2008 14:56:36 +0000</pubDate>
		<dc:creator>Ivan Versluis</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[vlan]]></category>

		<guid isPermaLink="false">http://www.networknet.nl/apps/wp/archives/452</guid>
		<description><![CDATA[If you need to create 5 or more of Virtual Port groups on a vSwtich and you don&#8217;t want to use the VI client than logon on the service console and run the commands below. For creating a new Virtual Port Group use: esxcfg-vswitch -A NAME-TO-GIVE vSwitch0 Assigning a special VLAN to this a Virtual [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to create 5 or more of Virtual Port groups on a vSwtich and you don&#8217;t want to use the VI client than logon on the service console and run the commands below.</p>
<p>For creating a new Virtual Port Group use:</p>
<div class="terminal">esxcfg-vswitch -A NAME-TO-GIVE vSwitch0</div>
<p>Assigning a special VLAN to this a Virtual Port Group:</p>
<div class="terminal">esxcfg-vswitch -v VLANID -p PORTGROUP vSwitch0</div>
<p>With these two simple commands I was able to push my sh script and create same &#8220;Networking&#8221; configuration on dozen of my ESX servers.</p>
<div class="terminal">[root@ESX-02 root]# esxcfg-vswitch -A VLAN282 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN283 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN284 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN285 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN299 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -A VLAN220 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 282 -p VLAN282 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 283 -p VLAN283 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 284 -p VLAN284 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 285 -p VLAN285 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 299 -p VLAN299 vSwitch0<br />[root@ESX-02 root]# esxcfg-vswitch -v 220 -p VLAN220 vSwitch0</div>
<p> 
<p>esxcfg-vswitch [options] [vswitch[:ports]]</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-a|&#8211;add<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Add a new virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-d|&#8211;delete<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Delete the virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-l|&#8211;list<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>List all the virtual switches.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-L|&#8211;link=pnic<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set pnic as an uplink for the vswitch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-U|&#8211;unlink=pnic<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Remove pnic from the uplinks for the vswitch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-M|&#8211;add-pg-uplink<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Add an uplink to the list of uplinks for a portgroup</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-N|&#8211;del-pg-uplink<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Delete an uplink from the list of uplinks for a portgroup</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span><span style="background: yellow; mso-highlight: yellow">-p|&#8211;pg=portgroup<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </span>Specify a portgroup for operation</span></p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Use ALL to set VLAN IDs on all portgroups</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span><span style="background: yellow; mso-highlight: yellow">-v|&#8211;vlan=id<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set vlan id for portgroup specified by -p</span></p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>0 would disable the vlan</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-c|&#8211;check<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Check to see if a virtual switch exists.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Program outputs a 1 if it exists, 0 otherwise.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span><span style="background: lime; mso-highlight: lime">-A|&#8211;add-pg=name<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Add a new portgroup to the virtual switch.</span></p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-D|&#8211;del-pg=name<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Delete the portgroup from the virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-C|&#8211;check-pg=name<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>Check to see if a portgroup exists.<span style="mso-spacerun: yes">&nbsp; </span>Program</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>outputs a 1 if it exists, 0 otherwise.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-B|&#8211;set-cdp<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set the CDP status for a given virtual switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>To set pass one of &#8220;down&#8221;, &#8220;listen&#8221;, &#8220;advertise&#8221;, &#8220;both&#8221;.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-b|&#8211;get-cdp<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Print the current CDP setting for this switch.</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-m|&#8211;mtu=MTU<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Set MTU for the vswitch. </p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-r|&#8211;restore<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Restore all virtual switches from the configuration file</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>(FOR INTERNAL USE ONLY).</p>
<p style="font-size: 11pt; margin: 0in; font-family: 'Courier New'"><span style="mso-spacerun: yes">&nbsp; </span>-h|&#8211;help<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Show this message.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networknet.nl/apps/wp/archives/452/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
