﻿<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="http://www.bluedoglimited.com/SharePointThoughts/_wpresources/BluedogLimited.WebParts.Syndication/2.0.0.0__94f7066d43ae7eb6/PageView.xsl"?><rss version="2.0"><channel SG:aggregatedData="False" xmlns:SG="BluedogLimited:SyndicationGenerator"><title>SharePoint Thoughts - Maurice Prather [MCM, MVP]</title><description>A blog centered on the SharePoint platform</description><link>http://www.bluedoglimited.com/SharePointThoughts</link><image><title>SharePoint Thoughts - Maurice Prather [MCM, MVP]</title><url>http://www.bluedoglimited.com/_wpresources/BluedogLimited.WebParts.Syndication/2.0.0.0__94f7066d43ae7eb6/sg32_v2.png</url><link>http://www.bluedoglimited.com/SharePointThoughts</link></image><language>en-US</language><copyright>Copyright © 2004-2011 BluedogLimited.com.  All rights reserved.</copyright><pubDate>Sat, 25 May 2013 22:17:01 GMT</pubDate><lastBuildDate>Fri, 12 Apr 2013 19:37:46 GMT</lastBuildDate><docs>http://backend.userland.com/rss</docs><category>Posts</category><generator>Syndication Generator for Windows® SharePoint® Services v2.0.0.12</generator><ttl>60</ttl><item><title>Evolutions Conference: SharePoint &amp; Netduino</title><description>&lt;div class="ExternalClass3DA879095008486D9F6E3D02F51E332B"&gt;&lt;a href="http://www.sharepointevolutionconference.com/" target="_blank"&gt;&lt;img style="border-top:0px;border-right:0px;border-bottom:0px;float:right;margin:2px 6px 2px 24px;border-left:0px;display:inline" align="right" src="http://okeansolutions.blob.core.windows.net/media/blog/events/evolutions2013/speaker_web_banner.png" /&gt;&lt;/a&gt;   &lt;p&gt;Over here in the skunk works division of our company... we've been busy the past few months working on some prototypes that will allow us to integrate physical data with the usefulness of SharePoint.&lt;/p&gt;  &lt;p&gt;We're unveiling a portion of our efforts at the &lt;a href="http://www.sharepointevolutionconference.com/" target="_blank"&gt;SharePoint Evolutions Conference 2013&lt;/a&gt; in London next week.  You've heard me say this before - this conference rocks. I love this conference for many reasons but the one reason that sticks out in my mind is the simple fact that I spend a lot time creating new content. This year was no different! The fact we got to use soldering irons to put a demo together made this the most exciting presentation build... :)&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;If you are attending the conference next week, swing by my session and check out the evolution of business data collection and management... &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Title&lt;/strong&gt;: Remote monitoring with SharePoint 2013 and making it smart!&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Session&lt;/strong&gt;: &lt;a href="http://www.sharepointevolutionconference.com/abstracts.html#com710" target="_blank"&gt;COM710&lt;/a&gt; from 1500-1600 in the Rutherford room&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;This should be a fun session with demos, hardware with blinky lights, and hopefully some good discussion!&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;-Maurice&lt;/p&gt;&lt;/div&gt;&lt;hr/&gt;&lt;div style="text-align:center; color: silver;font-size: 65%"&gt;Copyright © 2004-2011 BluedogLimited.com. Licensed under a &lt;a href="http://creativecommons.org/licenses/by-nc-sa/2.5/"&gt;Creative Commons License&lt;/a&gt;.&lt;/div&gt;
    </description><link>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=344</link><comments>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=344#Comments</comments><category>Posts</category><guid isPermaLink="true">http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=344</guid><pubDate>Fri, 12 Apr 2013 19:37:46 GMT</pubDate></item><item><title>How to lose MVP status</title><description>&lt;div class="ExternalClass63DB8889A11E4B1AB50B0F2FFD37DA0E"&gt;&lt;p&gt;First, the title is a tongue in cheek.&lt;/p&gt;  &lt;p&gt;This past fall, I lost the MVP status that I had carried for the past 5 years. As everyone knows, Microsoft’s MVP status is an award bestowed to those that are actively involved in the “community”.  Every year, the team looks at what you’ve done in the past 12 months to figure out if you deserve a marketing award. &lt;/p&gt;  &lt;p&gt;The short answer to the title was that I was busy working. Last year was an absolutely dizzying year. The net result was that I wasn’t an active blogger or speaker. I had a few posts and only 2 speaking engagements. Shame!&lt;/p&gt;  &lt;p&gt;What was I doing? Working on SharePoint and life’s other miscellaneous projects. :)&lt;/p&gt;  &lt;p&gt;Here’s a rough breakdown…&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;SharePoint&lt;/strong&gt; – Aptillon has been moving forward in leaps and bounds. Work was good. Work kept me traveling. By the end of January last year, I had already been in Jersey City, Dallas, Ft. Lauderdale, and Honolulu. 24,000 miles in 1 month. Ok, Ft. Lauderdale was not work related (more on that later). Mileage total for the year? Roughly 160,000 miles here in the US - none of that fancy travel to Europe or Australia or Antarctica.. and that was with me putting the kibosh on travel for nearly 2 months - twice. I reached Delta’s platinum level before most folks even start buckling their seat belts. SharePoint in the cloud? Just pray you don't have a screaming kid next to you. :) &lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Businesses &lt;/strong&gt;– I now own a part of 3 companies. I started out owning 2 and by year’s end, my wife and I started a new venture. Running a single company takes time and effort. Running two takes patience. Running three requires medication! &lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Speaking&lt;/strong&gt; - last year was the quietest year I've had since I first entered the speaking circuit. There were a couple of occasions where I just forgot to send in ideas and applications. Worse yet, I made a huge scheduling mistake when I double booked a conference with a client engagement. We got the project out the door that week, so it was a nice offset to missing the conference in Orlando.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;The Boat&lt;/strong&gt; – Sailing has been a part of my life for quite some time. My big dream in life has been to buy a boat and go around the world. Luckily, the woman I married also shares that dream. We started looking for a boat in late 2011. We entered 2012 with some serious shopping plans (it’s why I was in Ft. Lauderdale in Jan). Well, long story short. We are now the proud owners of a beautiful Catana 472. We found her in San Diego and after a super long story involving an incompetent captain and a company that literally left us (and others) high and dry in Ensenada, she came home to Tacoma in late October.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Tacoma&lt;/strong&gt; – For those not from the Seattle area, Tacoma is roughly 35 miles south of Seattle. I’ve been in Seattle for 17+ years. In that time, I spent all of maybe a half day in Tacoma. It’s never been a destination for me. Either you’re driving through Tacoma on your way to &lt;a href="http://www.youtube.com/show/portlandia"&gt;Portlandia&lt;/a&gt; or taking the long route to the Olympic Peninsula. With the boat moored in Tacoma, we’ve had to learn a new city. I have to say it’s been a lot of fun learning more about the city. It’s got some hidden gems and you can definitely see where they have been trying to revitalize the city and the waterfront.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;The Boat (part 2)&lt;/strong&gt; – With the boat moored in Tacoma, we literally took on a new primary job – boat maintenance. First, we’ve had to figure out everything there is about the boat. Have you ever bought a house or rented an apartment? How much time do you spend thinking about &lt;em&gt;how&lt;/em&gt; things work in house? Probably next to nothing. You figure out where the light switches are located and then you move in. Boats, especially the larger they get, are complex machines. You need to know where the switches are… what is connected to them (outlets)... what they are connected to (breakers)... what are the emergency shutoff points...  what parts are needed in case something breaks... etc.. etc... now rinse and repeat for water - all three types, fuel, etc... in a nutshell, understanding what we have and identifying all the things that need to be fixed (especially after a 1300 nm voyage up the West Coast) has been daunting.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;MCSM&lt;/strong&gt; - even though I lost my MVP status, thankfully I didn't lose my Masters certification! To be honest, I am still having problems typing MCSM (Microsoft Certified Solutions Master) rather than MCM. You might have noticed my earlier post on how the certification &lt;a href="http://blog.aptillon.com/2012/12/22/reviewing-the-msft-certification-overhaul/"&gt;program is changing&lt;/a&gt; things around. Not only was I excited to see these improvements make their way into production, but toward the end of year I also had a chance to work with the Masters certification team again.  It was fun getting back into the frame of mind of building detailed courseware. My teammates David and Matt also helped out as we put together four different modules for the Masters program. Then I had to do double duty in late December as a student for the first rotation in the updated format.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Somewhere in there... we had family come visit twice, we hopped on planes to visit them as few times as well. Oh yeah - I even had my tonsils taken out some time in April. That was a fun drug trip that did not involve planes at all. :P&lt;/p&gt;  &lt;p&gt;Pretty much 2012 was a whirlwind. SharePoint 24/7/365 + a boat ... and a lot of planes. &lt;/p&gt;  &lt;p&gt;My pledge to the long time readers of this blog ... I'll actually reserve some time this year to share more stories about SharePoint and how to make it do more for us. I might even throw a few boat stories... &lt;/p&gt;  &lt;p&gt;Have fun!&lt;/p&gt;  &lt;p&gt;-Maurice&lt;/p&gt;&lt;/div&gt;&lt;hr/&gt;&lt;div style="text-align:center; color: silver;font-size: 65%"&gt;Copyright © 2004-2011 BluedogLimited.com. Licensed under a &lt;a href="http://creativecommons.org/licenses/by-nc-sa/2.5/"&gt;Creative Commons License&lt;/a&gt;.&lt;/div&gt;
    </description><link>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=343</link><comments>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=343#Comments</comments><category>Posts</category><guid isPermaLink="true">http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=343</guid><pubDate>Wed, 13 Feb 2013 04:51:26 GMT</pubDate></item><item><title>Reviewing the MSFT certification overhaul</title><description>&lt;div class="ExternalClass7464C99AD6D74307A44D253352DEE102"&gt;&lt;p&gt;Certifications. Need it? Want it? Worth it? &lt;/p&gt;  &lt;p&gt;Those are common questions that I hear from customers and the folks on the front line. The answer in the past was often times buried in the intricacies of perceived value but for a lot of folks it comes down to the simple process of evaluating talent. Either you’re selling talent or your trying to acquire talent. Certifications are intended to provide a measurement stick.  It’s like looking at a resume and figuring out if the applicant can even spell Sharepoint.&lt;/p&gt;  &lt;p&gt;In the SharePoint space, though, the standard certifications have traditionally been too easy to obtain and thus the Worth portion of the equation was often times devalued due to the ease.  Microsoft has realized that they needed to put the certify back into the certification process. Today, we’ll discuss the changes that have been made to Microsoft’s certification stack. Your answers to Need, Want, Worth will might change. Hopefully, you’ll start to see the promise of the new system.&lt;/p&gt;  &lt;p&gt;But first, let’s take a look back in time… Starting with the 2003 SharePoint certifications, and all the way through 2010, the “core” certifications for SharePoint always involved tests that centered on admin and developer topics. Then those topics were split into a “beginner” and “advanced” sections. The model was built around an arguably sound reasoning: some people are less experienced and then grow their talents. However, there was a key problem with those tests – they really didn’t measure your ability. They measured your capability to take a test.  In a nutshell, the tests didn’t validate your knowledge or experience.  Put differently - If administrators walk into a developer test, having never written a single line of code, and pass the test… is that a good developer test?  &lt;/p&gt;  &lt;p&gt;Unfortunately, this gap between theoretical and actual validation caused a lot of problems. If it was too easy to get a certification, then folks that relied on certifications to measure experience were basically up the creek. &lt;/p&gt;  &lt;p&gt;Knowing there was a serious problem in this space, Microsoft introduced the Master’s level certification for SharePoint in early 2009. The Master’s certification was designed to validate a candidate as having actually used the product in real-life scenarios in addition to having completed very rigorous training and testing regimen. It was designed to be tough – you had complete all the underlying SharePoint exams for both admin and dev (ok, that part was easy), then submit a resume outlining your body of work in the SharePoint space, then if selected you would have to navigate a phone interview before final acceptance into the program, take a 3 week course, and cap it all off by taking a hands-on qualifying lab and written test. The Master’s program was without a doubt the hardest certification to obtain. The Master’s program was designed to provide the market place with proven experts within SharePoint.&lt;/p&gt;  &lt;p&gt;However, there was still one core problem… the program when looked at as a whole was imbalanced. The underlying exams were too easy and the Master’s program, being the next jump up, was too almost too deep for most people. There was no in between. We needed an in-between. It was like going from grade school to graduate school in one leap. The changed introduced by Microsoft in the last half of 2012 have been designed to update the process. We know have a defined path of increasing difficulty that is better tied to the components of the platform *and* allows candidates to grow their experience at their pace.&lt;/p&gt;  &lt;p&gt;We now have the opportunity from grade school to high school to undergrad and beyond. First, let’s take a look at what it takes to become the Certified Solutions Master. The program requirements are available at &lt;a href="http://www.microsoft.com/learning/en/us/mcsm-sharepoint-certification.aspx"&gt;http://www.microsoft.com/learning/en/us/mcsm-sharepoint-certification.aspx&lt;/a&gt;. Digging deeper we find that administrator and developer certifications are truly geared toward testing your knowledge of the technologies (see also &lt;a href="http://www.microsoft.com/learning/en/us/certification-overview.aspx"&gt;http://www.microsoft.com/learning/en/us/certification-overview.aspx&lt;/a&gt;).&lt;/p&gt;  &lt;p&gt;A quick read reveals a few key changes:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;SharePoint certification is no longer focused solely on SharePoint&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;I love to tell folks that SharePoint is an ecosystem. If you treat as an application, you’ll fail. SharePoint has many components, all of which have different characteristics. Certification should be no different. Both the administrator and developer tracks now incorporate facets that live outside of SharePoint. This makes a ton of sense. I can’t be an administrator of a SharePoint farm without understanding the operating system, active directory, etc. and likewise, I can’t be a good developer without understanding other common development technologies and techniques that live outside of SharePoint.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Commonalities make it easier to grow and cultivate your experience&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;SharePoint certification now relies on tests that are validated, refined, and used by other segments of the technology stack. Think about this way, do you want SharePoint testing you on how to be server administrator or would you rather have the Windows team test you? Also, by leveraging the courseware in other technologies, a candidate has the opportunity to spend time in other areas without worrying about digging themselves into a hole. &lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Courseware improvements reestablish the value of certification&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;From the Master’s perspective, because the course is now spread out across the different segments of the platform, the SharePoint certification team can focus on teaching rather than trying to go through a laborious process involving interviews and resumes. The MCSM certification pre-requisites ensure the candidates actually fit the bill of a Master’s candidate.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Keep on learning&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;Digging deeper into the certification changes, you’ll also find that certifications are no longer static. This means that certifications will expire unless you go back and recertify. At first, I didn’t like this idea because it felt like a forced learning process. However, it makes sense. Technologies change and the platforms are ever evolving. The tests themselves will change. This is brilliant as complex platforms such as SharePoint will be incorporate field experience and other improvements into the tests. As SharePoint grows, the test will improve and the *next* time you have to take a SharePoint exam, the student will be able to validate new skillsets. Put differently – if you want to keep the shiny little badge of honor on your resume, you should be up to speed on the product and technology space.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;It’s worth noting the developer track hasn’t been fully announced but if initial talks are any indication, you will find that the developer courses will be heavily influenced by content from existing developer courses in other areas. Again, the concept is leverage knowledge as much as possible.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;In general, the retooling of Microsoft’s certification process is a welcomed change. Need it, Want it, and Worth it? As you grow with SharePoint, I think the answer takes on a vastly different outlook than it did in the past. The courseware is more extensive and tests are shaping up to be much better than in the past. We’re no longer jumping from grade school over to doctoral work – there’s a middle ground and you get to figure out how to best tailor that experience for yourself. &lt;/p&gt;  &lt;p&gt;-Maurice&lt;/p&gt;&lt;/div&gt;&lt;hr/&gt;&lt;div style="text-align:center; color: silver;font-size: 65%"&gt;Copyright © 2004-2011 BluedogLimited.com. Licensed under a &lt;a href="http://creativecommons.org/licenses/by-nc-sa/2.5/"&gt;Creative Commons License&lt;/a&gt;.&lt;/div&gt;
    </description><link>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=342</link><comments>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=342#Comments</comments><category>Posts</category><guid isPermaLink="true">http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=342</guid><pubDate>Fri, 11 Jan 2013 17:49:20 GMT</pubDate></item><item><title>Be sure to specify a category ID for a custom SPDiagnosticsCategory</title><description>&lt;div class="ExternalClass1B2FD7000A2E4F2DA2B4A62697DB8675"&gt;&lt;p&gt;Every once and while you run into a silly bug that actually takes you a long time to figure out.  Some time ago I ran into a problem with a custom SPDiagnosticServiceBase class that only surfaced via PowerShell.  &lt;/p&gt;  &lt;h2 class="ms-rteElement-H2B"&gt;Let’s take a closer look at the problem...&lt;/h2&gt;  &lt;p&gt;&lt;a href="/SharePointThoughts/Lists/Posts/Attachments/341/image_4_79D9EC89.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:12px;padding-left:0px;padding-right:0px;display:inline;float:right;border-top:0px;border-right:0px;padding-top:0px" title="image" border="0" alt="image" align="right" src="/SharePointThoughts/Lists/Posts/Attachments/341/image_thumb_1_79D9EC89.png" width="163" height="157" /&gt;&lt;/a&gt;First, we start out by creating a custom diagnostic logging class that contains multiple categories.  When it’s properly deployed, we’d see custom area (&amp;quot;Test Area&amp;quot;) and all of the categories in Central Admin.  Through the Diagnostic Logging page, you’d find you can change the throttle limits like any other out of box category.&lt;/p&gt;  &lt;p&gt;Now, let’s open up a PowerShell console and try to change one of the categories using &lt;a href="http://technet.microsoft.com/en-us/library/ff607887.aspx" target="_blank"&gt;Set-SPLogLevel&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;This commandlet allows you to specify the area and category using a very simple Area:Category format.  In a simpler fashion, if you specify a string with no colon, the value you provide is treated as a category. &lt;/p&gt;  &lt;p&gt;In the next screenshot, you can see that I am trying to set the TraceSeverity to Verbose for category &amp;quot;dddd&amp;quot;.  Note the error that is returned!&lt;/p&gt;  &lt;p&gt;&lt;a href="/SharePointThoughts/Lists/Posts/Attachments/341/image_6_79D9EC89.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:12px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top:0px;border-right:0px;padding-top:0px" title="image" border="0" alt="image" src="/SharePointThoughts/Lists/Posts/Attachments/341/image_thumb_2_79D9EC89.png" width="501" height="46" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Huh?! Didn’t I just see that category in Central Admin?  How about if I try the more generic Area:Category format with a wildcard? Same result!&lt;/p&gt;  &lt;p&gt;I shot an email off to my teammate Gary Lapointe, who knows all things PowerShell, and a group of SharePoint Masters.  No luck.  No one apparently has seen this problem. This was going to be just one of those days...&lt;/p&gt;  &lt;p&gt;The biggest clue popped out when I tried using the most generic form of Set-SPLogLevel.  If you don’t specify an Identity parameter (for example: &amp;quot;Set-SPLogLevel -TraceSeverity Verbose&amp;quot;), Set-SPLogLevel sets the provided value to all categories.  However, for our custom diagnostic class, what do you see? &lt;/p&gt;  &lt;p&gt;&lt;a href="/SharePointThoughts/Lists/Posts/Attachments/341/image_14_79D9EC89.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:12px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top:0px;border-right:0px;padding-top:0px" title="image" border="0" alt="image" src="/SharePointThoughts/Lists/Posts/Attachments/341/image_thumb_6_64E86A16.png" width="645" height="216" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;SP was seriously getting confused.  Three problems jumped out: Trace Severity was set to the wrong value (&lt;em&gt;None&lt;/em&gt; instead of &lt;em&gt;Verbose&lt;/em&gt;), Event Severity was improperly changed to &amp;quot;Error&amp;quot;, and finally only the first category was updated.&lt;/p&gt;  &lt;p&gt;To make a long debugging story short, I finally was able to isolate and fix the problem! &lt;/p&gt;  &lt;h2 class="ms-rteElement-H2B"&gt;Core problem:&lt;/h2&gt;  &lt;p&gt;My problems all arose from how I initialized the categories themselves.  If you call the simplest constructor (as I did and most likely a lot of other folks!), your code would look like ...&lt;/p&gt;  &lt;p&gt;&lt;a href="/SharePointThoughts/Lists/Posts/Attachments/341/image_12_64E86A16.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:block;float:none;margin-left:auto;border-top:0px;margin-right:auto;border-right:0px;padding-top:0px" title="image" border="0" alt="image" src="/SharePointThoughts/Lists/Posts/Attachments/341/image_thumb_3_64E86A16.png" width="582" height="74" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;The real tricky part to isolating the problem is that you need to set the log levels via PowerShell first.  If you set the log level via Central Admin, the problem is mostly hidden. &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;h2 class="ms-rteElement-H2B"&gt;The fix:&lt;/h2&gt;  &lt;p&gt;Use the SPDiagnosticsCategory constructor that takes &lt;a href="http://msdn.microsoft.com/en-us/library/ee561995.aspx" target="_blank"&gt;four parameters&lt;/a&gt;.  &lt;/p&gt;  &lt;p&gt;In particular, specify a value for the category id.  The updated initialization block looks like...&lt;/p&gt;  &lt;blockquote&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="/SharePointThoughts/Lists/Posts/Attachments/341/image_16_64E86A16.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:block;float:none;margin-left:auto;border-top:0px;margin-right:auto;border-right:0px;padding-top:0px" title="image" border="0" alt="image" src="/SharePointThoughts/Lists/Posts/Attachments/341/image_thumb_5_64E86A16.png" width="576" height="95" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;In my example, the id value is coming from an enum that is used for categorization of the items written to the diagnostic service.  This could have easily been as simple as an incrementing counter (0, 1, 2, etc). &lt;/p&gt;  &lt;p&gt;Be sure to start the value sequence at 0.  I eventually found that if you want to start your ID values at something other than 0, you’ll eventually run into the same problem.&lt;/p&gt;  &lt;p&gt;With the SPDiagnosticCategory initialized in this fashion, setting the log levels via PowerShell will work as expected.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Log away!&lt;/p&gt;  &lt;p&gt;-Maurice&lt;/p&gt;&lt;/div&gt;&lt;hr/&gt;&lt;div style="text-align:center; color: silver;font-size: 65%"&gt;Copyright © 2004-2011 BluedogLimited.com. Licensed under a &lt;a href="http://creativecommons.org/licenses/by-nc-sa/2.5/"&gt;Creative Commons License&lt;/a&gt;.&lt;/div&gt;
    </description><link>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=341</link><comments>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=341#Comments</comments><category>Posts</category><guid isPermaLink="true">http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=341</guid><pubDate>Tue, 14 Aug 2012 03:21:26 GMT</pubDate></item><item><title>Using PowerShell to create new sites based on site-scoped WebTemplates</title><description>&lt;div class="ExternalClass5BB8B3B13886407290A2E1B052B8C287"&gt;&lt;p&gt;WebTemplates are definitely a powerful new construct in our SharePoint 2010 toolbox.  WebTemplates definitely come in handy as they can be deployed as sandbox-compatible features.&lt;/p&gt;
&lt;p&gt;Creating a site based on a web template is pretty straightforward via the UI. Basically it just shows up as another site template option. As a user creating a site, you’d never the know the difference between a farm-scoped or site-scoped WebTemplate. However, if you want to use PowerShell, you will notice that your PS scripts will take on a slightly different shape based on how the WebTemplate is scoped.&lt;/p&gt;
&lt;p&gt;If the WebTemplate is deployed as a farm-scoped feature, then you can easily use &lt;a href="http://technet.microsoft.com/en-us/library/ff607579.aspx" target="_blank"&gt;New-SPWeb&lt;/a&gt; in the following manner:&lt;/p&gt;
&lt;div class="ms-rteElement-CodeSample"&gt;new-spweb $url –template “{GUID}#WebTemplateName”&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;where GUID represents the parent feature ID. &lt;/p&gt;
&lt;p&gt;If the WebTemplate is deployed as a site-scoped feature, then your PowerShell needs to be adjusted.  Otherwise, if you attempt to use new-spweb, you’ll get the following error message: Template is not found and is not applied.  This effectively means the cmdlet could not locate a farm-level template to apply to the new site.&lt;/p&gt;
&lt;p&gt;For example...&lt;/p&gt;
&lt;p&gt;&lt;a href="/SharePointThoughts/Lists/Posts/Attachments/340/image_4_3458E128.png"&gt;&lt;img width="644" height="165" title="image" alt="image" src="/SharePointThoughts/Lists/Posts/Attachments/340/image_thumb_1_3458E128.png" border="0" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:block;float:none;margin-left:auto;border-top:0px;margin-right:auto;border-right:0px;padding-top:0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;There are two ways to circumvent this problem:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Once the site is created, call ApplyWebTemplate &lt;/li&gt;
&lt;li&gt;Before the site created, grab a reference to the appropriate WebTemplate and provide it as a value to the &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spwebcollection.add.aspx" target="_blank"&gt;SPWebCollection.Add&lt;/a&gt; method on the parent site.&lt;/li&gt;&lt;/ol&gt;
&lt;h2 class="ms-rteElement-H2B"&gt;Examples&lt;/h2&gt;
&lt;p&gt;Calling ApplyWebTemplate &lt;/p&gt;
&lt;div class="ms-rteElement-CodeSample"&gt;&lt;p&gt;$url = &amp;quot;http://sitecollection/site1&amp;quot;&lt;/p&gt;
&lt;p&gt;$w = new-spweb $url&lt;/p&gt;
&lt;p&gt;$w.ApplyWebTemplate(&amp;quot;{GUID}#WebTemplateName&amp;quot;)&lt;/p&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Calling SPWebCollection.Add &lt;/p&gt;
&lt;div class="ms-rteElement-CodeSample"&gt;&lt;p&gt;$url = &amp;quot;http://sitecollection&amp;quot;&lt;/p&gt;
&lt;p&gt;$w = get-spweb $url &lt;/p&gt;
&lt;p&gt;$template = $w.GetAvailableWebTemplates(1033) | ? { $_.name -eq &amp;quot;{GUID}#WebTemplateName&amp;quot; }&lt;/p&gt;
&lt;p&gt;$w.Webs.Add(&amp;quot;site1&amp;quot;, &amp;quot;sample site 1&amp;quot;, &amp;quot;sample description&amp;quot;, 1033, $template, $false, $false)&lt;/p&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The difference between the two methods basically boils down to the language selection for the new site. With the simple call to ApplyWebTemplate, the new site uses the same language as the parent. By grabbing the reference to the web template beforehand, you have more control.&lt;/p&gt;
&lt;p&gt;-Maurice&lt;/p&gt;&lt;/div&gt;&lt;hr/&gt;&lt;div style="text-align:center; color: silver;font-size: 65%"&gt;Copyright © 2004-2011 BluedogLimited.com. Licensed under a &lt;a href="http://creativecommons.org/licenses/by-nc-sa/2.5/"&gt;Creative Commons License&lt;/a&gt;.&lt;/div&gt;
    </description><link>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=340</link><comments>http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=340#Comments</comments><category>Posts</category><guid isPermaLink="true">http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/ViewPost.aspx?ID=340</guid><pubDate>Tue, 11 Oct 2011 04:32:00 GMT</pubDate></item><SG:syndicationAddress>http://www.bluedoglimited.com/SharePointThoughts/rss.aspx?Channel=SharePointThoughts</SG:syndicationAddress><SG:image>http://www.bluedoglimited.com/SharePointThoughts/_wpresources/BluedogLimited.WebParts.Syndication/2.0.0.0__94f7066d43ae7eb6/sg32_v2.png</SG:image><SG:channelImage>http://www.bluedoglimited.com/_wpresources/BluedogLimited.WebParts.Syndication/2.0.0.0__94f7066d43ae7eb6/sg32_v2.png</SG:channelImage></channel></rss>