<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to Fix Navigational Links After Relocating a Site Collection</title><link>http://blogs.msdn.com/b/rcormier/archive/2012/09/27/how-to-fix-navigational-links-after-relocating-a-site-collection.aspx</link><description>This post is going to discuss how to fix navigational links after relocating a site collection within the same web application. Relocating a site collection to a new URL is a relatively common task. One reason you may relocate a site collection is if</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How to Fix Navigational Links After Relocating a Site Collection</title><link>http://blogs.msdn.com/b/rcormier/archive/2012/09/27/how-to-fix-navigational-links-after-relocating-a-site-collection.aspx#10382894</link><pubDate>Mon, 07 Jan 2013 17:11:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10382894</guid><dc:creator>Roger Cormier</dc:creator><description>&lt;p&gt;What you&amp;#39;re running into may require some further debugging. &amp;nbsp;It looks like $TopLink doesn&amp;#39;t seem to be set properly for you at this point in the script. &amp;nbsp;If you do run through the script, what is $TopLink set to just before this is called, and what do you expect it to be at that time?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10382894" width="1" height="1"&gt;</description></item><item><title>re: How to Fix Navigational Links After Relocating a Site Collection</title><link>http://blogs.msdn.com/b/rcormier/archive/2012/09/27/how-to-fix-navigational-links-after-relocating-a-site-collection.aspx#10378661</link><pubDate>Mon, 17 Dec 2012 13:58:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10378661</guid><dc:creator>Not working for me :(</dc:creator><description>&lt;p&gt;sorry I&amp;#39;m really new to PS and currently getting this error&lt;/p&gt;
&lt;p&gt;You cannot call a method on a null-valued expression.&lt;/p&gt;
&lt;p&gt;At C:\script\UpdateTopLinks.ps1:65 char:71&lt;/p&gt;
&lt;p&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set-Variable -Name TopLinkURL -Value($TopLink.Url.ToString &amp;lt;&amp;lt;&amp;lt;&amp;lt; ()) -scope &amp;quot;script&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ CategoryInfo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: InvalidOperation: (ToString:String) [], RuntimeException&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;+ FullyQualifiedErrorId : InvokeMethodOnNull&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10378661" width="1" height="1"&gt;</description></item><item><title>re: How to Fix Navigational Links After Relocating a Site Collection</title><link>http://blogs.msdn.com/b/rcormier/archive/2012/09/27/how-to-fix-navigational-links-after-relocating-a-site-collection.aspx#10362722</link><pubDate>Thu, 25 Oct 2012 13:45:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10362722</guid><dc:creator>Roger Cormier</dc:creator><description>&lt;p&gt;Glad you found it, and thanks for the feedback!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10362722" width="1" height="1"&gt;</description></item><item><title>re: How to Fix Navigational Links After Relocating a Site Collection</title><link>http://blogs.msdn.com/b/rcormier/archive/2012/09/27/how-to-fix-navigational-links-after-relocating-a-site-collection.aspx#10362712</link><pubDate>Thu, 25 Oct 2012 13:23:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10362712</guid><dc:creator>dplotnikov - mvp</dc:creator><description>&lt;p&gt;Ooops, it&amp;#39;s already there. It&amp;#39;s awesome! Thanks for sharing.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10362712" width="1" height="1"&gt;</description></item><item><title>re: How to Fix Navigational Links After Relocating a Site Collection</title><link>http://blogs.msdn.com/b/rcormier/archive/2012/09/27/how-to-fix-navigational-links-after-relocating-a-site-collection.aspx#10362711</link><pubDate>Thu, 25 Oct 2012 13:22:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10362711</guid><dc:creator>dplotnikov - mvp</dc:creator><description>&lt;p&gt;Hi, I thinks you should add this script into the TN Gallery&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10362711" width="1" height="1"&gt;</description></item></channel></rss>