<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PowerShell script to add a hash table full of virtual port groups to vSphere hosts</title>
	<atom:link href="http://ben.neise.co.uk/index.php/2009/09/powershell-script-to-add-a-hash-table-full-of-virtual-port-groups-to-vsphere-hosts/feed/" rel="self" type="application/rss+xml" />
	<link>http://ben.neise.co.uk/index.php/2009/09/powershell-script-to-add-a-hash-table-full-of-virtual-port-groups-to-vsphere-hosts/</link>
	<description></description>
	<lastBuildDate>Sun, 30 Jan 2011 14:11:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Matt</title>
		<link>http://ben.neise.co.uk/index.php/2009/09/powershell-script-to-add-a-hash-table-full-of-virtual-port-groups-to-vsphere-hosts/comment-page-1/#comment-1203</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 16 Dec 2010 23:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://ben.neise.co.uk/?p=259#comment-1203</guid>
		<description>I had to change this line to make it work.

New-VirtualPortGroup -Name  $ArrVLANs[$objVLAN] -VirtualSwitch (Get-Virtualswitch -VMHost $objHost &#124; Where-Object { $_.Name -match $vswitch }) -VLanId $objVLAN

I also added a variable for vswitch so that it would be visible at the top as a variable.</description>
		<content:encoded><![CDATA[<p>I had to change this line to make it work.</p>
<p>New-VirtualPortGroup -Name  $ArrVLANs[$objVLAN] -VirtualSwitch (Get-Virtualswitch -VMHost $objHost | Where-Object { $_.Name -match $vswitch }) -VLanId $objVLAN</p>
<p>I also added a variable for vswitch so that it would be visible at the top as a variable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

