<?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>SAPIEN Technologies &#187; Ask the Experts</title>
	<atom:link href="http://blog.sapien.com/index.php/topics/ask-the-experts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sapien.com</link>
	<description>Tools for IT Success</description>
	<lastBuildDate>Wed, 28 Jul 2010 20:03:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Attention User Groups</title>
		<link>http://blog.sapien.com/index.php/2009/08/13/attention-user-groups/</link>
		<comments>http://blog.sapien.com/index.php/2009/08/13/attention-user-groups/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 16:52:59 +0000</pubDate>
		<dc:creator>Margaret Pratt</dc:creator>
				<category><![CDATA[Ask the Experts]]></category>
		<category><![CDATA[Community Tools]]></category>
		<category><![CDATA[Free Tools]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[PrimalScript]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[VBScript Scripts]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Scripting News]]></category>
		<category><![CDATA[SAPIEN]]></category>
		<category><![CDATA[User Groups]]></category>
		<category><![CDATA[Windows Administrator]]></category>

		<guid isPermaLink="false">http://blog.sapien.com/?p=1630</guid>
		<description><![CDATA[We are sending our CEO and CTO on tour! SAPIEN Technologies will be visiting a number of user groups within the US to meet and discuss ideas, present new exciting products and to get feedback from you, our customers and users. Of course we&#160; will also sponsor those meetings with cool prizes and whatever goodies [...]]]></description>
			<content:encoded><![CDATA[<div>We are sending our CEO and CTO on tour! SAPIEN Technologies will be visiting a number of user groups within the US to meet and discuss ideas, present new exciting products and to get feedback from you, our customers and users. Of course we&#160; will also sponsor those meetings with cool prizes and whatever goodies the airlines let us take along. </div>
<div>&#160;</div>
<div>So if you belong to any VBScript, PowerShell or general System/Network Administrators users group, this is your chance to reserve a spot for your group to have one of the founders of SAPIEN speak at and sponsor one of your meetings.</div>
<div>&#160;</div>
<div>Please contact <a href="mailto:margaret@sapien.com">margaret@sapien.com</a> with any questions and to reserve a spot on our busy schedule.</div>
<div>&#160;</div>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F&amp;title=Attention+User+Groups" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F&amp;title=Attention+User+Groups" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F&amp;title=Attention+User+Groups" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F&amp;title=Attention+User+Groups" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F&amp;title=Attention+User+Groups', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F&amp;title=Attention+User+Groups" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2009%2F08%2F13%2Fattention-user-groups%2F&amp;title=Attention+User+Groups" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>
<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/PrimalScript' rel='tag' target='_self'>PrimalScript</a>, <a class='technorati-link' href='http://technorati.com/tag/SAPIEN' rel='tag' target='_self'>SAPIEN</a>, <a class='technorati-link' href='http://technorati.com/tag/User+Groups' rel='tag' target='_self'>User Groups</a>, <a class='technorati-link' href='http://technorati.com/tag/VBScript' rel='tag' target='_self'>VBScript</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows+Administrator' rel='tag' target='_self'>Windows Administrator</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows+PowerShell' rel='tag' target='_self'>Windows PowerShell</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.sapien.com/index.php/2009/08/13/attention-user-groups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerScripting Podcast Roundtable</title>
		<link>http://blog.sapien.com/index.php/2008/10/06/powerscripting-podcast-roundtable/</link>
		<comments>http://blog.sapien.com/index.php/2008/10/06/powerscripting-podcast-roundtable/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 10:00:41 +0000</pubDate>
		<dc:creator>Jeffery Hicks</dc:creator>
				<category><![CDATA[Ask the Experts]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[PowerScripting]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://blog.sapien.com/index.php/2008/10/06/powerscripting-podcast-roundtable/</guid>
		<description><![CDATA[ This week, Alex Riedel and SAPIEN alumus Don Jones will sit down (virtually speaking) at a roundtable discussion on the PowerScripting Podcast. They will be joined by PowerShell architect Jeffrey Snover, and PowerShell MVP Kirk Munro.
Scheduled topics include:

A Thousand Things 1% Better
What&#8217;s most important for a posh newbie to learn?
Script vs. Shell
Coolest use of [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 0px 5px 5px 0px" src="http://static.ustream.tv/images/schannel_picture/2/7/4/9/274919/th/smalls2_120_274919_powerscriptingpodcastlo.jpg" align="left"> This week, Alex Riedel and SAPIEN alumus <a href="http://www.concentratedtechnology.com" target="_blank">Don Jones</a> will sit down (virtually speaking) at a roundtable discussion on the <a href="http://powerscripting.wordpress.com/" target="_blank">PowerScripting Podcast</a>. They will be joined by PowerShell architect <a href="http://blogs.msdn.com/powershell/" target="_blank">Jeffrey Snover</a>, and PowerShell MVP <a href="http://poshoholic.com/" target="_blank">Kirk Munro</a>.</p>
<p>Scheduled topics include:</p>
<ul>
<li><a href="http://blog.sapien.com/index.php/2008/09/27/a-thousand-things-1-better/" target="_blank">A Thousand Things 1% Better</a>
<li>What&#8217;s most important for a posh newbie to learn?
<li>Script vs. Shell
<li>Coolest use of PowerShell that you&#8217;ve seen&#8211;and what&#8217;s to come.
<li>What third-party software is missing?
<li>Is PowerShell useful for &lt;insert concept here&gt;?</li>
</ul>
<p>You can catch the show live on <a href="http://www.ustream.tv/channel/powerscripting-podcast" target="_blank">UStream</a> at 9:00PM EST. There is a lively chat room that is actively involved in the show. Everyone always seems to have a great time and learn a lot. </p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F&amp;title=PowerScripting+Podcast+Roundtable" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F&amp;title=PowerScripting+Podcast+Roundtable" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F&amp;title=PowerScripting+Podcast+Roundtable" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F&amp;title=PowerScripting+Podcast+Roundtable" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F&amp;title=PowerScripting+Podcast+Roundtable', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F&amp;title=PowerScripting+Podcast+Roundtable" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F10%2F06%2Fpowerscripting-podcast-roundtable%2F&amp;title=PowerScripting+Podcast+Roundtable" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>
<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/podcast' rel='tag' target='_self'>podcast</a>, <a class='technorati-link' href='http://technorati.com/tag/PowerScripting' rel='tag' target='_self'>PowerScripting</a>, <a class='technorati-link' href='http://technorati.com/tag/powershell' rel='tag' target='_self'>powershell</a>, <a class='technorati-link' href='http://technorati.com/tag/scripting' rel='tag' target='_self'>scripting</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.sapien.com/index.php/2008/10/06/powerscripting-podcast-roundtable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scripting Essentials</title>
		<link>http://blog.sapien.com/index.php/2008/09/26/scripting-essentials/</link>
		<comments>http://blog.sapien.com/index.php/2008/09/26/scripting-essentials/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 10:00:28 +0000</pubDate>
		<dc:creator>Jeffery Hicks</dc:creator>
				<category><![CDATA[Ask the Experts]]></category>
		<category><![CDATA[Books and Training]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[essentials]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[scriptinganswers]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.sapien.com/index.php/2008/09/24/scripting-essentials/</guid>
		<description><![CDATA[I wanted to make sure everybody knew about another site in the ScriptingAnswers.com family. We have another area we refer to as our Essentials site. Here we gather tips, best practices, sample scripts and more. Coverage includes not only PowerShell but VBScript as well. This is also where you&#8217;ll find conference slide decks and demo [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to make sure everybody knew about another site in the ScriptingAnswers.com family. We have another area we refer to as our Essentials site. Here we gather tips, best practices, sample scripts and more. Coverage includes not only PowerShell but VBScript as well. This is also where you&#8217;ll find conference slide decks and demo scripts.</p>
<p>The site is arranged by categories and you&#8217;ll likely find something in multiple categories. You may also like to subscribe to the sites RSS feed.</p>
<p>So if you haven&#8217;t dropped by, I hope you&#8217;ll pay a quick visit to <a title="http://www.scriptinganswers.com/essentials/" href="http://www.scriptinganswers.com/essentials/">http://www.scriptinganswers.com/essentials/</a> and find something of interest.&nbsp; If there&#8217;s anything you&#8217;d like to see added to the site, please let me know.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F&amp;title=Scripting+Essentials" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F&amp;title=Scripting+Essentials" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F&amp;title=Scripting+Essentials" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F&amp;title=Scripting+Essentials" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F&amp;title=Scripting+Essentials', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F&amp;title=Scripting+Essentials" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F09%2F26%2Fscripting-essentials%2F&amp;title=Scripting+Essentials" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>
<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/essentials' rel='tag' target='_self'>essentials</a>, <a class='technorati-link' href='http://technorati.com/tag/powershell' rel='tag' target='_self'>powershell</a>, <a class='technorati-link' href='http://technorati.com/tag/scripting' rel='tag' target='_self'>scripting</a>, <a class='technorati-link' href='http://technorati.com/tag/scriptinganswers' rel='tag' target='_self'>scriptinganswers</a>, <a class='technorati-link' href='http://technorati.com/tag/Tutorials' rel='tag' target='_self'>Tutorials</a>, <a class='technorati-link' href='http://technorati.com/tag/VBScript' rel='tag' target='_self'>VBScript</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.sapien.com/index.php/2008/09/26/scripting-essentials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I sign a Windows PowerShell script?</title>
		<link>http://blog.sapien.com/index.php/2008/02/25/how-do-i-sign-a-windows-powershell-script/</link>
		<comments>http://blog.sapien.com/index.php/2008/02/25/how-do-i-sign-a-windows-powershell-script/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 15:38:24 +0000</pubDate>
		<dc:creator>Don Jones</dc:creator>
				<category><![CDATA[Ask the Experts]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[sign]]></category>
		<category><![CDATA[signature]]></category>

		<guid isPermaLink="false">http://blog.sapien.com/index.php/2008/02/25/how-do-i-sign-a-windows-powershell-script/</guid>
		<description><![CDATA[&#160;&#34;Boz&#34; sent this one in, and it&#8217;s a doozy. I have two places for you to look: First is at&#160;http://www.scriptinganswers.com/essentials/index.php/2008/02/21/how-do-i-sign-a-windows-powershell-script/, which describes the process I used to sign a script for a new self-paced training video that should be out in March 2008.&#160;
The other is in Microsoft TechNet Magazine, where I wrote an article about [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&quot;Boz&quot; sent this one in, and it&#8217;s a doozy. I have two places for you to look: First is at&nbsp;h<a href="http://www.scriptinganswers.com/essentials/index.php/2008/02/21/how-do-i-sign-a-windows-powershell-script/">ttp://www.scriptinganswers.com/essentials/index.php/2008/02/21/how-do-i-sign-a-windows-powershell-script/</a>, which describes the process I used to sign a script for a new self-paced training video that should be out in March 2008.&nbsp;</p>
<p>The other is in Microsoft TechNet Magazine, where I wrote an article about this. Visit&nbsp;<a href="http://www.microsoft.com/technet/technetmag/default.aspx">http://www.microsoft.com/technet/technetmag/default.aspx </a>and look for the March 2008 issue when it&#8217;s available.&nbsp;</p>
<p>The short answer: Buy (or acquire) a Class III code-signing certificate of the Microsoft Authenticode variety, and use the Set-AuthenticodeSignature cmdlet to sign your script. Not too difficult, although getting your certificate in the proper format may require some perambulations.</p>
<p>&nbsp;</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F&amp;title=How+do+I+sign+a+Windows+PowerShell+script%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F&amp;title=How+do+I+sign+a+Windows+PowerShell+script%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F&amp;title=How+do+I+sign+a+Windows+PowerShell+script%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F&amp;title=How+do+I+sign+a+Windows+PowerShell+script%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F&amp;title=How+do+I+sign+a+Windows+PowerShell+script%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F&amp;title=How+do+I+sign+a+Windows+PowerShell+script%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F25%2Fhow-do-i-sign-a-windows-powershell-script%2F&amp;title=How+do+I+sign+a+Windows+PowerShell+script%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>
<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/certificate' rel='tag' target='_self'>certificate</a>, <a class='technorati-link' href='http://technorati.com/tag/powershell' rel='tag' target='_self'>powershell</a>, <a class='technorati-link' href='http://technorati.com/tag/sign' rel='tag' target='_self'>sign</a>, <a class='technorati-link' href='http://technorati.com/tag/signature' rel='tag' target='_self'>signature</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.sapien.com/index.php/2008/02/25/how-do-i-sign-a-windows-powershell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I write a PowerShell function that outputs a table?</title>
		<link>http://blog.sapien.com/index.php/2008/02/20/how-can-i-write-a-powershell-function-that-outputs-a-table/</link>
		<comments>http://blog.sapien.com/index.php/2008/02/20/how-can-i-write-a-powershell-function-that-outputs-a-table/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 19:00:02 +0000</pubDate>
		<dc:creator>Don Jones</dc:creator>
				<category><![CDATA[Ask the Experts]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[objects]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://blog.sapien.com/index.php/2008/02/20/how-can-i-write-a-powershell-function-that-outputs-a-table/</guid>
		<description><![CDATA[This is a REALLY common question, and if you have any experience with VBScript, or Perl, or some similar scripting language, you&#8217;ll go down completely the wrong path. The thing to remember is that PowerShell already knows how to format tables! You just have to give it your data in a way it understands, so [...]]]></description>
			<content:encoded><![CDATA[<p>This is a REALLY common question, and if you have any experience with VBScript, or Perl, or some similar scripting language, you&#8217;ll go down completely the wrong path. The thing to remember is that PowerShell <i>already knows how to format tables</i>! You just have to give it your data in a way it understands, so it can make a table out of it. So what does PowerShell&#8217;s Format-Table cmdlet know how to work with?</p>
<p>Objects.</p>
<p>So the trick is to format whatever data you&#8217;re working with as an object. In other words, let&#8217;s say you have four variables that contain your data: $data1, $data2, $data3, and $data4. You might be tempted to create a table by doing this:</p>
<p>Write-Host $data1 $data2 $data3 $data4</p>
<p>And so forth. You might start your script with a statement that writes out column headers, even. But that&#8217;s not the &quot;PowerShell way&quot; of doing things. Here&#8217;s what is:</p>
<p>
<div class="dp-highlighter">
<div id="bar0" class="bar">
<div class="tools"><a onClick="document.all.code0.style.display='block';document.all.bar0.style.display='none'">show plain-text</a></div>
</div>
<ol class="dp-c" start="1">
<li class="alt"><span>$out = new-object psobject<br />
</span></li>
<li class=""><span>$out | add-member noteproperty ColumnA $data1<br />
</span></li>
<li class="alt"><span>$out | add-member noteproperty ColumnB $data2<br />
</span></li>
<li class=""><span>$out | add-member noteproperty ColumnC $data3<br />
</span></li>
<li class="alt"><span>$out | add-member noteproperty ColumnD $data4</span></li>
</ol>
</div>
<div id="code0" class="plaincode" style="display:none;">$out = new-object psobject<br />
$out | add-member noteproperty ColumnA $data1<br />
$out | add-member noteproperty ColumnB $data2<br />
$out | add-member noteproperty ColumnC $data3<br />
$out | add-member noteproperty ColumnD $data4</div>
</p>
<p>This gives you an object, stored in $out, containing four properties: ColumnA, ColumnB, ColumnC, and ColumnD. Simply output that by using <b>Write-Output $out</b> and you&#8217;re done: PowerShell will happily format it as a table. Since it only has four properties, you don&#8217;t even have to use the Format-Table cmdlet &#8211; PowerShell will choose a table layout automatically.</p>
<p>A bonus of this technique is that you can also use other cmdlets, like Export-CSV, ConvertTo-HTML, and more. By having your output data contained within an object, all of PowerShell&#8217;s various exporting and formatting options become possible, with no extra work on your part.</p>
<p>Think of an &quot;object&quot; as a row in a table; each property of the object becomes a column of the table. Here&#8217;s an example function that accepts a computer name, makes up some data as output, and outputs the object. I&#8217;m reading in a bunch of computer names from a file, and sending each one to the function. The result is a single output table.</p>
<p>
<div class="dp-highlighter">
<div id="bar0" class="bar">
<div class="tools"><a onClick="document.all.code0.style.display='block';document.all.bar0.style.display='none'">show plain-text</a></div>
</div>
<ol class="dp-c" start="1">
<li class="alt"><span>function MakeData($name) {<br />
</span></li>
<li class=""><span>&nbsp;$data1 = $name.ToLower()<br />
</span></li>
<li class="alt"><span>&nbsp;$data2 = $name.ToUpper()<br />
</span></li>
<li class=""><span>&nbsp;$data3 = $name<br />
</span></li>
<li class="alt"><span>&nbsp;$out = new-object psobject<br />
</span></li>
<li class=""><span>&nbsp;$out | add-member noteproperty LowerCase $data1<br />
</span></li>
<li class="alt"><span>&nbsp;$out | add-member noteproperty UpperCase $data2<br />
</span></li>
<li class=""><span>&nbsp;$out | add-member noteproperty Original $data3<br />
</span></li>
<li class="alt"><span>&nbsp;write-output $out<br />
</span></li>
<li class=""><span>}<br />
</span></li>
<li class="alt"><span>$computers = get-content c:\names.txt<br />
</span></li>
<li class=""><span>foreach ($computer in $computers) {<br />
</span></li>
<li class="alt"><span>&nbsp;makedata $computer<br />
</span></li>
<li class=""><span>}</span></li>
</ol>
</div>
<div id="code0" class="plaincode" style="display:none;">function MakeData($name) {<br />
&nbsp;$data1 = $name.ToLower()<br />
&nbsp;$data2 = $name.ToUpper()<br />
&nbsp;$data3 = $name<br />
&nbsp;$out = new-object psobject<br />
&nbsp;$out | add-member noteproperty LowerCase $data1<br />
&nbsp;$out | add-member noteproperty UpperCase $data2<br />
&nbsp;$out | add-member noteproperty Original $data3<br />
&nbsp;write-output $out<br />
}<br />
$computers = get-content c:\names.txt<br />
foreach ($computer in $computers) {<br />
&nbsp;makedata $computer<br />
}</div>
</p>
<p>I could actually have written the function to accept pipeline input directly, making this possible:</p>
<p>
<div class="dp-highlighter">
<div id="bar0" class="bar">
<div class="tools"><a onClick="document.all.code0.style.display='block';document.all.bar0.style.display='none'">show plain-text</a></div>
</div>
<ol class="dp-c" start="1">
<li class="alt"><span>gc c:\names.txt | makedata</span></li>
</ol>
</div>
<div id="code0" class="plaincode" style="display:none;">gc c:\names.txt | makedata</div>
</p>
<p>But I didn&#8217;t, simply because the way I used is a bit easier to follow as a learning example. So, the moral: Don&#8217;t output text. Output objects.</p>
<p>Thanks to <b>Jon</b> for sending this one in.</p>
<p>&nbsp;</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F&amp;title=How+can+I+write+a+PowerShell+function+that+outputs+a+table%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F&amp;title=How+can+I+write+a+PowerShell+function+that+outputs+a+table%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F&amp;title=How+can+I+write+a+PowerShell+function+that+outputs+a+table%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F&amp;title=How+can+I+write+a+PowerShell+function+that+outputs+a+table%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F&amp;title=How+can+I+write+a+PowerShell+function+that+outputs+a+table%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F&amp;title=How+can+I+write+a+PowerShell+function+that+outputs+a+table%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F20%2Fhow-can-i-write-a-powershell-function-that-outputs-a-table%2F&amp;title=How+can+I+write+a+PowerShell+function+that+outputs+a+table%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>
<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/format' rel='tag' target='_self'>format</a>, <a class='technorati-link' href='http://technorati.com/tag/formatting' rel='tag' target='_self'>formatting</a>, <a class='technorati-link' href='http://technorati.com/tag/objects' rel='tag' target='_self'>objects</a>, <a class='technorati-link' href='http://technorati.com/tag/output' rel='tag' target='_self'>output</a>, <a class='technorati-link' href='http://technorati.com/tag/powershell' rel='tag' target='_self'>powershell</a>, <a class='technorati-link' href='http://technorati.com/tag/table' rel='tag' target='_self'>table</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.sapien.com/index.php/2008/02/20/how-can-i-write-a-powershell-function-that-outputs-a-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can I run PowerShell scripts on Windows Server 2008 Server Core?</title>
		<link>http://blog.sapien.com/index.php/2008/02/14/can-i-run-powershell-scripts-on-windows-server-2008-server-core/</link>
		<comments>http://blog.sapien.com/index.php/2008/02/14/can-i-run-powershell-scripts-on-windows-server-2008-server-core/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 20:09:49 +0000</pubDate>
		<dc:creator>Don Jones</dc:creator>
				<category><![CDATA[Ask the Experts]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[server core]]></category>
		<category><![CDATA[win2008]]></category>

		<guid isPermaLink="false">http://blog.sapien.com/index.php/2008/02/14/can-i-run-powershell-scripts-on-windows-server-2008-server-core/</guid>
		<description><![CDATA[&#160;Ah, this is what everyone really wishes for, isn&#8217;t it? Which, as you might have guessed from that intro, the answer is &#34;no.&#34; See, PowerShell requires bits of the .NET Framework in order to run. Not the whole thing, you understand, just pieces &#8211; a fairly small subset, in fact. Unfortunately, you don&#8217;t get the [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;Ah, this is what everyone really wishes for, isn&#8217;t it? Which, as you might have guessed from that intro, the answer is &quot;no.&quot; See, PowerShell requires bits of the .NET Framework in order to run. Not the whole thing, you understand, just pieces &#8211; a fairly small subset, in fact. Unfortunately, you don&#8217;t get the Framework in pieces, you get the whole wodge in one big piece. That whole wodge was more moving parts than the Server Core folks wanted to have to deal with, since the entire Framework has its own dependencies on underlying bits of Windows &#8211; bits which Server Core doesn&#8217;t necessarily include. Like graphical stuff. So, until they modularize the Framework a bit, no PowerShell on Server Core.</p>
<p>But that doesn&#8217;t mean you can&#8217;t use PowerShell to manage Server Core. After all, the point of Server Core is to<i> *not log onto the console at all,*</i> so it shouldn&#8217;t really matter what&#8217;s <i>*on*</i> Server Core. What matters is what&#8217;s on <i>*your management workstation.*</i> So you run PowerShell there, and manage Server Core remotely using technologies like ADSI and WMI, and add-on cmdlets like the <a href="http://www.quest.com/powershell">Quest PowerShell cmdlets</a>.</p>
<p>Thanks to <b>Dave</b> for submitting this question. Submit yours on our &quot;Ask the Experts&quot; page at <a href="http://blog.sapien.com">http://blog.sapien.com</a>.&nbsp;</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F&amp;title=Can+I+run+PowerShell+scripts+on+Windows+Server+2008+Server+Core%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F&amp;title=Can+I+run+PowerShell+scripts+on+Windows+Server+2008+Server+Core%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F&amp;title=Can+I+run+PowerShell+scripts+on+Windows+Server+2008+Server+Core%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F&amp;title=Can+I+run+PowerShell+scripts+on+Windows+Server+2008+Server+Core%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F&amp;title=Can+I+run+PowerShell+scripts+on+Windows+Server+2008+Server+Core%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F&amp;title=Can+I+run+PowerShell+scripts+on+Windows+Server+2008+Server+Core%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.sapien.com%2Findex.php%2F2008%2F02%2F14%2Fcan-i-run-powershell-scripts-on-windows-server-2008-server-core%2F&amp;title=Can+I+run+PowerShell+scripts+on+Windows+Server+2008+Server+Core%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>
<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/framework' rel='tag' target='_self'>framework</a>, <a class='technorati-link' href='http://technorati.com/tag/powershell' rel='tag' target='_self'>powershell</a>, <a class='technorati-link' href='http://technorati.com/tag/server+core' rel='tag' target='_self'>server core</a>, <a class='technorati-link' href='http://technorati.com/tag/win2008' rel='tag' target='_self'>win2008</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.sapien.com/index.php/2008/02/14/can-i-run-powershell-scripts-on-windows-server-2008-server-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
