<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Memory Sucks</title>
	<atom:link href="http://mymemorysucks.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mymemorysucks.wordpress.com</link>
	<description>It just does.</description>
	<lastBuildDate>Wed, 21 Dec 2011 22:36:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mymemorysucks.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Memory Sucks</title>
		<link>http://mymemorysucks.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mymemorysucks.wordpress.com/osd.xml" title="My Memory Sucks" />
	<atom:link rel='hub' href='http://mymemorysucks.wordpress.com/?pushpress=hub'/>
		<item>
		<title>South East Asia SharePoint Conference Presentation</title>
		<link>http://mymemorysucks.wordpress.com/2011/11/11/south-east-asia-sharepoint-conference-presentation/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/11/11/south-east-asia-sharepoint-conference-presentation/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 05:54:23 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=237</guid>
		<description><![CDATA[For anyone thats interest I&#8217;ve got my slides from my South East Asia SharePoint Conference presentation on &#8220;The Modern Art of Taming Software Developers&#8221; available here. The slides don&#8217;t have everything I talk about so if you&#8217;re interested in finding out more, follow me on twitter (@christomich82) and I&#8217;ll let you know when the next [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=237&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For anyone thats interest I&#8217;ve got my slides from my South East Asia SharePoint Conference presentation on &#8220;The Modern Art of Taming Software Developers&#8221; available <a title="The Modern Art of Taming Software Developers" href="http://mymemorysucks.files.wordpress.com/2011/11/spseathemodernartoftamingsoftwaredevelopersfinal.pdf">here</a>. The slides don&#8217;t have everything I talk about so if you&#8217;re interested in finding out more, follow me on twitter (@christomich82) and I&#8217;ll let you know when the next conference I&#8217;ll be presenting at is.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/237/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/237/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/237/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=237&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/11/11/south-east-asia-sharepoint-conference-presentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>The SharePoint &#8216;Tacklebox&#8217;</title>
		<link>http://mymemorysucks.wordpress.com/2011/10/23/the-sharepoint-tacklebox/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/10/23/the-sharepoint-tacklebox/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 05:18:56 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=226</guid>
		<description><![CDATA[The other day I was talking to one of my clients and I was trying to explain what SharePoint is exactly and why projects delivering them tend to fail. Like most others, they had been sold on the collaborative power that SharePoint introduces into an organisation and how it was the be all and end all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=226&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The other day I was talking to one of my clients and I was trying to explain what SharePoint is exactly and why projects delivering them tend to fail. Like most others, they had been sold on the collaborative power that SharePoint introduces into an organisation and how it was the be all and end all of online delivery of content, collaboration, business intelligence, search etc. After a little search in my head for the best analogy I could think of, I settled on comparing it to a fisherman’s tackle box.</p>
<p>When I was much younger my dad bought this fantastic fishing tackle box. It’s one of those boxes that when you pulled back the lid there would be all these multilevel compartments that could be folded out and had millions of little drawers to hold all kinds of different fishing tackle. My dad had filled it up with all kinds of different hooks, sinkers, floaters, leaders, etc. By having everything at our disposal it meant that we would be prepared for any fishing environment.</p>
<p>Now just because we had purchased a complete kit with all the equipment any fishing pro would have at his disposal did not make everyone in my family a pro. In most cases I had no clue what the thing did or when or how it should even be used. Context is a major part of fishing, just like in a SharePoint project. Knowing what the functional use for the accessory is does not mean you know the environment or situation in which to use it. For example, can you have a guess as to what the following equipment is and when it&#8217;s typically used?</p>
<p><a href="http://mymemorysucks.files.wordpress.com/2011/10/hitechfishingtackle.jpg"><img class="alignnone size-full wp-image-233" title="Hi-tech Fishing Equipment" src="http://mymemorysucks.files.wordpress.com/2011/10/hitechfishingtackle.jpg" alt="Hi-tech Fishing Equipment" width="523" height="523" /></a></p>
<p>If you didn&#8217;t manage to guess it, its a fish bite alarm. To some this may seem pointless because you&#8217;d be asking the question &#8220;wouldn&#8217;t you know that you have a fish by the fact its trying to rip the rod out of your line?&#8221; and you&#8217;d be correct in some circumstances but there are times when you may have multiple lines or the kind of fish you&#8217;re fishing for requires a more subtle technique meaning the bite is quite hard to detect without some kind of aid. SharePoint is no different; there is a time and a place for all its components.</p>
<p>When you install SharePoint, you aren’t installing a tool with the knowledge and wisdom of a thousand grey haired developers. What you’re installing is a <span style="text-decoration:line-through;">tool of immeasurable pain</span> toolbox of components commonly used in the development of a variety of web based applications. Just like fishing, we need to know the environment we’re in. We need to know whether it is an intranet site, internet site, collaborative portal, document management portal, or records management portal (just to mention a few) that we’re building. We also need to have an understanding of the IT / businesses processes and procedures in place as these are likely to affect the kinds of solutions and the paths we choose for customisation.</p>
<p>Judging the success/failure of a SharePoint project is also much like fishing, we judge it on the level of user engagement we attract. The less user engagement, the more likely we’ve totally missed the needs of the business. The more we understand the business needs as the business views it (I’m glaring at those developers who think they know the business better than the business knows itself) before we undertake the development of the project then the higher level of user engagement we’ll receive.</p>
<p>The ultimate point in all of this is that SharePoint alone won’t get the level of user engagement sought after by organisations. There is a level of maturity and understanding required by implementers around both the needs of the business and the business goals that are to be achieved. These need to be understood long before you decide upon SharePoint as the platform. It’s for this reason that many SharePoint projects fail. SharePoint can deliver on the promises of collaboration, portal, business intelligence, business processes, content management, and search. What it can’t deliver and doesn’t promise to deliver is that these tools will be used properly by the SharePoint ‘fisherman’ and that any users will be successfully ‘caught’.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=226&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/10/23/the-sharepoint-tacklebox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="http://mymemorysucks.files.wordpress.com/2011/10/hitechfishingtackle.jpg" medium="image">
			<media:title type="html">Hi-tech Fishing Equipment</media:title>
		</media:content>
	</item>
		<item>
		<title>Shameless Conference Plug</title>
		<link>http://mymemorysucks.wordpress.com/2011/10/09/shameless-conference-plug/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/10/09/shameless-conference-plug/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 05:33:35 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=220</guid>
		<description><![CDATA[I&#8217;ve been accepted to present on SharePoint governance and finding goal alignment at the SharePoint Conference Asia 2011 in Singapore so here is my shameless plug to come to my session. I&#8217;ll be discussing various techniques we&#8217;ve used to find goal alignment within an organisation as this has been a critical success factor in all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=220&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been accepted to present on SharePoint governance and finding goal alignment at the SharePoint Conference Asia 2011 in Singapore so here is my shameless plug to come to my session.</p>
<p>I&#8217;ll be discussing various techniques we&#8217;ve used to find goal alignment within an organisation as this has been a critical success factor in all the SharePoint deployments my consultancy has undertaken. In particular I&#8217;ll explore one of the biggest factors we&#8217;ve noted as being a hurdle to finding this goal alignment which is the way most organisations have been structured.</p>
<p>If you&#8217;re going to be in the area in November on the 8 &#8211; 9 and are interested in coming you can find out more here http://www.sharepointconference.asia/sea/2011/solutionpages/default.aspx.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=220&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/10/09/shameless-conference-plug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>MOSS World (parody of Gary Jule version of Mad World)</title>
		<link>http://mymemorysucks.wordpress.com/2011/03/19/moss-world-parody-of-gary-jule-version-of-mad-world/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/03/19/moss-world-parody-of-gary-jule-version-of-mad-world/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 09:29:10 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=215</guid>
		<description><![CDATA[My colleague and a few other SharePoint gurus came up with this gold. I think it aptly sums up the feelings of most SharePoint Consultants that inherit projects. Enjoy. http://www.cleverworkarounds.com/2011/03/18/moss-world/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=215&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My colleague and a few other SharePoint gurus came up with this gold. I think it aptly sums up the feelings of most SharePoint Consultants that inherit projects. Enjoy.</p>
<p><a href="http://www.cleverworkarounds.com/2011/03/18/moss-world/">http://www.cleverworkarounds.com/2011/03/18/moss-world/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=215&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/03/19/moss-world-parody-of-gary-jule-version-of-mad-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>Enumerating User Profile Properties</title>
		<link>http://mymemorysucks.wordpress.com/2011/03/11/enumerating-user-profile-properties/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/03/11/enumerating-user-profile-properties/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 04:02:20 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Profile Service Application]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=205</guid>
		<description><![CDATA[I recently had a need for a PowerShell script that would enumerate the fields on a user profile and thought I&#8217;d share it as well as point out some minor hurdles I encountered when I tried to run the script. Its important to note this script is for SharePoint 2010. There&#8217;s been some pretty major changes to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=205&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently had a need for a PowerShell script that would enumerate the fields on a user profile and thought I&#8217;d share it as well as point out some minor hurdles I encountered when I tried to run the script. Its important to note this script is for SharePoint 2010. There&#8217;s been some pretty major changes to the User Profile Service so I don&#8217;t expect this script to work with WSS 3.0 or MOSS 2007.</p>
<p>I recently discovered the magic that is Amazon S3 so you can download the script from <a href="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/userprofilepropertiesenum.ps1">https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/userprofilepropertiesenum.ps1</a> . To use it, its just a matter of specifying the &#8220;-siteaddress&#8221; parameter on the command line like so.</p>
<p><img class="alignnone" title="Command Line Usage" src="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/CommandLine.png" alt="" width="679" height="345" /></p>
<p>Hopefully the next screen you will see is the following. As you can see in the screenshot the script currently just outputs the &#8216;DisplayName&#8217; and &#8216;Name&#8217; of the user profile property.</p>
<p><img class="alignnone" title="Command Line Usage Successful" src="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/CommandLineCorrect.png" alt="" width="682" height="345" /></p>
<p>If you encounter the following error instead then it possibly means that the account you&#8217;re running the command line under doesn&#8217;t have ENOUGH permissions to access the User Profile Service Application. I use the word &#8216;enough&#8217; because like me the first time, you&#8217;re probably thinking that running under a farm administrator account should be enough but there&#8217;s some extra permissions you need to set for your farm administrator account.</p>
<p><img class="alignnone" title="Command Line Failed" src="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/CommandLineError.png" alt="" width="681" height="341" /></p>
<p>First off, go to the &#8216;Manage Service Applications&#8217; page under &#8216;Application Management&#8217;. You first need to select the &#8216;User Profile Service Application&#8217; and then you&#8217;ll have access to the &#8217;Permissions&#8217; tab along the ribbon as shown in the screenshot below.</p>
<p><img class="alignnone" title="User Profile Service Application Ribbon" src="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/UserProfilePermissions.png" alt="" width="789" height="494" /></p>
<p> You will need to make sure that the account you&#8217;re using is granted &#8216;Full Control&#8217; under the &#8217;Permissions&#8217; tab as shown in the screenshot below.</p>
<p><img class="alignnone" title="Permissions Tab" src="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/PermissionsTab.png" alt="" width="513" height="490" /></p>
<p>Hopefully after granting the account &#8216;Full Control&#8217; you should be able to execute the script.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/205/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=205&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/03/11/enumerating-user-profile-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>

		<media:content url="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/CommandLine.png" medium="image">
			<media:title type="html">Command Line Usage</media:title>
		</media:content>

		<media:content url="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/CommandLineCorrect.png" medium="image">
			<media:title type="html">Command Line Usage Successful</media:title>
		</media:content>

		<media:content url="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/CommandLineError.png" medium="image">
			<media:title type="html">Command Line Failed</media:title>
		</media:content>

		<media:content url="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/UserProfilePermissions.png" medium="image">
			<media:title type="html">User Profile Service Application Ribbon</media:title>
		</media:content>

		<media:content url="https://s3.amazonaws.com/mymemorysucks.com/userprofilepropertiesenum/PermissionsTab.png" medium="image">
			<media:title type="html">Permissions Tab</media:title>
		</media:content>
	</item>
		<item>
		<title>Follow-up on &#8216;Can&#8217;t Find .NET Framework Class Methods&#8217;</title>
		<link>http://mymemorysucks.wordpress.com/2011/01/14/follow-up-on-cant-find-net-framework-class-methods/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/01/14/follow-up-on-cant-find-net-framework-class-methods/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 04:20:13 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=193</guid>
		<description><![CDATA[Ok so after figuring out why the PowerShell ISE wasn&#8217;t loading the appropriate .NET Framework I added the registry key to enforce that .NET Framework v4.0 always loaded &#8211; bad idea. When you do this it means that the .NET Framework v4.0 will be loaded instead of the .NET Framework version you selected for that particular Visual Studio project. This results [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=193&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok so after figuring out why the <a href="http://mymemorysucks.wordpress.com/2011/01/09/powershell-ise-cant-find-net-framework-class-methods/">PowerShell ISE wasn&#8217;t loading the appropriate .NET Framework</a> I added the registry key to enforce that .NET Framework v4.0 always loaded &#8211; bad idea. When you do this it means that the .NET Framework v4.0 will be loaded instead of the .NET Framework version you selected for that particular Visual Studio project. This results in a variable array of &#8216;could not be resolved because it has a higher version&#8217;, &#8216;type or namespace could not be found&#8217;, and &#8216;predefined type is defined in multiple assemblies in the global alias&#8217; warnings and errors.</p>
<p>To get yourself back to a usable state, delete the registry keys out. Below are the commands that will let you do this from the commandline.</p>
<p><pre class="brush: powershell;">
reg delete hklm\software\microsoft\.netframework /v OnlyUseLatestCLR
reg delete hklm\software\wow6432node\microsoft\.netframework /v OnlyUseLatestCLR
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/193/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=193&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/01/14/follow-up-on-cant-find-net-framework-class-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>PowerShell ISE Can&#8217;t Find .NET Framework Class Methods</title>
		<link>http://mymemorysucks.wordpress.com/2011/01/09/powershell-ise-cant-find-net-framework-class-methods/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/01/09/powershell-ise-cant-find-net-framework-class-methods/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 20:17:57 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=181</guid>
		<description><![CDATA[So I have started a new love affair with PowerShell and have started developing more and more things using it as it means I don&#8217;t have to bother with the UI, compiling or deployment &#8211; which for SOME situations is perfect. But today I came across an interesting problem while trying to load some .NET [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=181&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I have started a new love affair with PowerShell and have started developing more and more things using it as it means I don&#8217;t have to bother with the UI, compiling or deployment &#8211; which for SOME situations is perfect. But today I came across an interesting problem while trying to load some .NET Framework classes.</p>
<p>I was attempting to call a method on the .NET Framework object I instantiated and found that the Dispose method that was mentioned on MSDN was being reported by PowerShell ISE as &#8220;Method invocation failed because [System.Security.Cryptography.RSACryptoServiceProvider] doesn&#8217;t contain a method named &#8216;Dispose&#8217;&#8221;.</p>
<p>After a bit of scratching my head I decided to look back at version v1.1 of the .NET Framework documentation to see if the Dispose method was present and guess what&#8230; it wasn&#8217;t. I went through the versions and found that it hadn&#8217;t been added till v3.5 of the .NET Framework. So after doing a few quick searches on Google I managed to find out on <a href="http://stackoverflow.com/questions/2094694/launch-powershell-under-net-4">this post</a> that by default the PowerShell ISE is loading an older version of the framework (presumably v2.0/v3.0) and that there are two ways to fix this.</p>
<ol>
<li>Using the following lines, edit the registry so that the .NET Framework loaded <strong>systemwide</strong> will be .NET Framework 4.0. <a href="http://mymemorysucks.wordpress.com/2011/01/14/follow-up-on-cant-find-net-framework-class-methods/"><span style="color:#ff0000;">WARNING: Use with Caution. See here for why</span></a><br />
<pre class="brush: powershell;">
reg add hklm\software\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1 
reg add hklm\software\wow6432node\microsoft\.netframework /v OnlyUseLatestCLR /t REG_DWORD /d 1 
</pre></li>
<li>Adding the following configuration to the &#8216;$psHome\powershell_ise.exe.config&#8217; file. This will load the .NET Framework 4.0 for <strong>only</strong> the PowerShell ISE.<br />
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;configuration&gt;
  &lt;startup&gt;
    &lt;supportedRuntime version=&quot;v4.0.20826&quot; /&gt;
  &lt;/startup&gt;
&lt;/configuration&gt;

</pre></li>
</ol>
<p>Either method will work but personally I just use the registry modification as it saves me the hassle with any future applications.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=181&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/01/09/powershell-ise-cant-find-net-framework-class-methods/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>Invalid Terms in Managed Metadata Field</title>
		<link>http://mymemorysucks.wordpress.com/2011/01/07/invalid-terms-in-managed-metadata-field/</link>
		<comments>http://mymemorysucks.wordpress.com/2011/01/07/invalid-terms-in-managed-metadata-field/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 06:56:13 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=170</guid>
		<description><![CDATA[Recently I came across the problem where the terms inside managed metadata fields in a list become invalid after migrating a site. Even after re-linking the term sets to which the managed metadata fields were assigned, the values for each of the items were invalid. The stupid thing is when I went to edit the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=170&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I came across the problem where the terms inside managed metadata fields in a list become invalid after migrating a site. Even after re-linking the term sets to which the managed metadata fields were assigned, the values for each of the items were invalid. The stupid thing is when I went to edit the field the name would be found straight away in the term store and it was just a matter of clicking on the term again and saving and all would be fine.</p>
<p>After some investigating I found out that the IDs that were being referenced by the items had changed during the migration and thus needed to be updated. Obviously going through 4 columns on over 100+ items wasn&#8217;t going to be productive so I wrote up a powershell script to go through each item, find the appropriate term in the term store and update it with the new ID.</p>
<p>Before you use the script you will also need to go through and reconnect the managed metadata fields to the appropriate term sets. I did try to add this functionality into the script itself but unfortunately it appears as though only the GUIDs are stored inside the field meaning I have no idea which term set to use without having access to the original server. If you run the script in &#8216;test&#8217; mode, it will flag if a field is currently connected to an invalid term set so this will help you narrow down which fields need to be updated.</p>
<p><span style="color:#ff0000;"><strong>Update: I&#8217;ve setup a CodePlex site at <a href="http://sptermstoreutilities.codeplex.com/">http://sptermstoreutilities.codeplex.com/</a> where you can download the following script.</strong></span></p>
<p>Below is the code for the script but I recommend running it in test mode first and making sure that you aren&#8217;t receiving any peculiar errors or exceptions. From the SharePoint 2010 Management Shell, use it as so (by the way, I called my script ReloadTermSets.ps1 so just rename that part to whatever you call the script) -</p>
<p>.\ReloadTermSets.ps1 -web &#8220;http://localhost&#8221; -test -recurse</p>
<p>web &#8211; This is the web address to use.<br />
test &#8211; This uses a &#8216;test&#8217; mode that will output lines detailing found fields and the values found for them in the term store and won&#8217;t save the items.<br />
recurse &#8211; This flag will cause the script to recurse through all child sites.</p>
<p><strong>DISCLAIMER: Use the following script/advice at your own risk! By using/viewing/distributing it you accept responsibility for any loss/corruption of data that may be incurred by said actions. Myself and any contributors to this site accept no liability for any damage that may occur from the use of this information or any advice provided.</strong></p>
<p><pre class="brush: powershell;">

param
(
    [string]$web = &quot;&quot;,
    [switch]$recurse,
    [switch]$test
)

[Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint&quot;)
[Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint.Taxonomy&quot;)

function UpdateTaxonomyFields
{
    param
    (
        [string]$webAddress = &quot;&quot;,
        [switch]$recurse,
        [switch]$test
    )
   
    $web = Get-SPWeb $webAddress
    $taxonomySession = Get-SPTaxonomySession -Site $web.Site
   
    $taxonomyType = [Type]::GetType(&quot;Microsoft.SharePoint.Taxonomy.TaxonomyField, Microsoft.SharePoint.Taxonomy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot;, $true)
   
    foreach ($list in $web.Lists)
    {
        try
        {
            foreach ($field in $list.Fields)
            {
                $query = New-Object Microsoft.SharePoint.SPQuery
                $listItems = $list.GetItems($query)
               
                if ($field.GetType() -eq $taxonomyType)
                {
                    Write-Host &quot;Entering List '&quot;, $list.Title, &quot;' Located At:&quot;, $list.DefaultViewUrl, &quot;On Field:&quot;, $field.Title
                   
                    if (-not $field.IsTermSetValid)
                    {
                        Write-Host &quot;Current Term Set Invalid:&quot;, $field.TermSetId, &quot; Field Name:&quot;, $field.Title
                    }
                   
                    foreach ($item in $listItems)
                    {
                        $currentTerms = $item[$field]
                       
                        if (-not [string]::IsNullOrEmpty($currentTerms))
                        {
                            $newTerms = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection $field
                           
                            if ($test)
                            {
                                Write-Host &quot;Term Replacement Starting&quot;
                            }
                           
                            foreach ($term in $currentTerms)
                            {
                                Write-Host $term
                                $fullTermLabel = $term.Label
                               
                                $lastIndexOfTermSeparator = $fullTermLabel.LastIndexOf(&quot;:&quot;)
                                $termLabel = $fullTermLabel.Substring($lastIndexOfTermSeparator + 1)
                               
                                $existingTerms = $taxonomySession.GetTerms($termLabel, $false)
                               
                                if ($existingTerms.Count -gt 1)
                                {
                                    if ($test)
                                    {
                                        Write-Host &quot;Found Terms&quot;
                                    }
                                   
                                    $termIsFound = $false
                                   
                                    $matchedTerm = &quot;&quot;
                                   
                                    foreach ($foundTerm in $existingTerms)
                                    {
                                        $foundTermPath = $foundTerm.GetPath().Replace(&quot;;&quot;, &quot;:&quot;)
                                       
                                        if ($foundTermPath -eq $fullTermLabel)
                                        {
                                            Write-Host &quot;Matching Term Found Found Term:&quot;, $foundTermPath, &quot;Full Term:&quot;, $fullTermLabel
                                            $termIsFound = $true
                                            $matchedTerm = $foundTerm
                                        }
                                    }
                                   
                                    if (-not $termIsFound -and $test)
                                    {
                                        Write-Host &quot;No exact term found&quot;
                                    }
                                    elseif ($termIsFound)
                                    {
                                        Write-Host &quot;Replacing Term:&quot;, $fullTermLabel, &quot;New Term:&quot;, $matchedTerm.GetPath()
                                        $termValueAsString = &quot;-1&quot; + &quot;;#&quot; + $matchedTerm.GetPath() + [Microsoft.SharePoint.Taxonomy.TaxonomyField]::TaxonomyGuidLabelDelimiter + $matchedTerm.Id.ToString()
                                        Write-Host $termValueAsString
                                        $termValue = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValue $termValueAsString
                                        $newTerms.Add($termValue)
                                    }
                                   
                                    if ($test)
                                    {
                                        Write-Host &quot;End of Found Terms&quot;
                                    }
                                }
                                elseif ($existingTerms.Count -le 0)
                                {
                                    Write-Host &quot;Term For Item '&quot;, $item.Id, &quot;' At List '&quot;, $list.Title, &quot;' Located At&quot;, $list.DefaultViewUrl, &quot;Has No Matching Term&quot;
                                }
                                else
                                {
                                    if ($test)
                                    {
                                        try
                                        {
                                            Write-Host &quot;    Old Term:&quot;, $term.Label, &quot;New Term:&quot;, $existingTerms[0].GetPath()
                                        }
                                        catch
                                        {
                                            Write-Host &quot;Error Occurred Full Term Label:&quot;, $fullTermLabel, &quot;| Term Label:&quot;, $termLabel, &quot;| Found Terms Count:&quot;, $existingTerms.Count
                                        }
                                    }
                                    else
                                    {
                                        Write-Host &quot;Replacing Term:&quot;, $fullTermLabel, &quot;New Term:&quot;, $existingTerms[0].GetPath()
                                        $termValueAsString = &quot;-1&quot; + &quot;;#&quot; + $existingTerms[0].GetPath() + [Microsoft.SharePoint.Taxonomy.TaxonomyField]::TaxonomyGuidLabelDelimiter + $existingTerms[0].Id.ToString()
                                        Write-Host $termValueAsString
                                        $termValue = New-Object Microsoft.SharePoint.Taxonomy.TaxonomyFieldValue $termValueAsString
                                        $newTerms.Add($termValue)
                                    }
                                }
                            }
                           
                            try
                            {
                                if ($test)
                                {
                                    Write-Host &quot;Term Replacement Finished&quot;
                                }
                                else
                                {
                                    if ($field.AllowMultipleValues)
                                    {
                                        $field.SetFieldValue($item, $newTerms)
                                        $item.Update()
                                    }
                                    elseif ($newTerms.Count -gt 0)
                                    {
                                        $field.SetFieldValue($item, $newTerms[0])
                                        $item.Update()
                                    }
                                }
                            }
                            catch [System.Management.Automation.ExtendedTypeSystemException]
                            {
                                Write-Host $_.Exception.ToString()
                            }
                        }
                        else
                        {
                            Write-Host &quot;Item Is Empty:&quot;, $item.Id, $item.Title
                        }
                    }
                }
            }
        }
        catch [System.Management.Automation.ExtendedTypeSystemException]
        {
            Write-Host $_.Exception.ToString()
        }
    }
   
    if ($recurse)
    {
        foreach ($childWeb in $web.Webs)
        {
            if ($test)
            {
                Write-Host &quot;Child Web:&quot;, $childWeb.Url
            }
           
            UpdateTaxonomyFields -webAddress $childWeb.Url -test:$test -recurse:$recurse
        }
    }
}

UpdateTaxonomyFields -webAddress $web -test:$test -recurse:$recurse

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=170&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2011/01/07/invalid-terms-in-managed-metadata-field/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>Mixing MOSS 2007 x86 and x64 in a Farm</title>
		<link>http://mymemorysucks.wordpress.com/2010/11/01/mixing-moss-2007-x86-and-x64-in-a-farm/</link>
		<comments>http://mymemorysucks.wordpress.com/2010/11/01/mixing-moss-2007-x86-and-x64-in-a-farm/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 18:35:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[WSS 3.0]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=163</guid>
		<description><![CDATA[The question arose today for me whether you can add an x64 SharePoint MOSS 2007 to an x86 SharePoint MOSS 2007 farm and the short answer is yes you can. I imagine that as this situation works you can also add an x64 SharePoint WSS 3.0 server to an x86 SharePoint WSS 3.0 farm as MOSS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=163&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The question arose today for me whether you can add an x64 SharePoint MOSS 2007 to an x86 SharePoint MOSS 2007 farm and the short answer is yes you can. I imagine that as this situation works you can also add an x64 SharePoint WSS 3.0 server to an x86 SharePoint WSS 3.0 farm as MOSS is built off the WSS 3.0 code base anyway.</p>
<p>I can&#8217;t seem to find anything online that says you shouldn&#8217;t although if anyone can enlighten the best practices on whether to do it or not, I&#8217;d very much like to hear the reasoning.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=163&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2010/11/01/mixing-moss-2007-x86-and-x64-in-a-farm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Management Studio Problem Connecting to WSS 3.0 Database</title>
		<link>http://mymemorysucks.wordpress.com/2010/10/19/sql-management-studio-problem-connecting-to-wss-3-0-database/</link>
		<comments>http://mymemorysucks.wordpress.com/2010/10/19/sql-management-studio-problem-connecting-to-wss-3-0-database/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 08:34:04 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://mymemorysucks.wordpress.com/?p=159</guid>
		<description><![CDATA[Today I came across the following error (which I have encountered many a time previously) but I totally forgot how I resolved it the last time. I hit the error most typically when I&#8217;m accessing a WSS 3.0 deployment using the Windows Internal Database. I&#8217;ve also encountered it when I access some SQL Server deployments. I feel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=159&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I came across the following error (which I have encountered many a time previously) but I totally forgot how I resolved it the last time. I hit the error most typically when I&#8217;m accessing a WSS 3.0 deployment using the Windows Internal Database. I&#8217;ve also encountered it when I access some SQL Server deployments.</p>
<p><pre class="brush: plain;">A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server)</pre></p>
<p>I feel absolutely stupid for continuously hitting this same issue and forgetting how I resolved it previously so I&#8217;ve decided to write a quick blog post on steps to follow next time it happens (this assumes I remember that I blogged about the issue).</p>
<ol>
<li>If its a local Windows Internal Database you&#8217;re accessing, make sure you&#8217;re accessing the right address. So many times I&#8217;ve assumed the address is going to be localhost/MICROSOFT##SSEE when in fact the address you need to be accessing is <a href="//\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query">\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query</a>. This has tripped me up so many times its embarrassing.</li>
<li>If you&#8217;re absolutely sure you got the right address, check TCP/IP and Named Pipes have been enabled for the SQL Server instance. You can do this by doing the following steps on the machine hosting the SQL Server instance.
<ol>
<li>Go to the <strong>Start Menu</strong> -&gt; <strong>All Programs</strong> -&gt; <strong>Microsoft SQL Server 2005/2008</strong> -&gt; <strong>Configuration Tools</strong> -&gt; <strong>SQL Server Configuration Manager</strong>.</li>
<li>Once the Sql Server Configuration Manager has loaded, check under <strong>SQL Native Client 10.0 Configuration (32bit)</strong> -&gt; <strong>Client Protocols</strong> and <strong>SQL Native Client 10.0 Configuration</strong> -&gt; <strong>Client Protocols</strong> that TCP/IP and Named Pipes are both enabled.</li>
<li>Check the protocols allowed, for the instance you wish to access, under the <strong>SQL Server Network Configuration</strong> section. Again make sure that TCP/IP and Named Pipes are enabled.</li>
<li>You will need to restart the SQL Server instance if you&#8217;ve had to make any of the changes above.</li>
</ol>
</li>
</ol>
<p>These two steps are usually the only steps I need to perform before I realise whats wrong. I&#8217;ll add more steps if I come across any other things that trip me up in the future or if anyone else has any to contribute.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mymemorysucks.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mymemorysucks.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mymemorysucks.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mymemorysucks.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mymemorysucks.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mymemorysucks.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mymemorysucks.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mymemorysucks.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mymemorysucks.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mymemorysucks.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mymemorysucks.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mymemorysucks.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mymemorysucks.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mymemorysucks.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mymemorysucks.wordpress.com&amp;blog=1323667&amp;post=159&amp;subd=mymemorysucks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mymemorysucks.wordpress.com/2010/10/19/sql-management-studio-problem-connecting-to-wss-3-0-database/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/78d30d57632b07f0382f74f87b00385f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Chris</media:title>
		</media:content>
	</item>
	</channel>
</rss>
