<?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/"
	>

<channel>
	<title> &#187; Policy Based Management</title>
	<atom:link href="http://benchmarkitconsulting.com/tag/policy-based-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://benchmarkitconsulting.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 16:34:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>I Want to Speak (Virtually) At YOUR Chapter!</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 12:00:38 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[MADPASS]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[Speaking]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[Virtual Speaker]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1868</guid>
		<description><![CDATA[On December 28th I&#8217;ll be doing a virtual presentation for MADPASS (The Madison SQL Server Users Group) on Doing More With Less&#8230; Policy Based Management Session Abstract: Do more with less&#8230; sound familiar? In this introduction to Policy Based Management presentation we will be going over what Policy Based Management is and how to use [...]]]></description>
			<content:encoded><![CDATA[<p>On December 28th I&#8217;ll be doing a virtual presentation for <a href="http://www.madpass.org/" target="_blank">MADPASS </a>(The Madison SQL Server Users Group) on</p>
<p><img class="alignnone size-large wp-image-1869" title="blog_PBM_Talk" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/10/blog_PBM_Talk-1024x719.jpg" alt="" width="368" height="259" /></p>
<p><strong>Doing More With Less&#8230; Policy Based Management</strong></p>
<p><strong>Session Abstract:</strong></p>
<p>Do more with less&#8230; sound familiar? In this introduction to Policy Based Management presentation we will be going over what Policy Based Management is and how to use Policy Based Management and a Central Management Server to evaluate your daily, weekly, and monthly checklists against your entire SQL Server farm.  We will be reviewing some of the &#8220;out of the box&#8221; policies as well as creating some custom policies that you might be interested in evaluating against your SQL Server farm. Finally we will be taking a quick look at how to tie all of this together with the Enterprise Policy Management Framework (available on codeplex).</p>
<p><img class="alignnone size-full wp-image-1874" title="presentationColin" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/10/presentationColin.jpg" alt="" width="300" height="204" /></p>
<p>I would love to do this (or another) presentation topic for YOUR PASS Chapter as well&#8230; so if you&#8217;re a chapter leader or a chapter member who is interested in this (or a different) session topic and are willing to do a remote session please let me know and we&#8217;ll work on scheduling a date.  I can do either a 30 minute &#8220;Short Presentation&#8221; or a 60 minute &#8220;Feature Presentation&#8221;</p>
<p>Thanks!</p>
<p>If you&#8217;d like to chat with me about this or anything else (SQL or other) please leave a comment or hit me up on my Twitter: <a href="http://twitter.com/ColinStasiuk" target="_blank">@ColinStasiuk</a></p>
<p><a href="http://benchmarkitconsulting.com/" target="_blank"><img title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%21+http://tinyurl.com/4xv36x3" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/&amp;title=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%21" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/&amp;title=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%21" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/&amp;title=I+Want+to+Speak+%28Virtually%29+At+YOUR+Chapter%21" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2011/10/20/i-want-to-speak-virtually-at-your-chapter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jobs Jobs Jobs</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2011/04/07/jobs-jobs-jobs/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2011/04/07/jobs-jobs-jobs/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 17:18:18 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Job Notification]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL Agent]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1686</guid>
		<description><![CDATA[If a job fails in production and nobody is there to see it, does it get noticed? Deep huh? Well if the job actually does something important of course it will get noticed.  So the bigger question is: What can you do to make sure that YOU know about it before anyone else does?  Cause [...]]]></description>
			<content:encoded><![CDATA[<p>If a job fails in production and nobody is there to see it, does it get noticed?</p>
<p><img class="alignnone size-full wp-image-1687" title="deep" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/04/deep.jpg" alt="" width="294" height="220" /></p>
<p>Deep huh? <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Well if the job actually does something important of course it will get noticed. </p>
<p>So the bigger question is:</p>
<p>What can you do to make sure that <strong>YOU</strong> know about it before anyone else does? </p>
<p>Cause who likes surprise phone calls?</p>
<p><img class="alignnone size-full wp-image-1695" title="nonono" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/04/nonono.jpg" alt="" width="300" height="198" /></p>
<p>This is a multipart-answer so bare with me&#8230;</p>
<p><strong>Step 1.</strong>  Setup a Policy Based Management condition to find SQL Server Agent Jobs with NO notification on Failure</p>
<p><a href="http://benchmarkitconsulting.com/wp-content/uploads/2011/04/Condition.txt" target="_blank">DOWNLOAD CONDITION</a></p>
<p><strong>Step 2.</strong>  Setup a Policy Based Management policy to check the condition created in <strong>Step 1</strong></p>
<p><a href="http://benchmarkitconsulting.com/wp-content/uploads/2011/04/Policy.txt" target="_blank">DOWNLOAD POLICY</a></p>
<p>OK so this will do nothing more then tell you whether or not the SQL Server you are evaluating this policy against has jobs that do not have a notification on failure configured. </p>
<p>What if my SQL Server Agent has 500 jobs? How do I find the ones without failure notifications configured?</p>
<p><strong>Step 3.</strong> </p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">SELECT * 
FROM msdb.dbo.sysjobs 
WHERE [enabled] = 1 AND notify_level_email NOT IN (1,2,3)</pre></div></div>

<p>Fantastic <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  so what if you have 500 jobs and 499 of these jobs DO NOT have any notification on failure configured?</p>
<p><strong>Step4.</strong>  Script to update all jobs to include a notification on failure</p>
<p><strong>*** MAKE SURE YOU UNDERSTAND WHAT THIS IS DOING BEFORE RUNNING THE OUTPUT ***</strong></p>
<p><img class="alignnone size-full wp-image-1697" title="SafetyFirst" src="http://benchmarkitconsulting.com/wp-content/uploads/2011/04/SafetyFirst.jpg" alt="" width="240" height="240" /></p>
<p>What this script will do is provide you with the commands to update <strong>ALL</strong> your jobs to notify <strong>BY EMAIL </strong>to the operator you provide in the <strong>@NotifyOperator</strong> variable</p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">USE [msdb] 
DECLARE @NotifyOperator nvarchar(100) 
SELECT @NotifyOperator = 'DBA' 
SELECT 'EXEC msdb.dbo.sp_update_job @job_id=N''' + convert(nvarchar(50),job_id) + ''', @notify_level_email=2, @notify_email_operator_name=N''' + @NotifyOperator + '''' FROM msdb.dbo.sysjobs</pre></div></div>

<p>Tweak this as you see fit:</p>
<ul>
<li>Include a WHERE clause to exclude or include only certain jobs</li>
<li>Change additional notification options (page? net send? etc?)</li>
</ul>
<p> So there you go&#8230; you now have:</p>
<ul>
<li>A check condition and policy to identify jobs that <strong>DO NOT</strong> have some level of notification</li>
<li>A script to identify which jobs those are</li>
<li>A script to blanket update all jobs to a particular notification level and settings.</li>
</ul>
<p>Enjoy!! (Follow me on Twitter: <a href="http://twitter.com/ColinStasiuk" target="_blank">@ColinStasiuk</a>)</p>
<p><a href="http://benchmarkitconsulting.com/" target="_blank"><img title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Jobs+Jobs+Jobs+http://tinyurl.com/64gz33g" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2011/04/07/jobs-jobs-jobs/&amp;title=Jobs+Jobs+Jobs" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2011/04/07/jobs-jobs-jobs/&amp;title=Jobs+Jobs+Jobs" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2011/04/07/jobs-jobs-jobs/&amp;title=Jobs+Jobs+Jobs" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2011/04/07/jobs-jobs-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EDMPASS Meeting Tomorrow #YEG</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/#comments</comments>
		<pubDate>Tue, 25 May 2010 14:16:10 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[EDMPASS]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1411</guid>
		<description><![CDATA[Tomorrow the Edmonton Chapter of PASS is having it&#8217;s next meeting. Details below: http://www.eventbrite.com/event/623637316 Date: May 26th 2010 Time: 5:00 pm &#8211; 7:00 pm Location: Stanley A. Milner library Map: 7 Sir Winston Churchill Square Meeting Room: Centennial Room &#8211; BASEMENT Speaker: Colin Stasiuk Topic: Policy Based Management&#8230; not JUST for SQL Server 2008 Session [...]]]></description>
			<content:encoded><![CDATA[<p>Tomorrow the Edmonton Chapter of PASS is having it&#8217;s next meeting. Details below:</p>
<p><strong><a href="http://www.eventbrite.com/event/623637316" target="_blank">http://www.eventbrite.com/event/623637316</a></strong></p>
<p><strong>Date:</strong> May 26th 2010<br />
<strong>Time:</strong> 5:00 pm &#8211; 7:00 pm<br />
<strong>Location:</strong> Stanley A. Milner library<br />
<strong>Map:</strong> <a href="http://www.mapquest.com/maps/map.adp?formtype=address&amp;country=CA&amp;popflag=0&amp;latitude=&amp;longitude=&amp;name=&amp;phone=&amp;level=&amp;addtohistory=&amp;cat=&amp;address=7+Sir+Winston+Churchill+Square+NW&amp;city=Edmonton&amp;state=AB&amp;zipcode=" target="_blank"><span style="color: #0000ff;">7 Sir Winston Churchill Square</span></a><br />
<strong>Meeting Room:</strong> <span style="color: #ff6600;"><strong>Centennial Room &#8211; BASEMENT</strong></span><br />
<strong>Speaker:</strong> Colin Stasiuk<br />
<strong>Topic:</strong> Policy Based Management&#8230; not JUST for SQL Server 2008</p>
<p><strong>Session Abstract:</strong></p>
<h3>Policy Based Management&#8230; not JUST for SQL Server 2008</h3>
<div>In this live session we&#8217;re going to be getting a quick overview of Policy Based Management for the people who are not familar with it but then the &#8220;guts&#8221; of the presentation will be showing how to work with Policy Based Management in previous versions of SQL Server (2000 and 2005).</div>
<div>The biggest misconception I&#8217;ve heard time and time again is&#8230;. &#8220;Policy Based Management sounds great but I&#8217;m still on SQL 2000 or SQL 2005&#8243;. Out of the box Policy Based Management can evaluate previous versions of SQL Server but we&#8217;re going to take that knowledge and with the use of PowerShell we&#8217;re going to expand on it and create an automated solution of evaluating and tracking not only your SQL 2008 instances but also your SQL 2000 and SQL 2005 instances.</div>
<div>Please be advised that this presentation may go over time as there will be alot of content covered and live demos and Q&amp;A.</div>
<div><strong> </strong></div>
<div><strong>Presenter Information:</strong> Colin Stasiuk</div>
<p>Colin Stasiuk is an MCP, MCTS SQL 2005/2008, MCITP DBDEV, and MCITP DBA. Currently, he is an independent consultant contracted to <a href="http://www.vantixsystems.com/" target="_blank">Vantix Systems </a>and working for the Government of Alberta.</p>
<p>Colin is an accomplished Microsoft SQL Server DBA who has been working with SQL Server since 1996. He is the founder of <a href="http://www.benchmarkitconsulting.com/" target="_blank">Benchmark IT Consulting</a> and is always willing to lend a hand with questions in many SQL Server community forums and via Twitter (<a href="http://twitter.com/BenchmarkIT" target="_blank">http://twitter.com/BenchmarkIT</a>) . His specialties include SQL Server Administration, Performance Tuning, Security, Monitoring, Best Practice / Standards, Upgrades, and Consolidation.</p>
<p>Colin is a proud PASS member, President of <a href="http://edmpass.com/" target="_blank">EDMPASS</a>, and has recently co-authored a book on SQL Server 2008 Policy Based Management.</p>
<p><strong>Agenda:<br />
</strong>5:00 pm &#8211; Pizza and Socializing<br />
5:30 pm &#8211; Sponsor Presentation<br />
5:45 pm &#8211; Feature Presentation<br />
7:00 pm &#8211; Wrap Up and Draws</p>
<p>If you haven’t signed up already at <a href="http://edmpass.com/?page_id=7" target="_blank"><span style="color: #0000ff;">EDMPASS.com</span></a> please do so now to receive meeting notifications, news, and updates from EDMPASS.</p>
<p>Hope to see you there.</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=EDMPASS+Meeting+Tomorrow+%23YEG+http://tinyurl.com/25cr3sr" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/&amp;title=EDMPASS+Meeting+Tomorrow+%23YEG" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/&amp;title=EDMPASS+Meeting+Tomorrow+%23YEG" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/&amp;title=EDMPASS+Meeting+Tomorrow+%23YEG" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/05/25/edmpass-meeting-tomorrow-yeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s Here!!!</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 18:31:42 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[author]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1394</guid>
		<description><![CDATA[My lovely wife Heather gave me a call and said&#8230; &#8220;Guess what I have in my hands?&#8221;  I had heard that Ken and Jorge received their author copies this week so I was very quick to guess it right Can&#8217;t wait to get home today and check it out&#8230; I have all the pdf page [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://benchmarkitconsulting.com/wp-content/uploads/2010/04/itshere.jpg"><img class="alignnone size-full wp-image-1395" title="itshere" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/04/itshere.jpg" alt="" width="360" height="480" /></a></p>
<p>My lovely wife Heather gave me a call and said&#8230; &#8220;Guess what I have in my hands?&#8221;  I had heard that Ken and Jorge received their author copies this week so I was very quick to guess it right <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Can&#8217;t wait to get home today and check it out&#8230; I have all the pdf page proofs for all the chapters but it just isn&#8217;t the same LOL</p>
<p>By request I&#8217;ll be doing a blog in the next day or so about the whole book writing experience as it was probably one of the most challenging yet rewarding experiences in my career.</p>
<p>(Big thanks to wifey for taking a pic!!)</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=It%26%238217%3Bs+Here%21%21%21+http://tinyurl.com/23pmkcc" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/&amp;title=It%26%238217%3Bs+Here%21%21%21" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/&amp;title=It%26%238217%3Bs+Here%21%21%21" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/&amp;title=It%26%238217%3Bs+Here%21%21%21" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/04/22/its-here/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 Internals and Troubleshooting and DBA Survivor</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/03/16/sql-server-2008-internals-and-troubleshooting-and-dba-survivor/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/03/16/sql-server-2008-internals-and-troubleshooting-and-dba-survivor/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 16:39:06 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Brent Ozar]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Thomas LaRock]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1358</guid>
		<description><![CDATA[OK so I&#8217;m back from an extended vacation from BenchmarkITConsulting.com and although my vacation had nothing to do with warm weather, beaches, or bacon it was time well spent on finishing up my chapters for the soon to be released Pro Server 2008 Policy-Based Management book. After going through this process I have a whole new [...]]]></description>
			<content:encoded><![CDATA[<p>OK so I&#8217;m back from an extended vacation from BenchmarkITConsulting.com and although my vacation had nothing to do with warm weather, beaches, or bacon it was time well spent on finishing up my chapters for the soon to be released <a href="http://www.apress.com/book/view/1430229101" target="_blank">Pro Server 2008 Policy-Based Management </a>book.</p>
<p><img class="alignnone size-full wp-image-1328" title="PBMBookSmall" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/01/PBMBookSmall.jpg" alt="" width="186" height="246" /></p>
<p>After going through this process I have a whole new respect for anyone who takes on the challenge of writing a book.  It is a long and painful process that will eat up any and all free time that you have but it is probably one of the most rewarding challenges that I&#8217;ve taken on and I can&#8217;t wait to get my own <a href="http://thomaslarock.com/2010/03/my-book-has-arrived/" target="_blank">&#8220;AUTHORS COPIES&#8221; box </a>in the mail (great post/video BTW Tom)</p>
<p>2 books that are on my &#8220;must read&#8221; list now that I&#8217;m going to have more free time are:</p>
<p><a href="http://www.amazon.com/gp/product/0470484284?ie=UTF8&amp;tag=brozsqseex-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0470484284" target="_blank">SQL Server 2008 Internals and Troubleshooting</a> and <a href="http://www.amazon.com/gp/offer-listing/1430227877?ie=UTF8&amp;tag=sq0f-20&amp;linkCode=am2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1430227877" target="_blank">DBA Survivor</a></p>
<p><img class="alignnone size-full wp-image-1359" title="51T5L4ObUXL" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/03/51T5L4ObUXL.jpg" alt="" width="191" height="240" />        <img class="alignnone size-full wp-image-1360" title="11new_cover_lg" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/03/11new_cover_lg.jpg" alt="" width="181" height="239" /></p>
<p>Brent and Tom both have always been great resources to help troubleshoot, bounce ideas off of, and just always willing to lend a hand in anything I&#8217;ve sent their way and I&#8217;m quite interested to give their books a read and a review.  Tom is the technical editor for my book and although he never really explained what he meant by &#8220;punch harder&#8221; I think/hope I got the idea LOL.</p>
<p>I&#8217;ll admit that I haven&#8217;t picked up a book since starting this whole <a href="http://benchmarkitconsulting.com/colin-stasiuk/2009/09/21/co-authoring-a-book-exciting-but-scary-lol/" target="_blank">co-authoring a book started </a>back in September/09.  So I thought these two books would be a great place to start getting back into reading because the authors have both helped shape and guide my SQL path greatly over the last year or two.</p>
<p>So here&#8217;s to getting back into reading, blogging more often, and just generally getting back in touch with the world LOL</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=SQL+Server+2008+Internals+and+Troubleshooting+and+DBA+Survivor+http://tinyurl.com/y8s9lau" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/03/16/sql-server-2008-internals-and-troubleshooting-and-dba-survivor/&amp;title=SQL+Server+2008+Internals+and+Troubleshooting+and+DBA+Survivor" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/03/16/sql-server-2008-internals-and-troubleshooting-and-dba-survivor/&amp;title=SQL+Server+2008+Internals+and+Troubleshooting+and+DBA+Survivor" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/03/16/sql-server-2008-internals-and-troubleshooting-and-dba-survivor/&amp;title=SQL+Server+2008+Internals+and+Troubleshooting+and+DBA+Survivor" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/03/16/sql-server-2008-internals-and-troubleshooting-and-dba-survivor/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A Very Busy January</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/01/05/a-very-busy-january/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/01/05/a-very-busy-january/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 14:32:34 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[January]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1316</guid>
		<description><![CDATA[First off I&#8217;d like to say Happy New Year to everyone and extend my congratulations again to all the new MVPs out there&#8230; well done and the community is a better place because of people like you. January is going to be a VERY busy month for me both personally and professionally so I thought [...]]]></description>
			<content:encoded><![CDATA[<p>First off I&#8217;d like to say Happy New Year to everyone and extend my congratulations again to all the new MVPs out there&#8230; well done and the community is a better place because of people like you.</p>
<p>January is going to be a VERY busy month for me both personally and professionally so I thought I would write a quick blog post just so people don&#8217;t think I&#8217;ve fallen off the face of the earth or something LOL <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   The biggest and challenging task at hand is I need to have the first draft of my final 2 chapters done by February 1st.  While I&#8217;m not concerned too much about making this deadline I&#8217;m doing my best to make sure I don&#8217;t make the same mistakes I made in my first chapter with these final 2 chapters.</p>
<p><a href="http://www.apress.com/book/view/1430229101"><img class="alignnone size-full wp-image-1322" title="119781430229100" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/01/119781430229100.jpg" alt="119781430229100" width="268" height="355" /></a></p>
<p>The second thing on my &#8220;hit list&#8221; for January is the EDMPASS meeting on January 27th with Buck Woody.  This will be the first time that I&#8217;m going to make the meeting &#8220;public&#8221; via Live Meeting and also going to work with recording it and making it available after the fact as well.</p>
<p><a href="http://edmpass.com" target="_blank"><img class="alignnone size-full wp-image-1318" title="EDMPASS" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/01/EDMPASS.jpg" alt="EDMPASS" width="343" height="77" /></a></p>
<p>A couple personal items are next for me as I&#8217;m leaving on a jet plane on January 20th to go to Las Vegas to play in a Ball Hockey tournament called &#8220;The Sin City Shootout&#8221;.  I didn&#8217;t take any time off during the holidays as I was covering for alot of people that did so this will be a nice little break and alot of fun if only for 5 days.  From my previous trips to Vegas 5 days is pretty well the max for me cause (for me anyways) Vegas after 5 days is just annoying.</p>
<p><img class="alignnone size-full wp-image-1319" title="11lvs" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/01/11lvs.jpg" alt="11lvs" width="390" height="266" /></p>
<p>And finally I hope to make a trip somewhere in there for the weekend up to Cold Lake (about 3 hours NE of Edmonton) to see my sister, brother-in-law, niece, and new baby niece Ella.  I&#8217;ve seen pictures and videos but I can&#8217;t wait to get up there and spend some QT with the new little addition to my sister&#8217;s family.</p>
<p>I hope everyone is doing well and sorry for being a bit out of touch (via MSN, Twitter, etc)</p>
<p>Enjoy!!</p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=A+Very+Busy+January+http://tinyurl.com/yj6jz2p" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/01/05/a-very-busy-january/&amp;title=A+Very+Busy+January" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/01/05/a-very-busy-january/&amp;title=A+Very+Busy+January" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/01/05/a-very-busy-january/&amp;title=A+Very+Busy+January" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/01/05/a-very-busy-january/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heard it from a friend who&#8230; heard it from a friend who&#8230;</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/25/heard-it-from-a-friend-who-heard-it-from-a-friend-who/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/25/heard-it-from-a-friend-who-heard-it-from-a-friend-who/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 14:53:31 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Data Purity]]></category>
		<category><![CDATA[DBINFO]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1150</guid>
		<description><![CDATA[Background music while you read this post Have  I mentioned how much I love the SQL community&#8230;. Hey&#8230; have you heard that Jonathan Kehayis wrote a blog post about some uses for DBINFO and the dbi_version and dbi_createVersion values? Yeah but did you hear that Paul Randal wrote a blog post about Checking if Data Purity [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blip.fm/profile/ShockerStasiuk/blip/23352828/REO_SPEEDWAGON-TAKE_IT_ON_THE_RUN" target="_blank">Background music while you read this post</a></p>
<p>Have  I mentioned how much I love the SQL community&#8230;.</p>
<p>Hey&#8230; have you heard that <strong>Jonathan Kehayis</strong> wrote a <a href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/07/28/database-version-vs-database-compatibility-level.aspx" target="_blank">blog post</a> about some uses for DBINFO and the dbi_version and dbi_createVersion values?</p>
<p>Yeah but did you hear that <strong>Paul Randal</strong> wrote a <a href="http://www.sqlskills.com/BLOGS/PAUL/post/CHECKDB-From-Every-Angle-How-to-tell-if-data-purity-checks-will-be-run.aspx" target="_blank">blog post</a> about Checking if Data Purity check will be run based off of the dbi_createVersion ?</p>
<p>Yeah but did you hear that <strong>Sankar Reddy</strong> wrote a <a href="http://sankarreddy.spaces.live.com/blog/cns!1F1B61765691B5CD!463.entry" target="_blank">blog post</a> about pulling the dbi_createVersion, dbi_version, and dbi_crdate for all databases in a single script?</p>
<p>Yeah but did you hear that <strong>Ken Simmons</strong> wrote a <a href="http://cybersql.blogspot.com/2009/09/query-to-make-sure-data-purity-checks.html" target="_blank">blog post</a> about checking every databases data purity flag and identifying which databases will not perform the data purity check?</p>
<p>Like I said&#8230; I love the community&#8230; a single persons blog post spawns multiple variations and building of ideas and thoughts&#8230; and even though each persons blog post is different then the rest each author makes sure to call out the others posts as excellent related reading and &#8220;inspiration&#8221; for their post.</p>
<p>Hey&#8230; did you hear that Colin Stasiuk (thanks to an idea and email request from Ken Simmons <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) added a Policy Based Management Check Condition and Policy to check every database&#8217;s data purity check value in his environment&#8230;</p>
<p><strong>CONDITION</strong></p>
<p>Download .sql file: <a href="http://benchmarkitconsulting.com/wp-content/uploads/2009/09/DataPurityFlag_Cdn.sql">DataPurityFlag_Cdn</a></p>
<p><strong>POLICY</strong></p>
<p>Download .sql file: <a href="http://benchmarkitconsulting.com/wp-content/uploads/2009/09/DataPurityFlag_Ply.sql">DataPurityFlag_Ply</a></p>
<p>(Yeah I know I said I&#8217;d do a non-PBM post this time around but it wasn&#8217;t TOTALLY my fault hehehe <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>Enjoy!!</p>
<p><span><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Heard+it+from+a+friend+who%26%238230%3B+heard+it+from+a+friend+who%26%238230%3B+http://tinyurl.com/yehouse" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/25/heard-it-from-a-friend-who-heard-it-from-a-friend-who/&amp;title=Heard+it+from+a+friend+who%26%238230%3B+heard+it+from+a+friend+who%26%238230%3B" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/25/heard-it-from-a-friend-who-heard-it-from-a-friend-who/&amp;title=Heard+it+from+a+friend+who%26%238230%3B+heard+it+from+a+friend+who%26%238230%3B" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/25/heard-it-from-a-friend-who-heard-it-from-a-friend-who/&amp;title=Heard+it+from+a+friend+who%26%238230%3B+heard+it+from+a+friend+who%26%238230%3B" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/25/heard-it-from-a-friend-who-heard-it-from-a-friend-who/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fail Whale for SSMS and CMS for PBM using PS</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/22/failwhaleforssmsandcms/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/22/failwhaleforssmsandcms/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 21:56:50 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[PS]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1126</guid>
		<description><![CDATA[Translation: Fail Whale for SQL Server Management Studio and Central Management Server for Policy Based Managment using PowerShell&#8230;. lol simple eh? So this is a Microsoft Connect Item in the making&#8230; I had created a PowerShell script to run a bunch of policies against a list of servers that I defined in a ServerList.txt file.  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1127" title="fwwwwww" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/09/fwwwwww.png" alt="fwwwwww" width="240" height="180" /></p>
<p>Translation: Fail Whale for SQL Server Management Studio and Central Management Server for Policy Based Managment using PowerShell&#8230;. lol simple eh?</p>
<p>So this is a Microsoft Connect Item in the making&#8230;</p>
<p>I had created a PowerShell script to run a bunch of policies against a list of servers that I defined in a ServerList.txt file.  I decided that I didn&#8217;t like the idea of needing to maintain a text file and instead of storing the Instance Names in a table somewhere I decided to hook into the Central Managment Server.</p>
<p>So I logged into the server that is currently running the SQL Server Agent job that was doing all this using a ServerList.txt file.  I changed the PowerShell Script to point to my CMS server instead and ran the .ps1 directly on the server using &#8220;sqlps F:\PBM\EvaluatePolicies.ps1&#8243;.  The script ran as expected, used my CMS server, and everything was tickidyboo.  Or so I thought&#8230;.</p>
<p>I decided to do my final check and run the SQL Server Agent job itself&#8230; and it failed.</p>
<p><img class="alignnone size-full wp-image-1129" title="toslkdsl" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/09/toslkdsl.jpg" alt="toslkdsl" width="168" height="132" /></p>
<p>Hmmmm that&#8217;s weird&#8230; so I confirmed that the SQL Server Agent account had access to the CMS server and even granted it explicit sysadmin rights (just for my troubleshooting).</p>
<p><strong>FAIL</strong></p>
<p>I started tweeting about the problem and got some immediate advice from @<a href="http://twitter.com/afernandez" target="_blank">afernandez</a>, <a href="http://twitter.com/russjohnson">@russjohnson</a>, <a href="http://twitter.com/wendy_dance">@wendy_dance</a>, and <a href="http://twitter.com/sqlchicken">@SQLChicken</a>.  While none of the advice solved my problem it was great to have some other &#8220;eyes&#8221; reading my problem and confirming the stuff that I had already thought of and tested.</p>
<p>The SQL Server Agent Service Account is a secure account that I don&#8217;t even have access or the password for so I asked for some help from one of our Server Admins for my troubleshooting&#8230; he logged into the server for me and I tried to run the ps1 file&#8230;.</p>
<p><strong>FAIL</strong></p>
<p>So I opened up SSMS and checked if I could connect to the CMS directly&#8230;.</p>
<p><strong><span style="text-decoration: underline;">SOLUTION:  </span></strong>In order to use a PowerShell script to connect to the Central Management Server using the SQL Server Agent the service account that SQL Server Agent is running under must REGISTER the CMS Server through SSMS on the Server that is running the job.</p>
<p>Did you get all that&#8230;. because I had never Remote Desktopped onto the Server using the SQL Server Agent service account and Registered the CMS Server in SSMS using that account when I tried to access the CMS Server through my PowerShell script it failed.</p>
<p>I registered the CMS Server using the SQL Server Agent Service Account and everything started sizzling like bacon on a hot pan.</p>
<p>Enjoy!!</p>
<p><span><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Fail+Whale+for+SSMS+and+CMS+for+PBM+using+PS+http://tinyurl.com/npkg83" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/22/failwhaleforssmsandcms/&amp;title=Fail+Whale+for+SSMS+and+CMS+for+PBM+using+PS" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/22/failwhaleforssmsandcms/&amp;title=Fail+Whale+for+SSMS+and+CMS+for+PBM+using+PS" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/22/failwhaleforssmsandcms/&amp;title=Fail+Whale+for+SSMS+and+CMS+for+PBM+using+PS" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/22/failwhaleforssmsandcms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Look what I can do!! (w/Policy Based Management)</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/18/look-what-i-can-do-wpolicy-based-management/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/18/look-what-i-can-do-wpolicy-based-management/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 14:24:13 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Email Notification]]></category>
		<category><![CDATA[ExecuteSQL]]></category>
		<category><![CDATA[Jobs]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[SQL Agent]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1100</guid>
		<description><![CDATA[If you&#8217;ve never watched Stuart from MadTV the Title of this blog post will probably be lost on you but if you want to get up to speed just Watch This Video on YouTube So if you read my blog (first thanks!! ) you know that I&#8217;ve been having a love affair lately with Policy [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1101" title="StuMafjdkf" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/09/StuMafjdkf.jpg" alt="StuMafjdkf" width="259" height="287" /></p>
<p>If you&#8217;ve never watched Stuart from MadTV the Title of this blog post will probably be lost on you but if you want to get up to speed just <a href="http://www.youtube.com/watch?v=I4aAUq_AiPg&amp;feature=related" target="_blank">Watch This Video on YouTube</a></p>
<p>So if you read my blog (first thanks!! <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) you know that I&#8217;ve been having a love affair lately with Policy Based Management.  I&#8217;m starting to look outside of the canned Policies and working on creating my own.  I wanted to start simple just to get something going so I came up with an idea for a policy:</p>
<p><strong>Jobs That Do Not Have Email Operator On Failure Enabled</strong></p>
<p>So first I created my Condition:</p>
<ul>
<li>Name: SQLAgentJobsWithNoNotificationOnFailure</li>
<li>Facet: Server (I picked server because the query I&#8217;m going to be only needs to be ran once vs msdb)</li>
</ul>
<p>I built my SQL Statement:</p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">SELECT	COUNT(*)
FROM	msdb.dbo.sysjobs
WHERE	[enabled]  = 1 AND
		notify_level_email != 2</pre></div></div>

<p>and went to add it to the &#8220;Field&#8221; column of my condition but I remembered the <a href="http://thomaslarock.com/2009/08/policy-based-management-podcast-part-2/" target="_blank">Podcast by Brent Ozar and Thomas LaRock</a> where they demoed the ExecuteSQL() function within Policy Based Management.</p>
<p>So my code in my field column ended up looking like this instead:</p>

<div class="wp_syntax"><div class="code"><pre class="t-sql" style="font-family:monospace;">EXECUTESQL('numeric', 'SELECT	COUNT(*)
FROM	msdb.dbo.sysjobs
WHERE	name NOT LIKE ''%TestDatabaseMail%'' AND
		[enabled]  = 1 AND
		notify_level_email != 2')</pre></div></div>

<p> So then I populated the expected value&#8230;.   = 0 and I was ready to go.</p>
<p>I next created my Policy using my new Check condition and voila, I just built my first custom Policy.  I evaluated the Policy and saw immediate value as there were a couple production jobs that did NOT have any email notification set on failure.</p>
<p>My love affair with Policy Based Management continues&#8230; I think I&#8217;m ready to commit and start picking out china together. <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy Friday!!!</p>
<p>P.S. Already working on v.2 of the policy&#8230; I want to be able to filter particular jobs as well as return the list of non conforming jobs <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  stay tuned LOL</p>
<p>Enjoy!!</p>
<p><span><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Look+what+I+can+do%21%21+%28w%2FPolicy+Based+Management%29+http://tinyurl.com/nl6mdq" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/18/look-what-i-can-do-wpolicy-based-management/&amp;title=Look+what+I+can+do%21%21+%28w%2FPolicy+Based+Management%29" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/18/look-what-i-can-do-wpolicy-based-management/&amp;title=Look+what+I+can+do%21%21+%28w%2FPolicy+Based+Management%29" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/09/18/look-what-i-can-do-wpolicy-based-management/&amp;title=Look+what+I+can+do%21%21+%28w%2FPolicy+Based+Management%29" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2009/09/18/look-what-i-can-do-wpolicy-based-management/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SQL Bacon Nugget of Excellence Award @SQLGal</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2009/08/26/sql-bacon-nugget-of-excellence-award-sqlgal/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2009/08/26/sql-bacon-nugget-of-excellence-award-sqlgal/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 13:31:17 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[Evaluate Policies]]></category>
		<category><![CDATA[PBM]]></category>
		<category><![CDATA[Policy Based Management]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[PS]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=970</guid>
		<description><![CDATA[OK so the last time I handed out a SQL Bacon Nugget of Excellence Award was July 8th for @SQLAgentMan &#8216;s article on Determining Free Space, Consumed Space, and Total Space Allocated for Microsoft SQL Server Databases and this time around @SQLGal has put something together that can only be described as a SQL Bacon Nugget [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-971" title="BaNug" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/08/BaNug.jpg" alt="BaNug" width="180" height="135" /></p>
<p>OK so the last time I handed out a SQL Bacon Nugget of Excellence Award was July 8th for <a href="http://twitter.com/sqlagentman" target="_blank">@SQLAgentMan</a> &#8216;s article on <a href="http://www.mssqltips.com/tip.asp?tip=1629" target="_blank">Determining Free Space, Consumed Space, and Total Space Allocated for Microsoft SQL Server Databases</a></p>
<p>and this time around <a href="http://twitter.com/sqlgal" target="_blank">@SQLGal</a> has put something together that can only be described as a SQL Bacon Nugget of Excellence.  So a little background story on this one&#8230; I&#8217;ve been doing more with Policy Based Management lately and coincidently more with PowerShell as well.  So I started playing around with having an automated policy checker run in the night via PowerShell and email me the &#8220;non conformists&#8221; <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I was almost done my initial release when I all of a sudden found that if I ran the powershell script from the server directly that I couldn&#8217;t connect to some of my servers (SQL 2000).  I re-ran&#8230; nothing&#8230; tried a few different ideas&#8230; no dice.  So as I like to do from time to time if my &#8220;googling&#8221; doesn&#8217;t help much is I posed the question to the Twitterverse.</p>
<p>As always (cause Twitter is just great for community support) I got a couple replies and offers of assistance.  One reply was from <a href="http://twitter.com/timbo_b_edwards" target="_blank">@Timbo_B_Edwards</a>.  His tweet pointed me to a site that suprisingly (with my googling on Policy Based Management and Powershell) I didn&#8217;t find before.</p>
<p><a href="http://epmframework.codeplex.com/" target="_blank">Enterprise Policy Management Framework</a></p>
<p>This offering from <a href="http://twitter.com/sqlgal" target="_blank">@SQLGal</a> puts my ragamuffin first attempt at Policy Based Management via Powershell to shame.</p>
<p>The Enterprise Policy Managment Framework uses PowerShell to evaluate policies against your SQL Server Environment, shreds the XML for you, and then renders and delivers your policy history reports via Reporting Services.</p>
<p><img class="alignnone size-full wp-image-974" title="aaswsdw" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/08/aaswsdw.png" alt="aaswsdw" width="155" height="136" /></p>
<p> </p>
<p>So for the love of all things good and pure in this world&#8230; if you have SQL Server 2008 (and if you don&#8217;t this is one heck of a good reason to start) this is something you <strong><span style="text-decoration: underline;">HAVE TO</span></strong> check out and spend some quality time with. </p>
<p><strong><em>Lara Rubbelke</em></strong></p>
<ul>
<li><a href="http://sqlblog.com/blogs/lara_rubbelke/default.aspx" target="_blank">Laura on SQLBlog.com</a></li>
<li><a href="http://twitter.com/sqlgal" target="_blank">@SQLGal on Twitter</a></li>
<li><a href="http://epmframework.codeplex.com/" target="_blank">Enterprise Policy Management Framework</a></li>
</ul>
<p>P.S. I found the solution to my problem on the top of the Enterprise Policy Management Framework page&#8230;</p>
<p><em>&#8220;Update on SP1: You must install SQL Server 2008 SP1 Cumulative Update 3 (</em><a href="http://support.microsoft.com/kb/971491" target="_blank"><em>http://support.microsoft.com/kb/971491</em></a><em>) if you have installed SP1 on the Central Management Server. SP1 Cumulative Update 3 will fix the SP1 bug which prevented down version policy evaluation.&#8221;</em></p>
<p>Enjoy!!</p>
<p><span><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=SQL+Bacon+Nugget+of+Excellence+Award+%40SQLGal+http://tinyurl.com/lf6pgo" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/08/26/sql-bacon-nugget-of-excellence-award-sqlgal/&amp;title=SQL+Bacon+Nugget+of+Excellence+Award+%40SQLGal" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/08/26/sql-bacon-nugget-of-excellence-award-sqlgal/&amp;title=SQL+Bacon+Nugget+of+Excellence+Award+%40SQLGal" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/08/26/sql-bacon-nugget-of-excellence-award-sqlgal/&amp;title=SQL+Bacon+Nugget+of+Excellence+Award+%40SQLGal" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2009/08/26/sql-bacon-nugget-of-excellence-award-sqlgal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

