<?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: Scripts</title>
	<atom:link href="http://www.powershell.nu/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.powershell.nu</link>
	<description>Windows PowerShell</description>
	<lastBuildDate>Fri, 03 Feb 2012 09:00:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Shyam</title>
		<link>http://www.powershell.nu/scripts/comment-page-1/#comment-9725</link>
		<dc:creator>Shyam</dc:creator>
		<pubDate>Fri, 25 Nov 2011 09:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?page_id=445#comment-9725</guid>
		<description>Hi,
if you will try to set this property while you are creating a list than it will give you that error.
so instead of that try putting the update code in another function and call it once you are done with creating part.

i mean i am not sure whether thats the reason behind that , but i got it working in that way, so please correct me if i am wrong.



	function UpdateList
                 {
		$spweb = Get-SPWeb &quot;http://xyz:444&quot;
                                 $list = $spweb.Lists[$listName]
                                 $list.OnQuickLaunch = $true
		$list.Update()
		$spweb.Update()
                }

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
if you will try to set this property while you are creating a list than it will give you that error.<br />
so instead of that try putting the update code in another function and call it once you are done with creating part.</p>
<p>i mean i am not sure whether thats the reason behind that , but i got it working in that way, so please correct me if i am wrong.</p>
<p>	function UpdateList<br />
                 {<br />
		$spweb = Get-SPWeb &#8220;http://xyz:444&#8243;<br />
                                 $list = $spweb.Lists[$listName]<br />
                                 $list.OnQuickLaunch = $true<br />
		$list.Update()<br />
		$spweb.Update()<br />
                }</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ofer Gal</title>
		<link>http://www.powershell.nu/scripts/comment-page-1/#comment-6030</link>
		<dc:creator>Ofer Gal</dc:creator>
		<pubDate>Thu, 26 May 2011 14:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?page_id=445#comment-6030</guid>
		<description>I used Set-SPQuickLaunchOrder.ps1 
but I get &quot;Property &#039;OnQuickLaunch&#039; cannot be found on this object&quot; 
Any idea why?</description>
		<content:encoded><![CDATA[<p>I used Set-SPQuickLaunchOrder.ps1<br />
but I get &#8220;Property &#8216;OnQuickLaunch&#8217; cannot be found on this object&#8221;<br />
Any idea why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.powershell.nu/scripts/comment-page-1/#comment-4949</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 06 Apr 2011 02:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.powershell.nu/?page_id=445#comment-4949</guid>
		<description>You are a GOD!  Thank you for this site.</description>
		<content:encoded><![CDATA[<p>You are a GOD!  Thank you for this site.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

