<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Poshoholic</title>
	<atom:link href="http://poshoholic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://poshoholic.com</link>
	<description>Totally addicted to PowerShell</description>
	<lastBuildDate>Wed, 11 Aug 2010 04:01:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='poshoholic.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/39e81c89b01efbd96b0f3f2df6e23019?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Poshoholic</title>
		<link>http://poshoholic.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://poshoholic.com/osd.xml" title="Poshoholic" />
	<atom:link rel='hub' href='http://poshoholic.com/?pushpress=hub'/>
		<item>
		<title>PowerGUI 2.2 public beta is now available!</title>
		<link>http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/</link>
		<comments>http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 03:59:22 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[beta]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/08/10/powergui-2-2-public-beta-is-now-available/</guid>
		<description><![CDATA[Today we released a public beta of our upcoming PowerGUI 2.2 release.&#160; This beta includes a very significant change to our debugger as well as compatibility support with version 1.4 of the Quest AD cmdlets.&#160; Here are a few of the improvements that come with the new debugger: Native support for the PowerShell 2.0 debugger, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=404&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today we released a public beta of our upcoming <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> 2.2 release.&#160; This beta includes a very significant change to our debugger as well as compatibility support with version 1.4 of the <a title="Quest AD cmdlets" href="http://www.quest.com/activeroles-server/arms.aspx" target="_blank">Quest AD cmdlets</a>.&#160; Here are a few of the improvements that come with the new debugger:</p>
<ul>
<li>Native support for the PowerShell 2.0 debugger, including command-line management of breakpoints using Disable-PSBreakpoint, Enable-PSBreakpoint, Get-PSBreakpoint, Remove-PSBreakpoint and Set-PSBreakpoint;</li>
<li>Advanced breakpoint support such as command and variable breakpoints through the PSBreakpoint cmdlets;</li>
<li>$MyInvocation support in scripts that you are debugging (this has been an issue we have wanted to fix for a long time)</li>
<li>Start-Job and Invoke-Command support in scripts that you are debugging (this was another issue that had to be worked around that is fixed by the new debugger);</li>
</ul>
<p>This is the first public beta that we have had in a while, so I want to make sure everyone interested knows how the beta works.&#160; It’s a pretty straightforward process, as follows:</p>
<ol>
<li>If you are interested in trying out the beta, go to the <a title="PowerGUI 2.2 public beta" href="http://www.powergui.org/entry.jspa?categoryID=299&amp;externalID=2961" target="_blank">beta download page</a> and follow the instructions to download and install the beta.&#160; If you are using PowerGUI 2.1.1, it will automatically be upgraded when you install the beta.</li>
<li>Use the beta just like you would use the previous version of PowerGUI.</li>
<li>If you run into any issues, please notify us on the <a title="PowerGUI 2.2 public beta forum" href="http://www.powergui.org/forum.jspa?forumID=907" target="_blank">PowerGUI 2.2 public beta forum</a>.</li>
</ol>
<p>That’s pretty much it.&#160; I should also note that auto-update from the beta version of PowerGUI 2.2 to the RTM version of PowerGUI 2.2 will be supported.</p>
<p>We’re looking forward to your feedback, so please <a title="PowerGUI 2.2 public beta" href="http://www.powergui.org/entry.jspa?categoryID=299&amp;externalID=2961" target="_blank">download the beta</a> and let us know what you think!</p>
<p>Kirk out.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:31245082-ca24-4d4b-98f8-187cf2dc8413" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/beta" rel="tag">beta</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/&amp;title=PowerGUI 2.2 public beta is now available!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/&amp;;title=PowerGUI 2.2 public beta is now available!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/&amp;title=PowerGUI 2.2 public beta is now available!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/&amp;title=PowerGUI 2.2 public beta is now available!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/&amp;title=PowerGUI 2.2 public beta is now available!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/&amp;title=PowerGUI 2.2 public beta is now available!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/&amp;t=PowerGUI 2.2 public beta is now available!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/404/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/404/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/404/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=404&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/08/10/powergui-2-2-public-beta-is-now-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerGUI Script Editor Essentials</title>
		<link>http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/</link>
		<comments>http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 15:30:46 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[Add-on]]></category>
		<category><![CDATA[Essential PowerShell]]></category>
		<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/07/29/powergui-script-editor-essentials/</guid>
		<description><![CDATA[Have you ever thought to yourself that it would be great if the PowerGUI Script Editor would allow you to… …select all of my files and open them at one time; or …turn on line/word wrap? How about if it would allow you to… …view white space characters (tabs and spaces); or …move the cursor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=399&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have you ever thought to yourself that it would be great if the <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> Script Editor would allow you to…</p>
<blockquote><p>…<a href="http://www.powergui.org/thread.jspa?threadID=10248&amp;tstart=1" target="_blank">select all of my files and open them at one time</a>; or</p>
<p>…<a href="http://www.powergui.org/thread.jspa?threadID=8922" target="_blank">turn on line/word wrap</a>?</p>
</blockquote>
<p>How about if it would allow you to…</p>
<blockquote><p>…view white space characters (tabs and spaces); or</p>
<p>…move the cursor through the whitespace outside of a document while you edit the same column in multiple lines in your script; or</p>
<p>…zoom in or out using Ctrl+Add or Ctrl+Subtract so that you can adjust the font as necessary during presentations?</p>
</blockquote>
<p>Some of these features were requested by members of our community, and others are features that I have wished for at one point or another.&#160; As of today you can get all of these features in the <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> Script Editor by simply downloading and installing the <a title="PowerGUI Script Editor Essentials Add-on" href="http://www.powergui.org/entry!default.jspa?categoryID=387&amp;externalID=2952" target="_blank">Script Editor Essentials Add-on</a>!</p>
<p>How do I do that you ask?&#160; Simply visit the <a title="PowerGUI Script Editor Essentials Add-on" href="http://www.powergui.org/entry!default.jspa?categoryID=387&amp;externalID=2952" target="_blank">Script Editor Essentials Add-on</a> page and follow the installation instructions.&#160; It shouldn’t take more than a few minutes to set up.&#160; Once you have it set up, you can start using the new features right away.&#160; For example, to enable the new features that affect your open documents, take a look at the new menu items in the <strong>Edit | Advanced</strong> menu:</p>
<p><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="ScriptEditorEssentials.EditAdvancedMenuExtensions.png" border="0" alt="ScriptEditorEssentials.EditAdvancedMenuExtensions.png" src="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlab72a52.png?w=600&#038;h=565" width="600" height="565" /></p>
<p>That menu allows you to enable the <strong>view white space</strong>, <strong>word wrap</strong>, or <strong>virtual white space</strong> features.&#160; If you enable <strong>view white space</strong>, you’ll see tabs appear as arrows and spaces appear as dots, like in this screenshot:</p>
<p><img style="border-bottom:0;border-left:0;display:inline;margin-left:0;border-top:0;margin-right:0;border-right:0;" title="ScriptEditorEssentials.ViewWhiteSpace.png" border="0" alt="ScriptEditorEssentials.ViewWhiteSpace.png" src="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlab9d87b.png?w=600&#038;h=511" width="600" height="511" /></p>
<p>You can also turn on <strong>word wrap</strong>, which is great when working with documents that contain long lines of PowerShell script (unless you like scrolling back and forth horizontally when reading script lines).&#160; It even shows a small arrow at the end of any lines that are wrapped, making it easier to distinguish between lines that wrap and lines that don’t:</p>
<p><img style="border-bottom:0;border-left:0;display:inline;margin-left:0;border-top:0;margin-right:0;border-right:0;" title="ScriptEditorEssentials.WordWrap.png" border="0" alt="ScriptEditorEssentials.WordWrap.png" src="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlabb9747.png?w=600&#038;h=508" width="600" height="508" /></p>
<p>All of these features can be turned on at the same time, allowing you to customize your experience for your needs, and the configuration is saved so that it persists between sessions.&#160; Here’s another screenshot showing the <strong>virtual white space</strong> feature, which allows you to place the cursor anywhere on any line (normally you cannot place the cursor beyond the end of a line):</p>
<p><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="ScriptEditorEssentials.VirtualWhiteSpace.png" border="0" alt="ScriptEditorEssentials.VirtualWhiteSpace.png" src="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlabf2e0a.png?w=600&#038;h=466" width="600" height="466" /></p>
<p>This feature can come in quite handy when you are modifying script on multiple lines in a similar column position, and when those lines aren’t necessarily adjacent to one another (I’ve had this experience which made me wish for this feature myself).</p>
<p>Do you ever show PowerShell to others, either via the web using desktop sharing or LiveMeeting or perhaps during presentations?&#160; Being able to <strong>zoom in</strong> and <strong>zoom out</strong> on the fly can be useful if you do, so you may like these new menu items:</p>
<p><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="ScriptEditorEssentials.ViewMenu.png" border="0" alt="ScriptEditorEssentials.ViewMenu.png" src="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlac19e78.png?w=600&#038;h=414" width="600" height="414" /></p>
<p>They will increase or decrease the font size in the open documents as well as in the embedded PowerShell console by 1.&#160; You can do this without this Add-on today by using Ctrl while moving your mouse wheel, but it is can be very difficult to control depending on your mouse sensitivity and it increases or decreases the font size by 10% instead of by a fixed value, plus it sets all fonts to the same font, which may not give you the results you are looking for (if you use the <a title="PowerGUI Script Editor Blue Console Add-on" href="http://www.powergui.org/entry.jspa?externalID=2952&amp;categoryID=387" target="_blank">Blue Console Add-on</a>, it applies a different font to the embedded console window).&#160; The keyboard shortcuts for these menu items are very useful to learn if you ever show PowerShell to anyone while using the <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> Script Editor.</p>
<p>And last, but not least, I have wanted to have <strong>multi-select</strong> support in the File Open dialog for a long time.&#160; That support is now available, and while I was adding it I also flushed out the list of file extensions to include all PowerShell file extensions plus other extensions commonly used with PowerShell.&#160; Here’s what that looks like once this Add-on is installed (you can click on the image to see it full size):</p>
<p><a href="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlafc0b3f.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="ScriptEditorEssentials.FileOpen" border="0" alt="ScriptEditorEssentials.FileOpen" src="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlafc0b3f_thumb.png?w=600&#038;h=445" width="600" height="445" /></a></p>
<p>I would really appreciate any feedback that you would like to share on this (or any other) Script Editor Add-on.&#160; I’ve called this <strong>Script Editor Essentials</strong> because it contains a variety of general editor features that I think are essential for anyone using the <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> Script Editor without being tied to a specific need.&#160; That doesn’t mean it contains everything that is essential though, and there are a lot of other <a title="PowerGUI Script Editor Add-ons" href="http://www.powergui.org/kbcategory.jspa?categoryID=387" target="_blank">Script Editor Add-ons</a> available that you should take a look at to see the other options available to you to enhance your script editing experience.&#160; What features would you consider essential to you as you work with PowerShell files in the Script Editor that are not yet available in the core product or as an Add-on?&#160; Let me know in the comments or on the <a title="PowerGUI Forums - a rich community forum where you can ask questions about PowerShell or PowerGUI" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">PowerGUI Forums</a> so that we can make sure we’re meeting your needs.</p>
<p>Also, I would be remiss if I didn’t point out that this Add-on, as well as all other Add-ons, are created using PowerShell modules.&#160; There’s even an Add-on <a title="PowerGUI Script Editor Authoring Toolkit Add-on" href="http://www.powergui.org/entry.jspa?externalID=2893&amp;categoryID=387" target="_blank">Authoring Toolkit</a> that makes it easier to create Script Editor Add-ons, along with a <a title="Tutorial : Building your first PowerGUI Script Editor Add-on" href="http://www.powergui.org/entry.jspa?externalID=2894&amp;categoryID=387" target="_blank">tutorial</a> showing you how you can create your own Add-ons!&#160; Creating an Add-on can be pretty easy to do, so don’t be afraid to give it a try and use the <a title="PowerGUI Forums - a rich community forum where you can ask questions about PowerShell or PowerGUI" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">PowerGUI Forums</a> to ask questions as needed.</p>
<p>Hopefully this will be a useful and welcome addition to your PowerGUI experience.&#160; Enjoy!</p>
<p>Kirk out.</p>
</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:36cc0a5f-11db-4fb4-b470-085d2d7b7393" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerGUI+Pro" rel="tag">PowerGUI Pro</a>,<a href="http://technorati.com/tags/Add-on" rel="tag">Add-on</a></div>
<p>   <span class="sbmLink"></span><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/&amp;title=PowerGUI Script Editor Essentials" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/&amp;;title=PowerGUI Script Editor Essentials" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/&amp;title=PowerGUI Script Editor Essentials" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/&amp;title=PowerGUI Script Editor Essentials" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/&amp;title=PowerGUI Script Editor Essentials" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/&amp;title=PowerGUI Script Editor Essentials" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/&amp;t=PowerGUI Script Editor Essentials" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/399/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=399&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/07/29/powergui-script-editor-essentials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlab72a52.png" medium="image">
			<media:title type="html">ScriptEditorEssentials.EditAdvancedMenuExtensions.png</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlab9d87b.png" medium="image">
			<media:title type="html">ScriptEditorEssentials.ViewWhiteSpace.png</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlabb9747.png" medium="image">
			<media:title type="html">ScriptEditorEssentials.WordWrap.png</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlabf2e0a.png" medium="image">
			<media:title type="html">ScriptEditorEssentials.VirtualWhiteSpace.png</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlac19e78.png" medium="image">
			<media:title type="html">ScriptEditorEssentials.ViewMenu.png</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/07/snaghtmlafc0b3f_thumb.png" medium="image">
			<media:title type="html">ScriptEditorEssentials.FileOpen</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>VMware Infrastructure Management PowerPack &#8211; now with Visio 2010 support!</title>
		<link>http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/</link>
		<comments>http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 02:57:30 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerPack]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Virtualization EcoShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[PowerCLI]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/</guid>
		<description><![CDATA[Tonight I have published a new version of the VMware Infrastructure Management PowerPack.&#160; This release (version 2.4.0) is the first release that provides near 100% feature parity between both PowerGUI and the Virtualization EcoShell.&#160; I say near 100% feature parity because PowerGUI supports displaying progress dialogs during calls to Write-Progress but the Virtualization EcoShell does [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=389&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tonight I have published a new version of the <a title="VMware Infrastructure Management PowerPack" href="http://www.powergui.org/entry.jspa?categoryID=21&amp;externalID=1802" target="_blank">VMware Infrastructure Management PowerPack</a>.&#160; This release (version 2.4.0) is the first release that provides near 100% feature parity between both <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> and the Virtualization EcoShell.&#160; I say near 100% feature parity because <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> supports displaying progress dialogs during calls to Write-Progress but the Virtualization EcoShell does not, so <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> users have a minor leg up over the Virtualization EcoShell experience.&#160; Depending on what environment you are coming from, you will notice some of the following improvements to this PowerPack:</p>
<ul>
<li>Visio 2010 support for vDiagram functionality</li>
<li>Charts for virtual machines, datastores, and resource configuration data</li>
<li>Progress bars during the rendering of diagrams created with the vDiagram functionality</li>
<li>Improved layout in the nodes in the tree</li>
<li>Simplified connection logic, making it easier for you to reuse scripts generated by the PowerPack</li>
<li>Additional minor bug fixes</li>
</ul>
<p>Note that version 4.1 of the VMware PowerCLI is not supported with this release at this time, due to <a title="PowerCLI 4.1: A fork in the road" href="http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/" target="_blank">a number of issues</a>.&#160; For now the only supported version of the VMware PowerCLI is version 4.0 U1.</p>
<p>If you are an existing user of this PowerPack, you will automatically get notified about the new version.&#160; If you haven’t looked at this PowerPack yet and you manage VMware vSphere, Virtual Center, ESX, or ESXi hosts, I strongly encourage you to give this PowerPack a try.&#160; You can download it <a title="VMware Infrastructure Management PowerPack" href="http://www.powergui.org/entry.jspa?categoryID=21&amp;externalID=1802" target="_blank">here</a>.&#160; It provides an excellent management experience over those VMware hosts, and it’s free!</p>
<p>As usual, many of the enhancements we add in these releases are based on customer feedback on the <a title="PowerGUI Forums - a rich community forum where you can ask questions about PowerShell or PowerGUI" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">PowerGUI Forums</a>.&#160; If you’d like to see more improvements to this PowerPack, please speak up and let us know on the forums.&#160; We’re always listening!</p>
<p>Kirk out.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:68ab65a2-2392-4a20-b8ca-f016fd207041" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerGUI+Pro" rel="tag">PowerGUI Pro</a>,<a href="http://technorati.com/tags/Virtualization+EcoShell" rel="tag">Virtualization EcoShell</a>,<a href="http://technorati.com/tags/PowerCLI" rel="tag">PowerCLI</a>,<a href="http://technorati.com/tags/PowerPack" rel="tag">PowerPack</a>,<a href="http://technorati.com/tags/VMware" rel="tag">VMware</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/&amp;title=VMware Infrastructure Management PowerPack - Now with Visio 2010 support!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/&amp;;title=VMware Infrastructure Management PowerPack - Now with Visio 2010 support!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/&amp;title=VMware Infrastructure Management PowerPack - Now with Visio 2010 support!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/&amp;title=VMware Infrastructure Management PowerPack - Now with Visio 2010 support!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/&amp;title=VMware Infrastructure Management PowerPack - Now with Visio 2010 support!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/&amp;title=VMware Infrastructure Management PowerPack - Now with Visio 2010 support!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/&amp;t=VMware Infrastructure Management PowerPack - Now with Visio 2010 support!" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/389/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=389&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/07/15/vmware-infrastructure-management-powerpack-now-with-visio-2010-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerCLI 4.1: A fork in the road</title>
		<link>http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/</link>
		<comments>http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 17:05:55 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Virtualization EcoShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/07/14/powercli-4-1-a-fork-in-the-road/</guid>
		<description><![CDATA[Earlier this week, VMware released version 4.1 of the PowerCLI.&#160; This release brings some great improvements that the community has been waiting for, and you can read about them on the VMware PowerCLI site and a number of other blogs that have been publicizing the release.&#160; I’m not here to talk about the new features [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=387&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Earlier this week, VMware released <a title="PowerCLI 4.1 is out" href="http://blogs.vmware.com/vipowershell/2010/07/powercli-41-is-out.html" target="_blank">version 4.1 of the PowerCLI</a>.&#160; This release brings some great improvements that the community has been waiting for, and you can read about them on the VMware PowerCLI site and a number of other blogs that have been publicizing the release.&#160; I’m not here to talk about the new features and improvements however.&#160; I’m writing this to notify you about the breaking changes that were introduced in this release that haven’t been discussed externally but that you will want to know about.</p>
<p>With version 4.1 of the PowerCLI, the VMware team has changed the namespaces used in the object model behind the PowerCLI.&#160; The objects themselves have stayed the same, but the namespaces have changed.&#160; This change has a number of impacts once PowerCLI 4.1 is installed, including but not limited to the following:</p>
<ul>
<li>Any PowerShell function that uses strongly typed parameter names with the VMware PowerCLI 4.0 or earlier type names will no longer function properly without an update.</li>
<li>Any PowerShell script that uses the is or as operators with the VMware PowerCLI 4.0 or earlier type names type names will no longer function properly without an update.</li>
<li>Any <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> extensions (read: PowerPacks) written for PowerCLI 4.0 or earlier will no longer function properly without an update.</li>
<li>Any PowerShell scripts that use the VMware PowerCLI 4.0 or earlier type names inside of Add-Type calls will no longer function properly.</li>
</ul>
<p>In general, any code or script written that is dependent on these type names will have issues once you upgrade to PowerCLI 4.1.&#160; It also means that once these items that don’t work with 4.1 are updated, they may no longer work with PowerCLI 4.0 and earlier.&#160; Also note that these are just PowerShell-related impacts.&#160; If you’re using other languages to manage or automate VMware you need to be aware of the impacts for those languages as well.</p>
<p>Here are a few PowerShell-specific examples of the impact of these breaking changes:</p>
<ol>
<li>The <a href="http://vitoolkitextensions.codeplex.com/">PowerCLI Community Extensions</a> won’t work with PowerCLI 4.1 until they have been updated, and once they have been updated they will not work with PowerCLI 4.0 and earlier as long as they continue to use strongly typed parameter names (which they should).</li>
<li>Scripts on PoshCode like <a href="http://poshcode.org/575">this one</a> and <a href="http://poshcode.org/1535">this one</a> will suffer the same fate since they use strongly typed parameters in the advanced functions.</li>
<li>Blog posts like <a title="PowerCLI: Copy a resource pool (or a hundred)" href="http://get-admin.com/blog/?p=775" target="_blank">this one from Glenn Sizemore</a> and <a title="Assigning Permissions - PowerCLI" href="http://technodrone.blogspot.com/2009/12/assigning-permissions-powercli.html" target="_blank">this one by Maish Saidel-Keesing</a> will only work with PowerCLI 4.0 and earlier unless they are updated.</li>
<li>The VMware Infrastructure PowerPack for PowerGUI and the Virtualization EcoShell will return data from the nodes, however actions will not appear and icons and charts will not show up in the grid.</li>
<li>The VMware Community PowerPack for PowerGUI and the Virtualization EcoShell will return data from the nodes, however actions will not appear and icons and charts will not show up in the grid.</li>
<li>Any blog posts that mentions PowerCLI object types will now be out of date.</li>
<li>Books like <a title="Managing VMware Infrastructure with Windows PowerShell: TFM" href="http://www.sapienpress.com/vmware.asp" target="_blank">this one</a> will contain examples that are now broken.</li>
</ol>
<p>As you can see, the PowerCLI 4.1 release comes with changes that are pretty far reaching, and they are definitely going to cause confusion in the community.&#160; Unfortunately, since these changes are now in the wild, we’re at a fork in the road where some community contributions will only support 4.0 and earlier for a while and others, as they start supporting 4.1 and later, may only support 4.1 and later depending on how they add that support.&#160; Changes like this are never fun, so please be aware of these changes when considering when to upgrade PowerCLI in your environment.</p>
<p>As far as the PowerPack issues go, we will add support for the PowerCLI 4.1 release to the VMware Infrastructure PowerPack soon, but it will take a little while for us to work out the details and do the appropriate testing.&#160; Until then, please don’t upgrade the PowerCLI on your systems where you use the VMware Infrastructure PowerPack.</p>
<p>Thanks,</p>
<p>Kirk out.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:46a7caa0-f9e5-4df3-b39d-2387bb9037c5" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerGUI+Pro" rel="tag">PowerGUI Pro</a>,<a href="http://technorati.com/tags/Virtualization+EcoShell" rel="tag">Virtualization EcoShell</a>,<a href="http://technorati.com/tags/PowerCLI" rel="tag">PowerCLI</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/&amp;title=PowerCLI 4.1: A fork in the road" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/&amp;;title=PowerCLI 4.1: A fork in the road" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/&amp;title=PowerCLI 4.1: A fork in the road" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/&amp;title=PowerCLI 4.1: A fork in the road" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/&amp;title=PowerCLI 4.1: A fork in the road" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/&amp;title=PowerCLI 4.1: A fork in the road" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/&amp;t=PowerCLI 4.1: A fork in the road" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=387&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/07/14/powercli-4-1-a-fork-in-the-road/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Discover dormant AD accounts with the Windows Security PowerPack</title>
		<link>http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/</link>
		<comments>http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 20:09:36 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerPack]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Last week I had the pleasure of participating in a webinar with Randy Franklin Smith of Ultimate Windows Security fame where we demonstrated and discussed the Windows Security PowerPack that was recently published in the PowerPack Library.  Randy’s a great guy to present with and this webinar was a lot of fun.  Judging by the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=378&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week I had the pleasure of participating in a <a title="Find dormant AD accounts with PowerShell PowerPack" href="http://www.quest.com/events/ListDetails.aspx?ContentID=11758" target="_blank">webinar</a> with Randy Franklin Smith of <a title="Ultimate Windows Security" href="http://www.ultimatewindowssecurity.com/Default.aspx" target="_blank">Ultimate Windows Security</a> fame where we demonstrated and discussed the <a title="Windows Security PowerPack" href="http://www.powergui.org/entry.jspa?externalID=2906&amp;categoryID=21" target="_blank">Windows Security PowerPack</a> that was recently published in the <a title="PowerPack Library" href="http://www.powergui.org/kbcategory.jspa?categoryID=21" target="_blank">PowerPack Library</a>.  Randy’s a great guy to present with and this webinar was a lot of fun.  Judging by the amount of questions and positive feedback we’ve received, it seemed to generate a lot of interest  as well.</p>
<p>A recording of the webinar is now available, so if you missed catching it live you can go <a title="Find dormant AD accounts with PowerShell PowerPack" href="http://www.quest.com/events/ListDetails.aspx?ContentID=11758" target="_blank">here</a> and watch it at your leisure.  You won’t be able to ask questions during the presentation of course, but that’s what the comments on this blog and the <a title="PowerGUI Forums - a rich community forum where you can ask questions about PowerShell or PowerGUI" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">PowerGUI Forums</a> are for. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Enjoy!</p>
<p>Kirk out.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5198b9c9-36ef-4e7b-af94-ca71c3a4614a" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI">PowerGUI</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI+Pro">PowerGUI Pro</a>,<a rel="tag" href="http://technorati.com/tags/PowerPack">PowerPack</a></div>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/&amp;title=Discover dormant AD accounts with the Windows Security PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/&amp;;title=Discover dormant AD accounts with the Windows Security PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/&amp;title=Discover dormant AD accounts with the Windows Security PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/&amp;title=Discover dormant AD accounts with the Windows Security PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/&amp;title=Discover dormant AD accounts with the Windows Security PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/&amp;title=Discover dormant AD accounts with the Windows Security PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/&amp;t=Discover dormant AD accounts with the Windows Security PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=378&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/06/23/discover-dormant-ad-accounts-with-the-windows-security-powerpack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerShell Quick Tip: Getting all of the members of an object</title>
		<link>http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/</link>
		<comments>http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 21:23:32 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Quick Tip]]></category>
		<category><![CDATA[Get-Member]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[Quick Tip]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/</guid>
		<description><![CDATA[If you weren’t already aware, using the Get-Member cmdlet is essential to understanding what you can do with PowerShell.&#160; Get-Member allows you to identify the members (properties, methods, events, etc.) that are available on the objects you are working with.&#160; What some people don’t realize with Get-Member however is that by default it does not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=376&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you weren’t already aware, using the <strong>Get-Member</strong> cmdlet is essential to understanding what you can do with PowerShell.&#160; Get-Member allows you to identify the members (properties, methods, events, etc.) that are available on the objects you are working with.&#160; What some people don’t realize with Get-Member however is that by default it does not identify all members that are available on the objects that are passed into it.</p>
<p>For example, let’s take a look at how you might use Get-Member to see what you can do with Win32_BIOS objects, like this:</p>
<blockquote><p><font size="2" face="Courier New">Get-WmiObject Win32_BIOS | Get-Member</font></p>
</blockquote>
<p>That command yields the following results:</p>
<blockquote><p><font size="2" face="Courier New">&#160;&#160; TypeName: System.Management.ManagementObject#root\cimv2\Win32_BIOS </font></p>
<p><font size="2" face="Courier New">Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MemberType&#160;&#160; Definition       <br />&#8212;-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8212;&#8212;&#8212;-&#160;&#160; &#8212;&#8212;&#8212;-        <br />BiosCharacteristics&#160;&#160; Property&#160;&#160;&#160;&#160; System.UInt16[] BiosCharacteristics {get;set;}        <br />BIOSVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String[] BIOSVersion {get;set;}        <br />BuildNumber&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String BuildNumber {get;set;}        <br />Caption&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String Caption {get;set;}        <br />CodeSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String CodeSet {get;set;}        <br />CurrentLanguage&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String CurrentLanguage {get;set;}        <br />Description&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String Description {get;set;}        <br />IdentificationCode&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String IdentificationCode {get;set;}        <br />InstallableLanguages&#160; Property&#160;&#160;&#160;&#160; System.UInt16 InstallableLanguages {get;set;}        <br />InstallDate&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String InstallDate {get;set;}        <br />LanguageEdition&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String LanguageEdition {get;set;}        <br />ListOfLanguages&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String[] ListOfLanguages {get;set;}        <br />Manufacturer&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String Manufacturer {get;set;}        <br />Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String Name {get;set;}        <br />OtherTargetOS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String OtherTargetOS {get;set;}        <br />PrimaryBIOS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.Boolean PrimaryBIOS {get;set;}        <br />ReleaseDate&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String ReleaseDate {get;set;}        <br />SerialNumber&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String SerialNumber {get;set;}        <br />SMBIOSBIOSVersion&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String SMBIOSBIOSVersion {get;set;}        <br />SMBIOSMajorVersion&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.UInt16 SMBIOSMajorVersion {get;set;}        <br />SMBIOSMinorVersion&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.UInt16 SMBIOSMinorVersion {get;set;}        <br />SMBIOSPresent&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.Boolean SMBIOSPresent {get;set;}        <br />SoftwareElementID&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String SoftwareElementID {get;set;}        <br />SoftwareElementState&#160; Property&#160;&#160;&#160;&#160; System.UInt16 SoftwareElementState {get;set;}        <br />Status&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String Status {get;set;}        <br />TargetOperatingSystem Property&#160;&#160;&#160;&#160; System.UInt16 TargetOperatingSystem {get;set;}        <br />Version&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String Version {get;set;}        <br />__CLASS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String __CLASS {get;set;}        <br />__DERIVATION&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String[] __DERIVATION {get;set;}        <br />__DYNASTY&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String __DYNASTY {get;set;}        <br />__GENUS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.Int32 __GENUS {get;set;}        <br />__NAMESPACE&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String __NAMESPACE {get;set;}        <br />__PATH&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String __PATH {get;set;}        <br />__PROPERTY_COUNT&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.Int32 __PROPERTY_COUNT {get;set;}        <br />__RELPATH&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String __RELPATH {get;set;}        <br />__SERVER&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String __SERVER {get;set;}        <br />__SUPERCLASS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160; System.String __SUPERCLASS {get;set;}        <br />PSStatus&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; PropertySet&#160; PSStatus {Status, Name, Caption, SMBIOSPresent}        <br />ConvertFromDateTime&#160;&#160; ScriptMethod System.Object ConvertFromDateTime();        <br />ConvertToDateTime&#160;&#160;&#160;&#160; ScriptMethod System.Object ConvertToDateTime();</font></p>
</blockquote>
<p>That’s a pretty good list of 40 members, but there are actually many more that you might like to see as well.&#160; For example, it can be useful to see the different member sets available on an object as well as any get_ and set_ methods that object has.&#160; You can see that information by using the <strong>–Force</strong> parameter with Get-Member.&#160; It can also be useful to see any hidden members that an object has, whether they come from the base member set, extended member set, or adapted member set.&#160; To see all of these hidden members, you can use the <strong>–View</strong> parameter and specify you want to see members from <strong>All</strong> views.&#160; When you put the –Force and –View parameters together, you end up with the following command:</p>
<blockquote><p><font size="2" face="Courier New">Get-WmiObject Win32_BIOS | Get-Member -Force -View All</font></p>
</blockquote>
<p>Running that command yields the following results:</p>
<blockquote><p><font size="2" face="Courier New">&#160;&#160; TypeName: System.Management.ManagementObject#root\cimv2\Win32_BIOS </font></p>
<p><font size="2" face="Courier New">Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MemberType&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Definition       <br />&#8212;-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8212;&#8212;&#8212;-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8212;&#8212;&#8212;-        <br />pstypenames&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CodeProperty&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Collections.ObjectModel.Collection`1[[System.String, mscorlib...        <br />Disposed&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Event&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.EventHandler Disposed(System.Object, System.EventArgs)        <br />psadapted&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MemberSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; psadapted {__GENUS, __CLASS, __SUPERCLASS, __DYNASTY, __RELPATH, __P...        <br />psbase&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MemberSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; psbase {Scope, Path, Options, ClassPath, Properties, SystemPropertie...        <br />psextended&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MemberSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; psextended {ConvertToDateTime, ConvertFromDateTime, PSStatus}        <br />psobject&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MemberSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; psobject {Members, Properties, Methods, ImmediateBaseObject, BaseObj...        <br />PSStandardMembers&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MemberSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; PSStandardMembers {DefaultDisplayPropertySet}        <br />add_Disposed&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void add_Disposed(System.EventHandler value)        <br />Clone&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object Clone()        <br />CompareTo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; bool CompareTo(System.Management.ManagementBaseObject otherObject, S...        <br />CopyTo&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementPath CopyTo(System.Management.Management...        <br />CreateObjRef&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType)        <br />Delete&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void Delete(), System.Void Delete(System.Management.DeleteOpt...        <br />Dispose&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void Dispose()        <br />Equals&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; bool Equals(System.Object obj)        <br />Get&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void Get(), System.Void Get(System.Management.ManagementOpera...        <br />GetHashCode&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; int GetHashCode()        <br />GetLifetimeService&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object GetLifetimeService()        <br />GetMethodParameters&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementBaseObject GetMethodParameters(string me...        <br />GetPropertyQualifierValue Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object GetPropertyQualifierValue(string propertyName, string ...        <br />GetPropertyValue&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object GetPropertyValue(string propertyName)        <br />GetQualifierValue&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object GetQualifierValue(string qualifierName)        <br />GetRelated&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementObjectCollection GetRelated(), System.Ma...        <br />GetRelationships&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementObjectCollection GetRelationships(), Sys...        <br />GetText&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string GetText(System.Management.TextFormat format)        <br />GetType&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; type GetType()        <br />get_ClassPath&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementPath get_ClassPath()        <br />get_Container&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.ComponentModel.IContainer get_Container()        <br />get_Item&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object get_Item(string propertyName)        <br />get_Options&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ObjectGetOptions get_Options()        <br />get_Path&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementPath get_Path()        <br />get_Properties&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.PropertyDataCollection get_Properties()        <br />get_Qualifiers&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.QualifierDataCollection get_Qualifiers()        <br />get_Scope&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementScope get_Scope()        <br />get_Site&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.ComponentModel.ISite get_Site()        <br />get_SystemProperties&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.PropertyDataCollection get_SystemProperties()        <br />InitializeLifetimeService Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object InitializeLifetimeService()        <br />InvokeMethod&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object InvokeMethod(string methodName, System.Object[] args),&#8230;        <br />Put&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementPath Put(), System.Management.Management&#8230;        <br />remove_Disposed&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void remove_Disposed(System.EventHandler value)        <br />SetPropertyQualifierValue Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void SetPropertyQualifierValue(string propertyName, string qu&#8230;        <br />SetPropertyValue&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void SetPropertyValue(string propertyName, System.Object prop&#8230;        <br />SetQualifierValue&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void SetQualifierValue(string qualifierName, System.Object qu&#8230;        <br />set_Item&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void set_Item(string propertyName, System.Object value)        <br />set_Options&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void set_Options(System.Management.ObjectGetOptions value)        <br />set_Path&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void set_Path(System.Management.ManagementPath value)        <br />set_Scope&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void set_Scope(System.Management.ManagementScope value)        <br />set_Site&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Void set_Site(System.ComponentModel.ISite value)        <br />ToString&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Method&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string ToString()        <br />Item&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ParameterizedProperty System.Object Item(string propertyName) {get;set;}        <br />BiosCharacteristics&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.UInt16[] BiosCharacteristics {get;set;}        <br />BIOSVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String[] BIOSVersion {get;set;}        <br />BuildNumber&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String BuildNumber {get;set;}        <br />Caption&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String Caption {get;set;}        <br />ClassPath&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementPath ClassPath {get;}        <br />CodeSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String CodeSet {get;set;}        <br />Container&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.ComponentModel.IContainer Container {get;}        <br />CurrentLanguage&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String CurrentLanguage {get;set;}        <br />Description&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String Description {get;set;}        <br />IdentificationCode&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String IdentificationCode {get;set;}        <br />InstallableLanguages&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.UInt16 InstallableLanguages {get;set;}        <br />InstallDate&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String InstallDate {get;set;}        <br />LanguageEdition&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String LanguageEdition {get;set;}        <br />ListOfLanguages&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String[] ListOfLanguages {get;set;}        <br />Manufacturer&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String Manufacturer {get;set;}        <br />Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String Name {get;set;}        <br />Options&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ObjectGetOptions Options {get;set;}        <br />OtherTargetOS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String OtherTargetOS {get;set;}        <br />Path&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementPath Path {get;set;}        <br />PrimaryBIOS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Boolean PrimaryBIOS {get;set;}        <br />Properties&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.PropertyDataCollection Properties {get;}        <br />Qualifiers&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.QualifierDataCollection Qualifiers {get;}        <br />ReleaseDate&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String ReleaseDate {get;set;}        <br />Scope&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.ManagementScope Scope {get;set;}        <br />SerialNumber&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String SerialNumber {get;set;}        <br />Site&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.ComponentModel.ISite Site {get;set;}        <br />SMBIOSBIOSVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String SMBIOSBIOSVersion {get;set;}        <br />SMBIOSMajorVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.UInt16 SMBIOSMajorVersion {get;set;}        <br />SMBIOSMinorVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.UInt16 SMBIOSMinorVersion {get;set;}        <br />SMBIOSPresent&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Boolean SMBIOSPresent {get;set;}        <br />SoftwareElementID&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String SoftwareElementID {get;set;}        <br />SoftwareElementState&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.UInt16 SoftwareElementState {get;set;}        <br />Status&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String Status {get;set;}        <br />SystemProperties&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Management.PropertyDataCollection SystemProperties {get;}        <br />TargetOperatingSystem&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.UInt16 TargetOperatingSystem {get;set;}        <br />Version&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String Version {get;set;}        <br />__CLASS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String __CLASS {get;set;}        <br />__DERIVATION&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String[] __DERIVATION {get;set;}        <br />__DYNASTY&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String __DYNASTY {get;set;}        <br />__GENUS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Int32 __GENUS {get;set;}        <br />__NAMESPACE&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String __NAMESPACE {get;set;}        <br />__PATH&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String __PATH {get;set;}        <br />__PROPERTY_COUNT&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Int32 __PROPERTY_COUNT {get;set;}        <br />__RELPATH&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String __RELPATH {get;set;}        <br />__SERVER&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String __SERVER {get;set;}        <br />__SUPERCLASS&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Property&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.String __SUPERCLASS {get;set;}        <br />PSStatus&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; PropertySet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; PSStatus {Status, Name, Caption, SMBIOSPresent}        <br />ConvertFromDateTime&#160;&#160;&#160;&#160;&#160;&#160; ScriptMethod&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object ConvertFromDateTime();        <br />ConvertToDateTime&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ScriptMethod&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.Object ConvertToDateTime();</font></p>
</blockquote>
<p>That result set shows 99 members, which is a lot more than the 40 members you get to see by default!</p>
<p>As you can see, there is a lot more to these objects than meets the eye.&#160; Using Get-Member with –Force and –View All is a great way to get all of the information you need about objects so that you really know what your objects contain and are capable of.</p>
<p>Kirk out.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c18b2d95-bf63-4459-8a22-914a96fe1808" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/Quick+Tip" rel="tag">Quick Tip</a>,<a href="http://technorati.com/tags/Get-Member" rel="tag">Get-Member</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post : </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/&amp;title=PowerShell Quick Tip: Getting all of the members of an object" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/&amp;;title=PowerShell Quick Tip: Getting all of the members of an object" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/&amp;title=PowerShell Quick Tip: Getting all of the members of an object" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/&amp;title=PowerShell Quick Tip: Getting all of the members of an object" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/&amp;title=PowerShell Quick Tip: Getting all of the members of an object" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/&amp;title=PowerShell Quick Tip: Getting all of the members of an object" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/&amp;t=PowerShell Quick Tip: Getting all of the members of an object" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=376&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/06/21/powershell-quick-tip-getting-all-of-the-members-of-an-object/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerGUI Visual Studio is now in beta!</title>
		<link>http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/</link>
		<comments>http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 23:58:45 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[PowerGUI VSX]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/?p=359</guid>
		<description><![CDATA[Due to popular demand, Adam Driscoll has just released Beta 1 of his PowerGUI Visual Studio (aka PowerGUI VSX) project! If you missed my blog about this last week and don’t know what this product is, it’s an extension for Visual Studio that adds PowerGUI’s editor with Intellisense, syntax highlighting and snippets for PowerShell script [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=359&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=powerguivsx&amp;DownloadId=128244&amp;Build=16821" alt="" align="absMiddle" /></p>
<p>Due to popular demand, <a title="Adam Driscoll's Blog" href="http://adriscoll86.wordpress.com/" target="_blank">Adam Driscoll</a> has just released Beta 1 of his <a title="PowerGUI Visual Studio - A Visual Studio extension that adds PowerShell Syntax Highlighting, Intellisense and more to Visual Studio!" href="http://powerguivsx.codeplex.com/" target="_blank">PowerGUI Visual Studio</a> (aka <a title="PowerGUI VSX" href="http://powerguivsx.codeplex.com" target="_blank">PowerGUI VSX</a>) project!</p>
<p>If you missed my blog about this last week and don’t know what this product is, it’s an extension for <strong>Visual Studio</strong> that adds PowerGUI’s editor with <strong>Intellisense</strong>, <strong>syntax highlighting</strong> and <strong>snippets</strong> for <strong>PowerShell </strong>script files to Visual Studio!  This can make it much easier to create PowerShell scripts or modules if you’re already working inside Visual Studio.</p>
<p>You can learn all about this great project and <strong>download the beta</strong> release by going to the <a title="PowerGUI VSX - A Visual Studio extension that add's PowerShell support to Visual Studio by loading PowerGUI Script Editor with Intellisense, syntax highlighting and snippets intot the Visual Studio IDE" href="http://powerguivsx.codeplex.com/" target="_blank">PowerGUI VSX</a> page on CodePlex now!</p>
<p>This project requires that the following prerequisites be installed first:</p>
<ul>
<li>Visual Studio 2010</li>
<li><a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a></li>
</ul>
<p>Please share any feedback you have for this release in the comments on this blog, on the CodePlex site itself, or on the <a title="PowerGUI Forums - a rich community forum where you can ask questions about PowerShell or PowerGUI" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">PowerGUI forums</a>.</p>
<p>Enjoy!</p>
<p>Kirk out.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:893956fa-3a2e-4467-8c8c-f101ddb35d05" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI">PowerGUI</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI+VSX">PowerGUI VSX</a>,<a rel="tag" href="http://technorati.com/tags/Visual+Studio+2010">Visual Studio 2010</a></div>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/&amp;title=PowerGUI Visual Studio is now in beta!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/&amp;;title=PowerGUI Visual Studio is now in beta!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/&amp;title=PowerGUI Visual Studio is now in beta!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/&amp;title=PowerGUI Visual Studio is now in beta!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/&amp;title=PowerGUI Visual Studio is now in beta!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/&amp;title=PowerGUI Visual Studio is now in beta!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/&amp;t=PowerGUI Visual Studio is now in beta!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=359&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/06/20/powergui-visual-studio-is-now-in-beta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=powerguivsx&#38;DownloadId=128244&#38;Build=16821" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerShell support in Visual Studio!</title>
		<link>http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/</link>
		<comments>http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 15:44:43 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[PowerGUI VSX]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/06/16/powershell-support-in-visual-studio/</guid>
		<description><![CDATA[Update 20-Jun-2010: This is now released as a beta! It supports Intellisense and Syntax Highlighting for any modules you have loaded in PowerGUI, as well as PowerGUI Snippets! Go download it here now! Here’s something really cool for all the developer types out there.  Adam Driscoll, one of the developers here at Quest Software, is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=346&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Update 20-Jun-2010: This is now released as a beta! It supports Intellisense and Syntax Highlighting for any modules you have loaded in PowerGUI, as well as PowerGUI Snippets! Go download it <a title="PowerGUI Visual Studio Extension" href="http://powerguivsx.codeplex.com/" target="_blank">here</a> now!</em></p>
<p>Here’s something really cool for all the developer types out there.  <a title="Adam Driscoll's blog" href="http://adriscoll86.wordpress.com/" target="_blank">Adam Driscoll</a>, one of the developers here at Quest Software, is working on an extension for Visual Studio 2010 that integrates <a title="PowerGUI - a graphical user interface and script editor for Microsoft Windows PowerShell" href="http://powergui.org" target="_blank">PowerGUI</a> Script Editor functionality into the Visual Studio 2010 IDE!  It’s not released yet, but you can learn more about it on the <a title="PowerGUI VSX" href="http://powerguivsx.codeplex.com" target="_blank">PowerGUI VSX</a> site on CodePlex.  Here’s a teaser screenshot to whet your tastebuds:</p>
<p><a title="PowerGUI VSX" href="http://powerguivsx.codeplex.com" target="_blank"><img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=powerguivsx&amp;DownloadId=127360" alt="" width="583" height="518" /></a></p>
<p>I’d love to hear your feedback on this, so please leave comments and let me know if this is of interest to you or not.</p>
<p>Thanks,</p>
<p>Kirk out.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:6a83728b-0961-4a60-9e7c-7509735ac6e2" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI">PowerGUI</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI+Pro">PowerGUI Pro</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI+VSX">PowerGUI VSX</a>,<a rel="tag" href="http://technorati.com/tags/Visual+Studio+2010">Visual Studio 2010</a></div>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/&amp;title=PowerShell Support in Visual Studio" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/&amp;;title=PowerShell Support in Visual Studio" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/&amp;title=PowerShell Support in Visual Studio" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/&amp;title=PowerShell Support in Visual Studio" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/&amp;title=PowerShell Support in Visual Studio" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/&amp;title=PowerShell Support in Visual Studio" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/&amp;t=PowerShell Support in Visual Studio" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=346&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/06/16/powershell-support-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=powerguivsx&#38;DownloadId=127360" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerGUI 2.1: The release that keeps on giving</title>
		<link>http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/</link>
		<comments>http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 05:49:33 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[Add-on]]></category>
		<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[script signing]]></category>
		<category><![CDATA[publish to PoshCode]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/</guid>
		<description><![CDATA[Last Monday while I was down at Tech·Ed we quietly released PowerGUI 2.1 on our website.&#160; I’ve been looking forward to us getting this release out the door for quite a while because there are some really cool features in the release that I wanted to share with you (some of which I’ve been hinting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=345&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last Monday while I was down at Tech·Ed we quietly released PowerGUI 2.1 on our website.&#160; I’ve been looking forward to us getting this release out the door for quite a while because there are some really cool features in the release that I wanted to share with you (some of which I’ve been hinting about on my blog recently), so it was very exciting to see this get released.&#160; Since it happened at Tech·Ed though, my schedule was completely booked and I just couldn’t find a minute to start blogging about the release.&#160; Now that I’m back home and fully recovered from a week packed with all sorts of cool technology, I can catch up and share this release with the rest of you.</p>
<p>Aside from the great performance improvements that were made in the Script Editor, not to mention the Charts and custom HTML support in the administrative console, there’s one particular feature that really grabbed my attention in this release: we now have a documented and supported SDK for the PowerGUI Script Editor!&#160; This is great news because up to this point the only extensions that were possible were in the administrative console where you could create PowerPacks.&#160; Now with 2.1 available anyone can create extensions for the Script Editor that add really cool functionality to it as well!</p>
<p>The screenshots I was blogging about a few weeks ago showed some of the Add-ons that I have been working on, and I just started publishing some of those Add-ons in the <a title="Script Editor Add-ons" href="http://www.powergui.org/kbcategory.jspa?categoryID=387" target="_blank">Script Editor Add-on category</a> on <a title="PowerGUI.org" href="http://powergui.org" target="_blank">PowerGUI.org</a>.&#160; These Add-ons are just PowerShell modules so you can see exactly how they work by opening the module files in the Script Editor.&#160; With Add-ons, not only do you get the features that were implemented in the core product, you now get to pick and choose additional features that you want as they become available by installing Add-ons.</p>
<p>What sort of things can you do with Add-ons?&#160; Well, for starters you can <a title="Script Signing Add-on" href="http://www.powergui.org/entry.jspa?externalID=2908&amp;categoryID=387" target="_blank">sign your script files</a>:</p>
<p><a href="http://kirkmunro.files.wordpress.com/2010/06/image1.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://kirkmunro.files.wordpress.com/2010/06/image_thumb1.png?w=244&#038;h=239" width="244" height="239" /></a> </p>
<p><a title="Publish Online Add-on" href="http://www.powergui.org/entry.jspa?externalID=2911&amp;categoryID=387" target="_blank">publish scripts online</a>:</p>
<p><a href="http://kirkmunro.files.wordpress.com/2010/06/image2.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://kirkmunro.files.wordpress.com/2010/06/image_thumb2.png?w=244&#038;h=195" width="244" height="195" /></a> </p>
</p>
<p>or <a title="Blue Console Add-on" href="http://www.powergui.org/entry.jspa?externalID=2909&amp;categoryID=387" target="_blank">change your embedded PowerShell Console to blue</a>:</p>
<p><a href="http://kirkmunro.files.wordpress.com/2010/06/image3.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://kirkmunro.files.wordpress.com/2010/06/image_thumb3.png?w=244&#038;h=173" width="244" height="173" /></a> </p>
<p>If that inspires you, you can also try <a title="Authoring Toolkit Add-on" href="http://www.powergui.org/entry.jspa?externalID=2893&amp;categoryID=387" target="_blank">creating your own Add-on</a>:</p>
<p><a href="http://kirkmunro.files.wordpress.com/2010/06/image4.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://kirkmunro.files.wordpress.com/2010/06/image_thumb4.png?w=244&#038;h=157" width="244" height="157" /></a> </p>
<p>And if you want to learn more about how you can create an Add-on, there’s even a <a title="Tutorial: Building Your First PowerGUI Script Editor Add-on" href="http://www.powergui.org/entry.jspa?externalID=2894&amp;categoryID=387" target="_blank">tutorial</a> available to help get you started.</p>
<p>There are some other useful Add-ons available right now, and more are in development so check the <a title="Script Editor Add-ons" href="http://www.powergui.org/kbcategory.jspa?categoryID=387" target="_blank">Script Editor Add-on</a> category often to see what has been recently published.</p>
<p>If there are Add-ons you would like to see developed but you aren’t comfortable creating them yourself, share the ideas on our <a title="PowerGUI forums" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">forums</a> so that others can step up and help you out (or maybe even create the Add-on for you).</p>
<p>The Script Editor SDK that was added to this release is brand new to the PowerGUI product and we would love to hear your feedback on it.&#160; Please speak up and let us know what you think about the SDK, the Add-ons we have made available so far, or anything else related to PowerGUI.&#160; We’re always listening.</p>
<p>Thanks and happy scripting!</p>
<p>Kirk out.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0281b279-ba6b-4831-abad-277a0b5bdf6e" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerGUI+Pro" rel="tag">PowerGUI Pro</a>,<a href="http://technorati.com/tags/Add-on" rel="tag">Add-on</a>,<a href="http://technorati.com/tags/module" rel="tag">module</a>,<a href="http://technorati.com/tags/script+signing" rel="tag">script signing</a>,<a href="http://technorati.com/tags/publish+to+PoshCode" rel="tag">publish to PoshCode</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/&amp;title=PowerGUI 2.1: The release that keeps on giving" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/&amp;;title=PowerGUI 2.1: The release that keeps on giving" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/&amp;title=PowerGUI 2.1: The release that keeps on giving" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/&amp;title=PowerGUI 2.1: The release that keeps on giving" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/&amp;title=PowerGUI 2.1: The release that keeps on giving" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/&amp;title=PowerGUI 2.1: The release that keeps on giving" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/&amp;t=PowerGUI 2.1: The release that keeps on giving" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/345/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/345/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/345/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=345&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/06/16/powergui-2-1-the-release-that-keeps-on-giving/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/06/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/06/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/06/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/06/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Taking the PowerGUI Train Down to New Orleans</title>
		<link>http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/</link>
		<comments>http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 07:03:35 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/</guid>
		<description><![CDATA[This weekend I’m heading down to New Orleans, LA for Tech·Ed 2010 North America.&#160; I’m totally excited about the trip because (a) I’ve never been to New Orleans and (b) Tech·Ed is always a ton of fun!&#160; This year I’ll be working the PowerShell booth again plus I’ll be hanging around the Quest booth quite [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=335&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This weekend I’m heading down to New Orleans, LA for Tech·Ed 2010 North America.&#160; I’m totally excited about the trip because (a) I’ve never been to New Orleans and (b) Tech·Ed is always a ton of fun!&#160; This year I’ll be working the PowerShell booth again plus I’ll be hanging around the Quest booth quite a bit when I’m not in a breakout session.&#160; One of the fun things I’ll be doing while I’m there is on Monday June 7th at 2:15 PM CST (mark your calendar!) when I’ll be at the Quest booth taking questions about PowerShell and PowerGUI and doing demos of some cool new features that we’ve been busy working on, such as a <a title="PowerGUI Script Editor Blue Console" href="http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/" target="_blank">blue PowerShell Console</a> and <a title="Online Help in the PowerGUI Script Editor" href="http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/" target="_blank">Online Help</a>.</p>
<p>That’s not the only features that I’ll be talking about though…here’s another teaser screenshot showing you something else you’ll be able to do in the PowerGUI Script Editor really, really soon: Script Signing!</p>
<p><a href="http://kirkmunro.files.wordpress.com/2010/06/image.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="script signing code signing PowerGUI Script Editor" border="0" alt="script signing code signing PowerGUI Script Editor" src="http://kirkmunro.files.wordpress.com/2010/06/image_thumb.png?w=604&#038;h=403" width="604" height="403" /></a> </p>
<p>If you’d like to hear more about PowerGUI and what we’ve been up to, come by the 30 minute Q&amp;A session on Monday.&#160; Or, if you can’t make that session track down myself or Dmitry or head over to the Quest booth in the partner expo and ask for a demo of PowerGUI at any time.&#160; I’d love to hear how you’re using PowerShell and PowerGUI and show you some of the new features that I haven’t shared here yet.</p>
<p>See you in New Orleans!</p>
<p>Kirk out.</p>
<p>P.S. I’m not literally taking the train down to New Orleans (although that would be really fun), but I am bringing PowerGUI with me on my laptop.&#160; Maybe after the PowerShell market grows a little more I’ll be able to convince Quest to have a locomotive built for PowerGUI that we can use when travelling to events like Tech·Ed! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>P.P.S. If you’re not going to Tech·Ed but you want to share how you’re using PowerShell and PowerGUI with me anyway, drop me a line anytime and tell me about it, or just share it on <a title="PowerGUI.org forums" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">our forums</a>!</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f30934d8-66b7-4ff1-8313-6ded55528b3d" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerGUI+Pro" rel="tag">PowerGUI Pro</a>,<a href="http://technorati.com/tags/Script+Signing" rel="tag">Script Signing</a>,<a href="http://technorati.com/tags/Code+Signing" rel="tag">Code Signing</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post : </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/&amp;title=Taking the PowerGUI Train Down to New Orleans" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/&amp;;title=Taking the PowerGUI Train Down to New Orleans" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/&amp;title=Taking the PowerGUI Train Down to New Orleans" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/&amp;title=Taking the PowerGUI Train Down to New Orleans" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/&amp;title=Taking the PowerGUI Train Down to New Orleans" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/&amp;title=Taking the PowerGUI Train Down to New Orleans" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/&amp;t=Taking the PowerGUI Train Down to New Orleans" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=335&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/06/04/taking-the-powergui-train-down-to-new-orleans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/06/image_thumb.png" medium="image">
			<media:title type="html">script signing code signing PowerGUI Script Editor</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Online help in the PowerGUI Script Editor</title>
		<link>http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/</link>
		<comments>http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/#comments</comments>
		<pubDate>Thu, 27 May 2010 15:35:29 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/05/27/online-help-in-the-powergui-script-editor/</guid>
		<description><![CDATA[Today I’d like to share a little more of what I’ve been working on recently.&#160; Here’s another teaser of something you’ll be able to get for free in the PowerGUI Script Editor very soon: And if you missed the cool Rock-Paper-Scissors support as well, go check out Tuesday’s blog post! More to come! Kirk out. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=321&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I’d like to share a little more of what I’ve been working on recently.&#160; Here’s another teaser of something you’ll be able to get for free in the PowerGUI Script Editor very soon:</p>
<p><a href="http://kirkmunro.files.wordpress.com/2010/05/image3.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="Online help in the PowerGUI Script Editor" border="0" alt="Online help in the PowerGUI Script Editor" src="http://kirkmunro.files.wordpress.com/2010/05/image_thumb3.png?w=604&#038;h=444" width="604" height="444" /></a> </p>
<p>And if you missed the cool Rock-Paper-Scissors support as well, go check out <a title="Blue console with transparency support in the PowerGUI Script Editor" href="http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/" target="_blank">Tuesday’s blog post</a>! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>More to come!</p>
<p>Kirk out.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:fcf77a45-e12e-4b1a-9fc0-eeb3e0fb91e3" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerGUI+Pro" rel="tag">PowerGUI Pro</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/&amp;title=Online help in the PowerGUI Script Editor" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/&amp;;title=Online help in the PowerGUI Script Editor" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/&amp;title=Online help in the PowerGUI Script Editor" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/&amp;title=Online help in the PowerGUI Script Editor" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/&amp;title=Online help in the PowerGUI Script Editor" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/&amp;title=Online help in the PowerGUI Script Editor" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/&amp;t=Online help in the PowerGUI Script Editor" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=321&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/05/27/online-help-in-the-powergui-script-editor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/05/image_thumb3.png" medium="image">
			<media:title type="html">Online help in the PowerGUI Script Editor</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Coming soon to a release near you</title>
		<link>http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/</link>
		<comments>http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/#comments</comments>
		<pubDate>Tue, 25 May 2010 20:08:35 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">https://kirkmunro.wordpress.com/2010/05/25/coming-soon-to-a-release-near-you/</guid>
		<description><![CDATA[Hi everyone, I’ve been really quiet lately while I’ve been focused on a bunch of fun projects that I’ve been working on for the next release of PowerGUI.&#160; That release isn’t available just yet (soon though – watch this space!), but I can start sharing a few teasers to whet your appetites in the meantime.&#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=316&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>I’ve been really quiet lately while I’ve been focused on a bunch of fun projects that I’ve been working on for the next release of PowerGUI.&#160; That release isn’t available just yet (soon though – watch this space!), but I can start sharing a few teasers to whet your appetites in the meantime.&#160; Here’s a screenshot to share a little bit of what I’ve been working on recently:</p>
<p>&#160;&#160;&#160;&#160; <a href="http://kirkmunro.files.wordpress.com/2010/05/image121.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="Blue console with transparency in the PowerGUI Script Editor" border="0" alt="Blue console with transparency in the PowerGUI Script Editor" src="http://kirkmunro.files.wordpress.com/2010/05/image12_thumb.png?w=604&#038;h=394" width="604" height="394" /></a>
</p>
<p>That’s right, it’s Rock-Paper-Scissors for Windows PowerShell!&#160; No, no, that’s not it…look at the cool blue console with the transparent effect applied to it.</p>
<p>Some neat things like this and more are coming your way soon in PowerGUI!</p>
<p>Kirk out.</p>
</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f516a4ec-9bcc-479e-a861-ee18354d5aab" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerGUI+Pro" rel="tag">PowerGUI Pro</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/&amp;title=Coming soon to a release near you" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/&amp;;title=Coming soon to a release near you" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/&amp;title=Coming soon to a release near you" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/&amp;title=Coming soon to a release near you" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/&amp;title=Coming soon to a release near you" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/&amp;title=Coming soon to a release near you" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/&amp;t=Coming soon to a release near you" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=316&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/05/25/coming-soon-to-a-release-near-you/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2010/05/image12_thumb.png" medium="image">
			<media:title type="html">Blue console with transparency in the PowerGUI Script Editor</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerGUI Pro is now available!</title>
		<link>http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/</link>
		<comments>http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 21:48:01 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Pro]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2010/03/01/powergui-pro-is-now-available/</guid>
		<description><![CDATA[Extra! Extra! Read all about it! PowerGUI has gone Pro! You’re favorite PowerShell engine is now available in a cool new package.  PowerGUI Pro has all of the same great features that you know and love from PowerGUI Freeware plus it allows you to: Use PowerShell from your favorite mobile device with MobileShell! Protect your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=311&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Extra! Extra! Read all about it!</p>
<p><a href="http://powergui.org" target="_blank">PowerGUI</a> has gone <strong>Pro</strong>!</p>
<p>You’re favorite PowerShell engine is now available in a cool new package.  <a title="PowerGUI Pro" href="http://www.quest.com/PowerGUIPro" target="_blank">PowerGUI Pro</a> has all of the same great features that you know and love from <a href="http://www.powergui.org" target="_blank">PowerGUI Freeware</a> plus it allows you to:</p>
<ul>
<li>Use PowerShell from your favorite mobile device with MobileShell!</li>
<li>Protect your scripts using integrated version control!</li>
</ul>
<p>All that and you get full commercial support from Quest Software to boot!</p>
<p>If you hurry you can buy it for only $99/user for the first 60 days.  After that, it will return to the regular price of $199/user.</p>
<p>Want to learn more?  You can read all about it here:</p>
<p><a href="http://www.quest.com/PowerGUIPro">http://www.quest.com/PowerGUIPro</a></p>
<p>If you have any questions or want to learn more, feel free to leave a comment or post your question on our <a title="PowerGUI Forums" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">forums</a>.</p>
<p>Thanks,</p>
<p>Kirk out.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:bea56b11-4d2e-41ea-9ae0-4efb458ff7c3" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI">PowerGUI</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI+Pro">PowerGUI Pro</a></div>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;title=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;;title=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;title=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;title=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td><a title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;ti=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" border="0" alt="" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;title=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;title=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" border="0" alt="" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;title=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/&amp;t=PowerGUI Pro is now available!" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=311&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/03/01/powergui-pro-is-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>The specificity of generics in PowerShell</title>
		<link>http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/</link>
		<comments>http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 23:32:57 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Dictionary]]></category>
		<category><![CDATA[Generics]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2010/02/07/the-specificity-of-generics-in-powershell/</guid>
		<description><![CDATA[I have recently been listening in on a discussion about PowerShell generics and some challenges they pose in PowerShell, and one of the questions raised in that discussion that wasn’t being answered was from some IT admins asking why they should care about generics.  In my opinion the easiest question that can determine if someone [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=294&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have recently been listening in on a discussion about PowerShell generics and some challenges they pose in PowerShell, and one of the questions raised in that discussion that wasn’t being answered was from some IT admins asking why they should care about generics.  In my opinion the easiest question that can determine if someone should care about generics or not, regardless of their role at work, is this:</p>
<blockquote><p>Is strong typing important to you when you write your scripts?</p></blockquote>
<p>If that question is confusing to you, then you likely aren’t really writing any scripts complex enough that you need to know how to create generics just yet, or maybe you are and there are bugs in your scripts that you just don&#8217;t know about.  Regardless, you likely haven&#8217;t developed a really strong need for them yet.  But, if you know what strong typing is and the advantages it provides in terms of script readability and in terms of easier script troubleshooting / debugging due to automatic type checking then it would be worthwhile for you to understand how generics can benefit you as well.</p>
<p>An example may help illustrate the benefits you’ll get when using generics.  For this example, keep in mind it may not be that realistic, but I have seen people do similar things and scratch their head wondering what was going on when it didn&#8217;t work the way they thought it would.  For this example lets say you wanted a table of something, we&#8217;ll use modules, where you could look them up quickly by name.  Maybe you&#8217;ve heard of hash tables / associative arrays, so you try something like this:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; $moduleTable = @{}<br />
PS C:\&gt; Get-Module -ListAvailable | ForEach-Object {$moduleTable[$_] = $_}</span></p>
<p>No errors were returned, so you want to check if it worked.  You try to show the module table you built using PowerShell:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; $moduleTable<br />
Name                           Value<br />
&#8212;-                           &#8212;&#8211;<br />
PSDiagnostics                  PSDiagnostics<br />
CmdletDesigner                 CmdletDesigner<br />
TroubleshootingPack            TroubleshootingPack<br />
AppLocker                      AppLocker<br />
BitsTransfer                   BitsTransfer<br />
WebAdministration              WebAdministration<br />
AdminConsole                   AdminConsole<br />
Class                          Class </span></p>
<p>That looks right, sort of, so you then try accessing one of the module table values:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; $moduleTable.WebAdministration<br />
PS C:\&gt; $moduleTable['WebAdministration']<br />
PS C:\&gt; </span></p>
<p>That&#8217;s no good, something isn&#8217;t working right at all.  If you&#8217;ve learned at some point that hash tables can contain any type of value as their key you might have an idea what the problem is here, but if not this can be really puzzling and it&#8217;s time to revisit hash tables 101.  A hash table is a dictionary that associates an object of any type to an object of any other type.  In the case of a hash table though, both types are generic objects (*not* to be confused with generics), so you can mix key types and value types as you wish, like this:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; [System.Reflection.Assembly]::LoadWithPartialName(&#8216;System.Drawing&#8217;)<br />
PS C:\&gt; $mixedUpMotherGoose = @{}<br />
PS C:\&gt; $mixedUpMotherGoose[1] = &#8216;One&#8217;<br />
PS C:\&gt; $mixedUpMotherGoose['Two'] = 2<br />
PS C:\&gt; $mixedUpMotherGoose['Red'] = [System.Drawing.Color]::Red<br />
PS C:\&gt; $mixedUpMotherGoose[[System.Drawing.Color]::Blue] = &#8216;Blue&#8217;<br />
PS C:\&gt; $mixedUpMotherGoose<br />
Name                           Value<br />
&#8212;-                           &#8212;&#8211;<br />
Color [Blue]                   Blue<br />
Red                            Color [Red]<br />
Two                            2<br />
1                              One</span></p>
<p>Accessing values in tables like this can be challenging, as can be shown here:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; $mixedUpMotherGoose.$([int]1)<br />
One<br />
PS C:\&gt; $mixedUpMotherGoose.Two<br />
2<br />
PS C:\&gt; $mixedUpMotherGoose.Red<br />
R             : 255<br />
G             : 0<br />
B             : 0<br />
A             : 255<br />
IsKnownColor  : True<br />
IsEmpty       : False<br />
IsNamedColor  : True<br />
IsSystemColor : False<br />
Name          : Red<br />
PS C:\&gt; $mixedUpMotherGoose.$([System.Drawing.Color]::Blue)<br />
Blue</span></p>
<p>In many cases though, when you are creating a hash table you know the type of association (or rather, the types you want to associate) ahead of time.  You can use the generic hash table (again, this is generic in terms of the objects used inside the hash table and is not to be confused with generics) and many times this will be sufficient for what you want to do.  But if you know the type of association ahead of time, wouldn&#8217;t it be great if you could ask PowerShell to watch your back and make sure that the objects you place into your hash table are of the correct type, and to let you know via an error if ever they are not so that you will have one less thing to worry about when you are debugging your script?  Or wouldn&#8217;t it be great if you could define your collection with strong typing in mind so that later someone else who works with the same scripts you do doesn&#8217;t come along and put other associations of different types into your collection, which may break the logic in your script?  Enter generics.</p>
<p>Generics are collections that have strong type associations enforced by the language itself (in this case, PowerShell).  Depending on your perspective, you may think of them as type-specific collections (or “specifics” as <a href="http://www.halr9000.com" target="_blank">Hal Rottenberg</a> jokingly refers to them) instead of as generics because they enforce strong typing on any items added to the collection once they are created.  System.Collections.Generic.Dictionary is a generic collection that allows you to create strongly typed System.Collections.HashTable&#8217;s.  System.Collections.Generic.List is a generic collection that allows you to create strongly typed System.Collections.ArrayList&#8217;s.  These collections are generic in the sense that they can be applied generically to any object type resulting in the ability to create strongly-typed collections.  This allows you get all the advantages that strong typing provides in your collections just like you do when you create strongly-typed variables (script readability and easier troubleshooting/debugging, remember?).</p>
<p>Let&#8217;s see what this means for PowerShell and the example that we looked at earlier.  To create a table of modules where we can easily look up any module with its string representation (which is its name), we can define a generic dictionary that associates System.String to System.Management.Automation.PSModuleInfo.  We need to be careful and make sure we set the lookup comparison to case insensitive when we create it if we want it to work just like hash tables do in PowerShell.  The command to do that looks like this:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; $moduleTable = New-Object -TypeName &#8216;System.Collections.Generic.Dictionary[System.String,System.Management.Automation.PSModuleInfo]&#8216; -ArgumentList @([System.StringComparer]::CurrentCultureIgnoreCase)</span></p>
<p>It is important to note the syntax of this command.  The single-quotes that enclose the type name are required when working with generics.  There is definitely room for improvement in how this sort of thing could be done in the future (or today if you don’t want to wait and you want to create a type accelerator called Dictionary using <a href="http://huddledmasses.org/powershell-2-ctp3-custom-accelerators-finally/" target="_blank">the Accelerator module that Joel Bennett created</a>), but for now knowing this is the format for generic dictionaries and knowing that you can use any type names inside the dictionary definition should be sufficient.  Also as mentioned you need to make sure you don&#8217;t forget to set the generic collection up to be case insensitive when you are working with PowerShell and you don&#8217;t want to worry about case by passing in the appropriate static property of the StringComparer class.  By default string comparisons are done case sensitive in .NET, so if you leave the ArgumentList parameter out your dictionary keys will be case sensitive.</p>
<p>Once you have that collection, watch what happens when you try to build the contents of the table using the same command you used before.</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; Get-Module -ListAvailable | ForEach-Object {$moduleTable[$_] = $_}</span></p>
<p>You get a bunch of errors that look something like this:</p>
<p><span style="font-family:Courier New;font-size:x-small;">Array assignment to [WebAdministration] failed: The value &#8220;WebAdministration&#8221; is not of type &#8220;System.String&#8221; and cannot be used in this generic collection.<br />
Parameter name: key.<br />
At line:1 char:58<br />
+ Get-Module -ListAvailable | ForEach-Object {$moduleTable[ &lt;&lt;&lt;&lt; $_] = $_}<br />
    + CategoryInfo          : InvalidOperation: (WebAdministration:PSModuleInfo) [], RuntimeException<br />
    + FullyQualifiedErrorId : ArrayAssignmentFailed </span></p>
<p>The important details here are in the errors themselves, and they are what you get when using strongly typed collections with incorrect types.  They inform you that the value you are assigning to the &#8220;key&#8221; parameter is not of type System.String.  In my opinion, when working with scripts that are even a little bit complicated, it is better to get this error that points you to a problem in your script than no error at all.  That&#8217;s one of the ways generics add value.</p>
<p>The other way they add value is in the assignment of the collection itself.  The command above that created the generic dictionary associating strings to PSModuleInfo objects tells you what types of objects you are associating, which can go a long way towards helping someone else other than you when they are looking at your script and trying to understand what you&#8217;re doing.  Of course they would have to understand generics, but you must be realizing by now that they aren&#8217;t all that hard, right?</p>
<p>To eliminate the logic error you were facing in your original hash table experience and properly create your module table, you can do this instead:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; Get-Module -ListAvailable | ForEach-Object {$moduleTable.Item($_) = $_}</span></p>
<p>Now when you try to access a module in the module table using the name, you get the results you were originally after:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; $moduleTable.WebAdministration<br />
ModuleType Name                      ExportedCommands<br />
&#8212;&#8212;&#8212;- &#8212;-                      &#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Manifest   WebAdministration         {} </span></p>
<p>I should note that when using generic dictionaries, it is easier to use the Item parameterized property by name than it is to use the square brackets identifying the Item parameterized property when populating the dictionary.  The reason for this is because the named Iteme parameterized property takes care of all of the typecasting for you, but assignment when using the square brackets identifying the Item parameterized property does not.  For example, if I were to try populating my dictionary using a syntax similar to my original syntax, the only way I can get that to work in PowerShell 2.0 without errors is as follows:</p>
<p><span style="font-family:Courier New;font-size:x-small;">PS C:\&gt; Get-Module -ListAvailable | ForEach-Object {$moduleTable[[string]$_] = [System.Management.Automation.PSModuleInfo]$_}</span></p>
<p>This is another area where there is room for improvement in PowerShell when working with generics.  Both methods give you strong typing and therefore raise errors if there are any unexpected types, but the syntax when using the Add method is obviously much easier to type and read afterwards.</p>
<p>Anyhow, that about covers it.  If after reading all of this you still don&#8217;t care about generics, even though it&#8217;s very likely you use them in PowerShell without realizing it, then you can simply come back here later if you find yourself in a position where you start to care about them.</p>
<p>I hope this helps!</p>
<p>Kirk out.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:207d0430-970e-418c-927d-5f8356ab81ec" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/Generics">Generics</a></div>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td><a title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;title=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;;title=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;title=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td><a title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;title=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td><a title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;ti=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" border="0" alt="" /></a></td>
<td><a title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;title=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td><a title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;title=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" border="0" alt="" /></a></td>
<td><a title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;title=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td><a title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/&amp;t=The specificity of generics in PowerShell" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=294&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2010/02/07/the-specificity-of-generics-in-powershell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes</title>
		<link>http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes/</link>
		<comments>http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 06:43:35 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[Poshoholic Studios]]></category>
		<category><![CDATA[PowerGUI Quick Tip]]></category>
		<category><![CDATA[PowerPack]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerPack Challenge]]></category>
		<category><![CDATA[Quick Tip]]></category>

		<guid isPermaLink="false">http://poshoholic.com/?p=278</guid>
		<description><![CDATA[This Sunday at midnight PST marks the closing of our second annual PowerPack Challenge contest.&#160; The rules of this contest are very simple: create a new PowerPack or modify one of your existing PowerPacks and submit it to the contest folder in the PowerPack Library for a chance to win some cool prizes.&#160; Now you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=278&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This Sunday at midnight PST marks the closing of our second annual <a title="PowerPack Challenge" href="http://powergui.org/powerpackchallenge.jspa" target="_blank">PowerPack Challenge</a> contest.&#160; The rules of this contest are very simple: create a new PowerPack or modify one of your existing PowerPacks and submit it to the <a title="PowerPack Challenge entry folder" href="http://www.powergui.org/kbcategory.jspa?categoryID=296" target="_blank">contest folder</a> in the <a title="PowerPack Library" href="http://www.powergui.org/kbcategory.jspa?categoryID=21" target="_blank">PowerPack Library</a> for a chance to win some cool prizes.&#160; Now you might be thinking: &quot;Sunday, but that&#8217;s&#160; just three days away&#8230;I don&#8217;t have time to put together an entry between now and Sunday. Besides, I want my weekend to myself!&quot;&#160; Well, you&#8217;re in luck my friend because you don&#8217;t need three days&#8230;you only need 10 minutes (well, 10 minutes after you watch a screencast showing what you can do with PowerShell, the PowerGUI Admin Console, and 10 minutes of your time).&#160; That&#8217;s not even going to take up your whole lunch hour on Friday, and if you plan to go out for lunch you could make your PowerPack during your afternoon break instead!</p>
<p>Here&#8217;s all you need to do:</p>
<p>1.&#160; Bookmark the <a title="PowerPacks" href="http://wiki.powergui.org/index.php/PowerPacks" target="_blank">PowerPack section</a> of the wiki.&#160; I published a big update to our wiki earlier this week and it should be able to answer a lot of questions you might have.&#160; Don&#8217;t read the whole thing right now though, that might take too long and what you really want to do right now is explained in the next step.</p>
<p>2.&#160; Watch <a title="Create a PowerPack in 10 Minutes" href="http://powergui.org/entry.jspa?externalID=2571&amp;categoryID=53" target="_blank">this screencast</a> (also shown below on YouTube) that shows how I created a cool <a title="Windows Server Roles and Features PowerPack" href="http://powergui.org/entry.jspa?externalID=2571&amp;categoryID=21" target="_blank">Windows Server Roles and Features PowerPack</a> from scratch earlier today and published it to the <a title="PowerPack Library" href="http://powergui.org/kbcategory.jspa?categoryID=21" target="_blank">PowerPack Library</a> in only 10 minutes.&#160; The PowerPack even has dynamic nodes generated from 4 script nodes, which used to be quite a lot of work but thanks to the <a title="AdminConsole Module" href="http://powergui.org/entry.jspa?externalID=2572&amp;categoryID=299" target="_blank">AdminConsole module</a> they are much, much easier now.&#160; In fact, if you pay close attention to the screencast, you&#8217;ll see that all of the functionality in the PowerPack itself is done with only 7 lines of PowerShell script plus one basic node and two basic actions &#8212; that&#8217;s pretty amazing.&#160; The entire screencast is longer than 10 minutes because I needed to explain a few things before and after the demonstration, but the creation and publishing of the PowerPack itself is done in only 10 minutes during the screencast.</p>
<p><span style="text-align:center; display: block;"><a href="http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes/"><img src="http://img.youtube.com/vi/RYKjH3Mb4do/2.jpg" alt="" /></a></span></p>
<p>Now that I&#8217;ve armed you with the <a title="PowerPacks" href="http://wiki.powergui.org/index.php/PowerPacks" target="_blank">wiki documentation</a> and the <a title="Create a PowerPack in 10 minutes" href="http://powergui.org/shares/powergui/sbin/docs/Create_a_PowerPack_in_10_Minutes/Create_a_PowerPack_in_10_Minutes.html" target="_blank">screencast demo</a>, I&#8217;ll be looking forward to seeing your PowerPacks in the <a title="PowerPack Library" href="http://powergui.org/kbcategory.jspa?categoryID=21" target="_blank">PowerPack Library</a> after your lunch or afternoon break! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Good luck with your PowerPacks!</p>
<p>Kirk out.</p>
</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9a68a2f6-b16f-48b4-ae91-3db0a45f7000" class="wlWriterEditableSmartContent">Mots clés Technorati : <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/PowerPack" rel="tag">PowerPack</a>,<a href="http://technorati.com/tags/PowerPack+Challenge" rel="tag">PowerPack Challenge</a>,<a href="http://technorati.com/tags/Poshoholic+Studios" rel="tag">Poshoholic Studios</a>,<a href="http://technorati.com/tags/Quick+Tip" rel="tag">Quick Tip</a></div>
<p> <span class="sbmLink"></span><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td><a title="Post it to Social!" href="http://social.microsoft.com/en-us/action/create/s/E/?url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;ttl=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png" /></a></td>
<td><a title="Post it to MSDN!" href="http://social.msdn.microsoft.com/en-us/action/create/s/E/?url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;ttl=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/msdn.png" /></a></td>
<td><a title="Post it to Technet!" href="http://social.technet.microsoft.com/en-us/action/create/s/E/?url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;ttl=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png" /></a></td>
<td><a title="Post it to Expression!" href="http://social.expression.microsoft.com/en-us/action/create/s/E/?url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;ttl=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/expression.png" /></a></td>
<td><a title="Post it to Live!" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;mkt=en-us&amp;url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;title=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/live4.png" /></a></td>
<td><a title="Post it to Del.icio.us!" href="http://del.icio.us/post?url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;;title=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to Del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;title=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to Digg!" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;title=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to Facebook!" href="http://www.facebook.com/sharer.php?u=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;t=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.technet.com/photos/james/images/1765319/original.aspx" /></a></td>
<td><a title="Post it to Reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;title=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to Technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;title=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to Yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes&amp;t=PowerGUI Quick Tip: Create a PowerPack from start to finish in 10 minutes" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=278&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/11/13/powergui-quick-tip-create-a-powerpack-from-start-to-finish-in-10-minutes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/RYKjH3Mb4do/2.jpg" medium="image" />

		<media:content url="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png" medium="image" />

		<media:content url="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/msdn.png" medium="image" />

		<media:content url="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png" medium="image" />

		<media:content url="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/expression.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/live4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.technet.com/photos/james/images/1765319/original.aspx" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerShell 3.0: Why wait? Importing typed objects with typed properties from a CSV file</title>
		<link>http://poshoholic.com/2009/09/18/powershell-3-0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/</link>
		<comments>http://poshoholic.com/2009/09/18/powershell-3-0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 14:48:06 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell 3.0]]></category>
		<category><![CDATA[Import-Csv]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[Proxy function]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/09/18/powershell-3-0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/</guid>
		<description><![CDATA[After working exclusively with PowerShell in my career for over two years now, it has become quite clear to me that the single most valuable feature in Microsoft Windows PowerShell, in my opinion anyway, is its extensibility.&#160; In particular, it’s how easily it can be extended in PowerShell itself through a combination of PowerShell scripts [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=275&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After working exclusively with PowerShell in my career for over two years now, it has become quite clear to me that the single most valuable feature in Microsoft Windows PowerShell, in my opinion anyway, is its extensibility.&#160; In particular, it’s how easily it can be extended in PowerShell itself through a combination of PowerShell scripts and XML files, without the need of a compiler.&#160; There are some features that are a very close second to that (consistency and discoverability), but the extensibility that PowerShell provides is truly second to none.</p>
<p>Version 1.0 of PowerShell was extendible from within PowerShell via combinations of PowerShell functions, the .NET Framework, WMI, ADSI, Add-Member and external ps1xml files that define type extensions and formats, not to mention snapins.&#160; Using these features in PowerShell 1.0, I found them more than capable to allow me to create some really creative workarounds to some challenging issues that were identified in that version.&#160; Not everything can be worked around, of course; some bugs can really only be fixed by the PowerShell team, and that will always be the case.&#160; Those bugs aside though, PowerShell 1.0 really did a great job of providing a ton of functionality and enabling people like you and me to add even more.</p>
<p>Still, the solutions I could come up with in PowerShell 1.0 didn’t function quite the same as a regular PowerShell cmdlet.&#160; There were some subtle differences and limitations in what you could do in that release.&#160; Version 2.0 of PowerShell addresses some of those limitations, bringing even more extendibility options to the table with advanced functions, classes (using Add-Type), modules, and proxy functions.&#160; These new options are a welcome addition to the PowerShell ecosystem and they allow me to ask the question “Why wait for PowerShell 3.0?”, a question I can now try to answer with creative solutions to problems in PowerShell and with creative ways to extend PowerShell so that you don’t necessarily have to wait for the next release to get new features or functionality that you might be looking for.&#160; This article is the first in what I hope becomes a series of solutions that allow you to get some functionality you might find in PowerShell 3.0 without having to wait for it.</p>
<p>First on my list of areas needing improvement comes from a recent question that came up on a mailing list I follow: </p>
<blockquote><p>I&#8217;m using Import-CSV to import a two-&quot;column&quot; CSV file and return a custom object with two additional properties. But I want the first property to be an Int and the second to be a DateTime. How do I do that? (I&#8217;ve tried several strategies, including explicit casting of the types in an array, but they come out as strings.</p>
</blockquote>
<p>Import-Csv is a really, really handy cmdlet.&#160; It allows you to import the contents of a csv (character-separated value) file as a collection of objects so that you can then do things with them.&#160; It is commonly used in bulk provisioning or modification scenarios, where administrators can work with the data in the csv first if necessary and then write a script to do the required work according to the data from each entry in the csv file.</p>
<p>It has certain limitations, though, and those limitations can cause you to have to include additional complexity in your scripts to work around the limitations.&#160; When you import data using Import-Csv, every property on the objects that are created are all of type string.&#160; If you are trying to work with some properties containing dates (System.Datetime) or others containing numeric values or other types, complicated pipelines with manual conversion using ForEach-Object or Select-Object is required.&#160; That’s fine for one-off scenarios, but this has come up before, and it makes sense for Import-Csv to allow users to set the types for the properties on the objects they are importing &#8212; that’s one problem to solve.</p>
<p>Another limitation is that objects imported from Import-Csv don’t necessarily have an appropriate type name associated with them.&#160; If the file was created manually or by another program, the objects will be generic PSObjects.&#160; If the file was created by exporting data from PowerShell using Export-Csv, a type may be included in the csv file but most csv files I work with come from sources other than PowerShell.&#160; You can customize the object type name however you like (and this is recommended if you are doing something like Importing data from a csv file into the <a title="PowerGUI" href="http://powergui.org" target="_blank">PowerGUI</a> Admin Console so that you can then associate relevant actions with that object type), but again this isn’t something you would want to do each time you import csv data because it’s just that much more work.</p>
<p>It sounds to me like this user would have preferred being able to call Import-Csv using a syntax something like this:</p>
<pre><span style="color:#5f9ea0;font-weight:bold;">Import-Csv</span><span style="color:#000000;"> </span><span style="color:#800000;">C:\birthdays.csv</span><span style="color:#000000;"> -Type String,Int,Date</span></pre>
<p>or, with a slightly more powerful example, perhaps like this: </p>
<pre><span style="color:#5f9ea0;font-weight:bold;">Import-Csv</span><span style="color:#000000;"> </span><span style="color:#800000;">C:\birthdays.csv</span><span style="color:#000000;"> -TypeMap @{Age</span><span style="color:#ff0000;">=</span><span style="color:#800000;">'</span><span style="color:#800000;">Int</span><span style="color:#800000;">'</span><span style="color:#000000;">;Birthday=[</span><span style="color:#008080;">System.DateTime</span><span style="color:#000000;">]} </span><span style="color:#800000;">-As</span><span style="color:#000000;"> </span><span style="color:#800000;">'</span><span style="color:#800000;">BirthdayRecord</span><span style="color:#800000;">'</span><span style="color:#000000;"> -UseETS -Overwrite</span></pre>
<p>We could simply put in a feature request to the <a title="PowerShell Connect site" href="https://connect.microsoft.com/PowerShell" target="_blank">PowerShell Connect site</a> (something I recommend you do whenever you come across something you feel is missing or incorrect), but that won’t do anything to help us today.&#160; How can we solve those two problems now and bring Import-Csv into a level of functionality we might like to think we’ll get in PowerShell 3.0, like what is shown above, in such a way that getting typed objects with properly typed properties is as simple as importing data from a csv file using nothing but an Import-Csv command?&#160; The answer to that comes from one of my new best friends in PowerShell: proxy functions.&#160; The proxy function feature in PowerShell allows you to create an advanced function with the same name as a cmdlet that internally calls that cmdlet.&#160; Since functions have a higher precedence that cmdlets in the command precedence order, you’ll always get the proxy function if it’s loaded when you are using the basic (that is to say, non-qualified) cmdlet name.</p>
<p>Creating a proxy function is easy.&#160; All you have to do is execute a static .NET method called Create on the System.Management.Automation.ProxyCommand class and pass in a new System.Management.Automation.CommandMetaData object created by using the result of calling Get-Command for the cmdlet you want to proxy to get the internal script that will be the body of the proxy function, then wrap that in a function with the same name as the cmdlet you are proxying and then, to add that function to your current script file, output it to another file and then copy it over using an editor.&#160; Huh?&#160; That sure sounds complicated.&#160; Well, since it’s not all wrapped up in a cmdlet for you, it is more complicated than it needs to be.</p>
<p>Let’s try that again.</p>
<p>Creating a proxy function is easy.&#160; All you have to do is follow a few steps to get the command you need to run that generates the proxy function body, and then work within your favorite editor to copy that command body into your function in the file you are working on.&#160; My favorite editor is <a title="PowerGUI" href="http://powergui.org" target="_blank">PowerGUI</a>, so I’ll use that in my example.&#160; First, make sure you have installed <a title="PowerGUI" href="http://powergui.org" target="_blank">PowerGUI</a> with the <a title="PowerShell 2.0 snippets" href="http://www.powergui.org/entry.jspa?externalID=2472&amp;categoryID=299" target="_blank">new PowerShell 2.0 snippets</a> (you can read more about those <a title="What&#39;s new in PowerShell 2.0?" href="http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/" target="_blank">here</a>) and then open up your <a title="PowerGUI" href="http://powergui.org" target="_blank">PowerGUI</a> Script Editor and follow these steps:</p>
<ol>
<li>Select Edit | Insert Snippet. </li>
<li>Scroll down the list of snippets until you find a folder called “PowerShell v2” and double-click on it. </li>
<li>Scroll down the list of PowerShell v2 snippets until you find one called “function (proxy)” and double-click on it to insert that snippet. </li>
<li>In the snippet Name field, type in the name of the cmdlet you want to create a proxy for and hit enter. </li>
</ol>
<p>If you like to learn by watching others, you can watch a demonstration of this (and other snippets) in a screencast that is posted on <a title="What&#39;s new in PowerShell 2.0?" href="http://www.youtube.com/watch?v=0EWnfrUqTpE" target="_blank">YouTube</a>.&#160; If you’re a keep-your-fingers-on-the-keyboard junkie like me, you can use shortcuts and type in the snippet folder and name and get this done very quickly.&#160; When you’re done, you’ll have a function that looks something like this:</p>
<pre><span style="color:#008000;">&lt;#</span><span style="color:#008000;">
    For more information about proxy functions, see the following article on the
    Microsoft PowerShell Team blog:

http://blogs.msdn.com/powershell/archive/2009/01/04/extending-and-or-modifing-commands-with-proxies.aspx

</span><span style="color:#008000;">#&gt;</span><span style="color:#000000;">

</span><span style="color:#0000ff;">function</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">Import-Csv</span><span style="color:#000000;"> {
    </span><span style="color:#008000;">&lt;#</span><span style="color:#008000;">
        To create a proxy function for the Import-Csv cmdlet, paste the results of the following command into the body of this function and then remove this comment:
        [Management.Automation.ProxyCommand]::Create((New-Object Management.Automation.CommandMetaData (Get-Command Import-Csv)))
    </span><span style="color:#008000;">#&gt;</span><span style="color:#000000;">
}</span></pre>
<p>That’s not exactly a proxy function yet.&#160; There’s one more step you need to take, as described in the comment inside the proxy function.&#160; That comment indicates you need to run the command inside it and paste the results of that command over the comment itself.&#160; Copy the command as described in that comment and paste it in the embedded PowerShell Console window that is docked in your <a title="PowerGUI" href="http://powergui.org" target="_blank">PowerGUI</a> Script Editor, and once you have it pasted there, run it by pressing enter.&#160; The result of that command is string output that will become the main body of your proxy function.&#160; If you did this for Import-Csv like I did, it will look like this:</p>
<pre><span>
[CmdletBinding(DefaultParameterSetName='Delimiter')]
param(
    [Parameter(ParameterSetName='Delimiter', Position=1)]
    [ValidateNotNull()]
    [System.Char]
    ${Delimiter},

    [Parameter(Mandatory=$true, Position=0, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true)]
    [Alias('PSPath')]
    [System.String[]]
    ${Path},

    [Parameter(ParameterSetName='UseCulture', Mandatory=$true)]
    [ValidateNotNull()]
    [Switch]
    ${UseCulture},

    [ValidateNotNullOrEmpty()]
    [System.String[]]
    ${Header})

begin
{
    try {
        $outBuffer = $null
        if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer))
        {
            $PSBoundParameters['OutBuffer'] = 1
        }
        $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand('Import-Csv', [System.Management.Automation.CommandTypes]::Cmdlet)
        $scriptCmd = {&amp; $wrappedCmd @PSBoundParameters }
        $steppablePipeline = $scriptCmd.GetSteppablePipeline($myInvocation.CommandOrigin)
        $steppablePipeline.Begin($PSCmdlet)
    } catch {
        throw
    }
}

process
{
    try {
        $steppablePipeline.Process($_)
    } catch {
        throw
    }
}

end
{
    try {
        $steppablePipeline.End()
    } catch {
        throw
    }
}
&lt;#

.ForwardHelpTargetName Import-Csv
.ForwardHelpCategory Cmdlet

#&gt;</span></pre>
<p>Select all of that text that was output in your docked PowerShell Console window and copy it to your clipboard.&#160; Then paste it over the original comment that told you to do this.&#160; Now you have a proxy function.&#160; It doesn’t do anything different than the cmdlet you are proxying yet, but when it is loaded in your PowerShell session it will proxy that cmdlet properly.</p>
<p>So now you might be saying to yourself: “That’s great (although the process could be a little more streamlined…), but now what do I do?”.&#160; Now you can add your own parameters that you wish were on the original cmdlet in the first place, making the proxy function much more powerful.&#160; For our example with Import-Csv that I showed earlier, I would like to be able to specify the type of the properties in the csv file, either as an array when I want to specify all property types or as a hash table when I only want to specify a type for a few named properties, knowing that the rest will default to string.&#160; I’ll accomplish that by adding a Type and a TypeMap parameter to my Import-Csv proxy function.&#160; I’d also like to be able to specify the type of the object that is imported using Import-Csv, and I’d like to be able to define whether my type name should be treated as an Extended Type Name extension as well as whether or not the current type hierarchy should be overwritten or not.&#160; I’ll accomplish that by adding As, UseExtendedTypeSystem (alias UseETS), and OverwriteTypeHierarchy parameters.</p>
<p>Those changes will allow me to use the syntax I proposed above without waiting for someone else to give it to me.&#160; By taking the time to create the proxy function that supports these parameters I’ll save myself and others time and complexity in the scripts they write by moving all of the extra pipeline complexity that would otherwise be necessary directly inside the proxy function.&#160; It is worth noting that a proxy command isn’t as efficient as it would be if the added functionality were included in the cmdlet itself, but that’s not the point.&#160; The point is that you can extend cmdlets when they leave you wanting more today rather than waiting to see if PowerShell 3.0 includes the extensions you want or not tomorrow (or three years from now, who knows when it will be released).</p>
<p>The resulting proxy function is a pretty good sized function, but we’ve added quite a few features to it as well, and those features need to have some logic to support them.&#160; I’m including my version of the Import-Csv proxy function at the bottom of this post in its entirety so that you can give it a try yourself and see if it helps you out.&#160; With the exception of the parameter definitions I added to the param statement, all logic supporting the new parameters I have added is enclosed in collapsible regions so that you can see the specific locations where I inserted my logic.&#160; That should make it a little easier for you to see how logic can be added within a proxy function, enabling you to experiment a little and create your own PowerShell 3.0 flavors of your favorite cmdlets.&#160; If you prefer to download the ps1 file containing the proxy command directly, I have also shared that on my SkyDrive, <a title="Import-Csv.ps1" href="http://cid-8d190219876b1dda.skydrive.live.com/self.aspx/PowerShell/Import-Csv.ps1" target="_blank">here</a>.</p>
<p>There are several other important things I should mention about proxy functions, as follows:</p>
<ol>
<li>You can add parameters, modify parameters, remove parameters, or leave parameters unchanged in proxy functions. </li>
<li>If you add parameters, you need to remove them from the parameter collection ($PSBoundParameters) before you create your wrapped command so that those parameters are not passed to the cmdlet you are proxying.&#160; You may also have to do this if you modify parameters, depending on the modifications you make. </li>
<li>If you find you are adding pipelines to certain commands you call on a regular basis, it is likely a sign that the cmdlet itself needs improvement.&#160; Consider creating proxy functions in these situations so that you don’t have to do as much typing in the long run. </li>
<li>If you create and use proxy functions, share them with the community so that the PowerShell team can see where cmdlets could be improved.&#160; You can’t influence what goes in PowerShell 3.0 if you’re not sharing. </li>
</ol>
<p>Here’s the final version of my Import-Csv proxy function:</p>
<pre><span style="color:#008000;">#</span><span style="color:#008000;">Requires -Version 2.0</span><span style="color:#008000;">
</span><span style="color:#000000;">
</span><span style="color:#0000ff;">function</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">Import-Csv</span><span style="color:#000000;"> {
    </span><span style="color:#008000;">&lt;#</span><span style="color:#008000;">

    .ForwardHelpTargetName Import-Csv
    .ForwardHelpCategory Cmdlet

    </span><span style="color:#008000;">#&gt;</span><span style="color:#000000;">

    [CmdletBinding(DefaultParameterSetName</span><span style="color:#ff0000;">=</span><span style="color:#800000;">'</span><span style="color:#800000;">Delimiter</span><span style="color:#800000;">'</span><span style="color:#000000;">)]
    </span><span style="color:#0000ff;">param</span><span style="color:#000000;">(
        [Parameter(ParameterSetName</span><span style="color:#ff0000;">=</span><span style="color:#800000;">'</span><span style="color:#800000;">Delimiter</span><span style="color:#800000;">'</span><span style="color:#000000;">, Position</span><span style="color:#ff0000;">=</span><span style="color:#000000;">1</span><span style="color:#000000;">)]
        [ValidateNotNull()]
        [</span><span style="color:#008080;">System.Char</span><span style="color:#000000;">]
        </span><span style="color:#800080;">${Delimiter}</span><span style="color:#000000;">,

        [Parameter(Mandatory</span><span style="color:#ff0000;">=</span><span style="color:#800080;">$true</span><span style="color:#000000;">, Position</span><span style="color:#ff0000;">=</span><span style="color:#000000;">0</span><span style="color:#000000;">, ValueFromPipeline</span><span style="color:#ff0000;">=</span><span style="color:#800080;">$true</span><span style="color:#000000;">, ValueFromPipelineByPropertyName</span><span style="color:#ff0000;">=</span><span style="color:#800080;">$true</span><span style="color:#000000;">)]
        [Alias(</span><span style="color:#800000;">'</span><span style="color:#800000;">PSPath</span><span style="color:#800000;">'</span><span style="color:#000000;">)]
        [</span><span style="color:#008080;">System.String</span><span style="color:#000000;">[]]
        </span><span style="color:#800080;">${Path}</span><span style="color:#000000;">,

        [Parameter(ParameterSetName</span><span style="color:#ff0000;">=</span><span style="color:#800000;">'</span><span style="color:#800000;">UseCulture</span><span style="color:#800000;">'</span><span style="color:#000000;">, Mandatory</span><span style="color:#ff0000;">=</span><span style="color:#800080;">$true</span><span style="color:#000000;">)]
        [ValidateNotNull()]
        [</span><span style="color:#008080;">Switch</span><span style="color:#000000;">]
        </span><span style="color:#800080;">${UseCulture}</span><span style="color:#000000;">,

        [ValidateNotNullOrEmpty()]
        [</span><span style="color:#008080;">System.String</span><span style="color:#000000;">[]]
        </span><span style="color:#800080;">${Header}</span><span style="color:#000000;">,

        [ValidateNotNullOrEmpty()]
        [</span><span style="color:#008080;">System.String</span><span style="color:#000000;">[]]
        </span><span style="color:#800080;">${Type}</span><span style="color:#000000;">,

        [ValidateNotNullOrEmpty()]
        [</span><span style="color:#008080;">System.Collections.Hashtable</span><span style="color:#000000;">]
        </span><span style="color:#800080;">${TypeMap}</span><span style="color:#000000;">,

        [ValidateNotNullOrEmpty()]
        [</span><span style="color:#008080;">System.String</span><span style="color:#000000;">]
        </span><span style="color:#800080;">${As}</span><span style="color:#000000;">,

        [Alias(</span><span style="color:#800000;">'</span><span style="color:#800000;">UseETS</span><span style="color:#800000;">'</span><span style="color:#000000;">)]
        [ValidateNotNull()]
        [</span><span style="color:#008080;">Switch</span><span style="color:#000000;">]
        </span><span style="color:#800080;">${UseExtendedTypeSystem}</span><span style="color:#000000;">,

        [ValidateNotNull()]
        [</span><span style="color:#008080;">Switch</span><span style="color:#000000;">]
        </span><span style="color:#800080;">${OverwriteTypeHierarchy}</span><span style="color:#000000;">
    )

    </span><span style="color:#0000ff;">begin</span><span style="color:#000000;"> {
        </span><span style="color:#0000ff;">try</span><span style="color:#000000;"> {
            </span><span style="color:#800080;">$outBuffer</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$null</span><span style="color:#000000;">
            </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">TryGetValue</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">OutBuffer</span><span style="color:#800000;">'</span><span style="color:#000000;">, [</span><span style="color:#008080;">ref</span><span style="color:#000000;">]</span><span style="color:#800080;">$outBuffer</span><span style="color:#000000;">)) {
                </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">[</span><span style="color:#800000;">'</span><span style="color:#800000;">OutBuffer</span><span style="color:#800000;">'</span><span style="color:#000000;">] </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#000000;">1</span><span style="color:#000000;">
            }
            </span><span style="color:#800080;">$wrappedCmd</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$ExecutionContext</span><span style="color:#000000;">.</span><span style="color:#8b4513;">InvokeCommand</span><span style="color:#000000;">.</span><span style="color:#8b4513;">GetCommand</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">Import-Csv</span><span style="color:#800000;">'</span><span style="color:#000000;">, [</span><span style="color:#008080;">System.Management.Automation.CommandTypes</span><span style="color:#000000;">]::</span><span style="color:#8b4513;">Cmdlet</span><span style="color:#000000;">)

            </span><span style="color:#0000ff;">#region</span><span style="color:#000000;"> Initialize helper variables used in the processing of the additional parameters.
            </span><span style="color:#800080;">$scriptCmdPipeline</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">''</span><span style="color:#000000;">
            </span><span style="color:#0000ff;">#endregion</span><span style="color:#000000;">

            </span><span style="color:#0000ff;">#region</span><span style="color:#000000;"> Process and remove the Type parameter if it is present, modifying the pipelined command appropriately.
            </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$Type</span><span style="color:#000000;">) {
                </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">Remove</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">Type</span><span style="color:#800000;">'</span><span style="color:#000000;">) | </span><span style="color:#5f9ea0;font-weight:bold;">Out-Null</span><span style="color:#000000;">
                </span><span style="color:#800080;">$scriptCmdPipeline</span><span style="color:#000000;"> </span><span style="color:#ff0000;">+=</span><span style="color:#000000;"> </span><span style="color:#800000;">@'
</span><span style="color:#800000;"> | ForEach-Object {
    for ($index = 0; ($index -lt @($_.PSObject.Properties).Count) -and ($index -lt @($Type).Count); $index++) {
        $typeObject = [System.Type](@($Type)[$index])
        $propertyName = @($_.PSObject.Properties)[$index].Name
        $_.$propertyName = &amp; $ExecutionContext.InvokeCommand.NewScriptBlock(&quot;[$($typeObject.FullName)]`$_.`$propertyName&quot;)
    }
    $_
}
</span><span style="color:#800000;">'@</span><span style="color:#000000;">
            }
            </span><span style="color:#0000ff;">#endregion</span><span style="color:#000000;">

            </span><span style="color:#0000ff;">#region</span><span style="color:#000000;"> Process and remove the TypeMap parameter if it is present, modifying the pipelined command appropriately.
            </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$TypeMap</span><span style="color:#000000;">) {
                </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">Remove</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">TypeMap</span><span style="color:#800000;">'</span><span style="color:#000000;">) | </span><span style="color:#5f9ea0;font-weight:bold;">Out-Null</span><span style="color:#000000;">
                </span><span style="color:#800080;">$scriptCmdPipeline</span><span style="color:#000000;"> </span><span style="color:#ff0000;">+=</span><span style="color:#000000;"> </span><span style="color:#800000;">@'
</span><span style="color:#800000;"> | ForEach-Object {
     foreach ($key in $TypeMap.keys) {
        if ($TypeMap[$key] -is [System.Type]) {
            $typeObject = $TypeMap[$key]
        } else {
            $typeObject = [System.Type]($TypeMap[$key])
        }
        $_.$key = &amp; $ExecutionContext.InvokeCommand.NewScriptBlock(&quot;[$($typeObject.FullName)]`$_.`$key&quot;)
    }
    $_
}
</span><span style="color:#800000;">'@</span><span style="color:#000000;">
            }
            </span><span style="color:#0000ff;">#endregion</span><span style="color:#000000;">

            </span><span style="color:#0000ff;">#region</span><span style="color:#000000;"> Process and remove the As, UseExtendedTypeSystem and OverwriteTypeHierarchy parameters if they are present, modifying the pipelined command appropriately.
            </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$As</span><span style="color:#000000;">) {
                </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">Remove</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">As</span><span style="color:#800000;">'</span><span style="color:#000000;">) | </span><span style="color:#5f9ea0;font-weight:bold;">Out-Null</span><span style="color:#000000;">
                </span><span style="color:#800080;">$customTypeName</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$As</span><span style="color:#000000;">
                </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$UseExtendedTypeSystem</span><span style="color:#000000;">) {
                    </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">Remove</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">UseExtendedTypeSystem</span><span style="color:#800000;">'</span><span style="color:#000000;">) | </span><span style="color:#5f9ea0;font-weight:bold;">Out-Null</span><span style="color:#000000;">
                    </span><span style="color:#800080;">$customTypeName</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800000;">'</span><span style="color:#800000;">$($_.PSObject.TypeNames[0] -replace </span><span style="color:#800000;">''</span><span style="color:#800000;">#.*$</span><span style="color:#800000;">''</span><span style="color:#800000;">,</span><span style="color:#800000;">''''</span><span style="color:#800000;">)#$As</span><span style="color:#800000;">'</span><span style="color:#000000;">
                }
                </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$OverwriteTypeHierarchy</span><span style="color:#000000;">) {
                    </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">Remove</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">OverwriteTypeHierarchy</span><span style="color:#800000;">'</span><span style="color:#000000;">) | </span><span style="color:#5f9ea0;font-weight:bold;">Out-Null</span><span style="color:#000000;">
                    </span><span style="color:#800080;">$scriptCmdPipeline</span><span style="color:#000000;"> </span><span style="color:#ff0000;">+=</span><span style="color:#000000;"> </span><span style="color:#800000;">@&quot;
</span><span style="color:#800000;"> | ForEach-Object {
     `$typeName = &quot;$customTypeName&quot;
     `$_.PSObject.TypeNames.Clear()
    `$_.PSObject.TypeNames.Insert(0,`$typeName)
    `$_
}
</span><span style="color:#800000;">&quot;@</span><span style="color:#000000;">
                } </span><span style="color:#0000ff;">else</span><span style="color:#000000;"> {
                    </span><span style="color:#800080;">$scriptCmdPipeline</span><span style="color:#000000;"> </span><span style="color:#ff0000;">+=</span><span style="color:#000000;"> </span><span style="color:#800000;">@&quot;
</span><span style="color:#800000;"> | ForEach-Object {
     `$typeName = &quot;$customTypeName&quot;
    `$_.PSObject.TypeNames.Insert(0,`$typeName)
    `$_
}
</span><span style="color:#800000;">&quot;@</span><span style="color:#000000;">
                }
            } </span><span style="color:#0000ff;">else</span><span style="color:#000000;"> {
                </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$UseExtendedTypeSystem</span><span style="color:#000000;">) {
                    </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">Remove</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">UseExtendedTypeSystem</span><span style="color:#800000;">'</span><span style="color:#000000;">) | </span><span style="color:#5f9ea0;font-weight:bold;">Out-Null</span><span style="color:#000000;">
                }
                </span><span style="color:#0000ff;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$OverwriteTypeHierarchy</span><span style="color:#000000;">) {
                    </span><span style="color:#800080;">$PSBoundParameters</span><span style="color:#000000;">.</span><span style="color:#8b4513;">Remove</span><span style="color:#000000;">(</span><span style="color:#800000;">'</span><span style="color:#800000;">OverwriteTypeHierarchy</span><span style="color:#800000;">'</span><span style="color:#000000;">) | </span><span style="color:#5f9ea0;font-weight:bold;">Out-Null</span><span style="color:#000000;">
                }
            }
            </span><span style="color:#0000ff;">#endregion</span><span style="color:#000000;">

            </span><span style="color:#800080;">$scriptCmd</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> {&amp; </span><span style="color:#800080;">$wrappedCmd</span><span style="color:#000000;"> @PSBoundParameters}

            </span><span style="color:#0000ff;">#region</span><span style="color:#000000;"> Append our pipeline command to the end of the wrapped command script block.
            </span><span style="color:#800080;">$scriptCmd</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$ExecutionContext</span><span style="color:#000000;">.</span><span style="color:#8b4513;">InvokeCommand</span><span style="color:#000000;">.</span><span style="color:#8b4513;">NewScriptBlock</span><span style="color:#000000;">(([</span><span style="color:#008080;">string</span><span style="color:#000000;">]</span><span style="color:#800080;">$scriptCmd</span><span style="color:#000000;"> </span><span style="color:#ff0000;">+</span><span style="color:#000000;"> </span><span style="color:#800080;">$scriptCmdPipeline</span><span style="color:#000000;">))
            </span><span style="color:#0000ff;">#endregion</span><span style="color:#000000;">

            </span><span style="color:#800080;">$steppablePipeline</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$scriptCmd</span><span style="color:#000000;">.GetSteppablePipeline(</span><span style="color:#800080;">$myInvocation</span><span style="color:#000000;">.CommandOrigin)
            </span><span style="color:#800080;">$steppablePipeline</span><span style="color:#000000;">.Begin(</span><span style="color:#800080;">$PSCmdlet</span><span style="color:#000000;">)
        }
        </span><span style="color:#0000ff;">catch</span><span style="color:#000000;"> {
            </span><span style="color:#0000ff;">throw</span><span style="color:#000000;">
        }
    }

    </span><span style="color:#0000ff;">process</span><span style="color:#000000;"> {
        </span><span style="color:#0000ff;">try</span><span style="color:#000000;"> {
            </span><span style="color:#800080;">$steppablePipeline</span><span style="color:#000000;">.Process(</span><span style="color:#800080;">$_</span><span style="color:#000000;">)
        }
        </span><span style="color:#0000ff;">catch</span><span style="color:#000000;"> {
            </span><span style="color:#0000ff;">throw</span><span style="color:#000000;">
        }
    }

    </span><span style="color:#0000ff;">end</span><span style="color:#000000;"> {
        </span><span style="color:#0000ff;">try</span><span style="color:#000000;"> {
            </span><span style="color:#800080;">$steppablePipeline</span><span style="color:#000000;">.End()
        }
        </span><span style="color:#0000ff;">catch</span><span style="color:#000000;"> {
            </span><span style="color:#0000ff;">throw</span><span style="color:#000000;">
        }
    }
}</span></pre>
<p>Are you still with me?&#160; Whew, if you stuck with me this far, thanks!&#160; There’s a lot of information here, and while it’s definitely not something for a beginner, if you’re comfortable experimenting in PowerShell I encourage you to give proxy functions a try and see what solutions you can come up with.&#160; Or, if you don’t mind taking the time to leave me a note, let me know what your biggest pains are with cmdlets today that you think could be solved with proxy functions and I’ll see what I can do to help create solutions for those.&#160; The feedback system really works, so don’t be shy, participate by either sharing solutions or letting others like me know what your problems are so that we can continue to help evolve PowerShell into the best scripting environment out there!</p>
<p>Thanks for listening!</p>
<p>Kirk out.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8fb808ce-0f03-4106-956d-8127c4576daa" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/Proxy+function" rel="tag">Proxy function</a>,<a href="http://technorati.com/tags/PowerShell+3.0" rel="tag">PowerShell 3.0</a>,<a href="http://technorati.com/tags/Import-Csv" rel="tag">Import-Csv</a></div>
<p><span class="sbmLink"></p>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this: </td>
<td><a title="Post it to Social!" href="http://social.microsoft.com/en-us/action/create/s/E/?url=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;ttl=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png" /></a></td>
<td><a title="Post it to Technet!" href="http://social.technet.microsoft.com/en-us/action/create/s/E/?url=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;ttl=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png" /></a></td>
<td><a title="Post it to Blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;title=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td><a title="Post it to Del.icio.us!" href="http://del.icio.us/post?url=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;;title=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td><a title="Post it to Del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;title=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td><a title="Post it to Digg!" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;title=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td><a title="Post it to Facebook!" href="http://www.facebook.com/sharer.php?u=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;t=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.technet.com/photos/james/images/1765319/original.aspx" /></a></td>
<td><a title="Post it to Furl!" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;ti=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" /></a></td>
<td><a title="Post it to Reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;title=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td><a title="Post it to Spurl!" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;title=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" /></a></td>
<td><a title="Post it to Technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;title=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td><a title="Post it to Yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/09/18/powershell-3.0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/&amp;t=PowerShell 3.0: Why wait? Importing typed objects with typed properties from a csv file" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=275&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/09/18/powershell-3-0-why-wait-importing-typed-objects-with-typed-properties-from-a-csv-file/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/social.png" medium="image" />

		<media:content url="http://www.dotnetscraps.com/dotnetscraps/samples/sbmtool/technet.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.technet.com/photos/james/images/1765319/original.aspx" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Learn PowerShell v2 features using PowerShell code snippets</title>
		<link>http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/</link>
		<comments>http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 13:46:51 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[Poshoholic Studios]]></category>
		<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerGUI Quick Tip]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[Quick Tip]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/?p=264</guid>
		<description><![CDATA[Learning and using PowerShell v2 features just got easier!&#160; Earlier this week I uploaded a collection of PowerShell v2 code snippets to the PowerGUI website, and they are ready for you to download and use.&#160; All you need to do is follow the installation instructions in the snippet document. Once you have the snippets installed, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=264&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Learning and using PowerShell v2 features just got easier!&#160; Earlier this week I uploaded a collection of <a title="PowerShell v2 code snippets" href="http://www.powergui.org/entry.jspa?externalID=2472&amp;categoryID=299" target="_blank">PowerShell v2 code snippets</a> to the <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> website, and they are ready for you to download and use.&#160; All you need to do is follow the installation instructions in the <a title="PowerShell v2 Code Snippets" href="http://www.powergui.org/entry.jspa?externalID=2472&amp;categoryID=299" target="_blank">snippet document</a>.</p>
<p>Once you have the snippets installed, watch the <a title="What&#39;s new in PowerShell v2" href="http://powergui.org/shares/powergui/sbin/docs/PowerShell_v2_Snippets/PowerShell_v2_Snippets.html" target="_blank">screencast</a> that demonstrates how you can learn more about some PowerShell v2 features by using the v2 code snippets.&#160; You can watch it in <a title="What&#39;s new in PowerShell v2" href="http://powergui.org/shares/powergui/sbin/docs/PowerShell_v2_Snippets/PowerShell_v2_Snippets.html" target="_blank">flash format</a> with a table of contents, or you can watch the <a href="http://www.youtube.com/watch?v=0EWnfrUqTpE" target="_blank">YouTube version</a> below.</p>
</p>
<p align="left"><span style="text-align:center; display: block;"><a href="http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/"><img src="http://img.youtube.com/vi/0EWnfrUqTpE/2.jpg" alt="" /></a></span> </p>
<p>Want to see more snippets?&#160; Let me know which areas of PowerShell you would like to see covered in snippets by leaving me a note in the comments.</p>
<p>Enjoy!</p>
<p>Kirk out.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:3fab71d8-5588-4e7d-ba02-608a1bef2680" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/Quick+Tip" rel="tag">Quick Tip</a>,<a href="http://technorati.com/tags/Poshoholic+Studios" rel="tag">Poshoholic Studios</a></div>
<p><span class="sbmLink"></span></p>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;title=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;;title=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;title=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;title=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;ti=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;title=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;title=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;title=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/&amp;t=Learn PowerShell v2 features using PowerShell code snippets" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=264&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/08/28/learn-powershell-v2-features-using-powershell-code-snippets/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/0EWnfrUqTpE/2.jpg" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Recover deleted Active Directory objects with the AD Recycle Bin PowerPack</title>
		<link>http://poshoholic.com/2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/</link>
		<comments>http://poshoholic.com/2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 06:22:14 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerPack]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[PowerShell v2]]></category>
		<category><![CDATA[Recycle Bin]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/</guid>
		<description><![CDATA[Last week Microsoft made the announcement that Windows Server 2008 R2 reached RTM.&#160; Among the many cool new features provided with that release (Hello?&#160; PowerShell v2?&#160; Need I say more?), Microsoft has now added a recycle bin feature to Active Directory.&#160; The management interface provided by Microsoft for this feature is the command line, or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=257&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week Microsoft made the <a title="Windows Server 2008 R2 RTM bits available today" href="http://blogs.technet.com/windowsserver/archive/2009/08/14/windows-server-2008-r2-rtm-bits-available-today.aspx" target="_blank">announcement</a> that Windows Server 2008 R2 reached RTM.&#160; Among the many cool new features provided with that release (Hello?&#160; PowerShell v2?&#160; Need I say more?), Microsoft has now added a recycle bin feature to Active Directory.&#160; The management interface provided by Microsoft for this feature is the command line, or more specifically, PowerShell.&#160; That’s great if you’re like me and you love to manage your infrastructure using PowerShell, but what if you prefer a GUI?&#160; Fortunately there is a solution for you too.</p>
<p>As Jackson Shaw <a title="Active Directory&#39;s Recycle Bin" href="http://jacksonshaw.blogspot.com/2009/08/active-directorys-recycle-bin.html" target="_blank">suggested on his blog</a> about a week ago, <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> provides an admin console that allows you to create your own management UI that is layered on top of PowerShell.&#160; This admin console can be extended with PowerPacks, which are essentially add-ins that provide additional user interface elements in <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> that invoke PowerShell script when clicked.&#160; All you need to do is add the user interface elements you want and then provide the scripts to power those elements, managing the Active Directory Recycle Bin objects or anything else you need to manage.&#160; Or alternatively you can check to see if someone on the <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> Community like myself has already created a PowerPack with the functionality you are looking for.</p>
<p>In the case of the Active Directory Recycle Bin, you’re in luck.&#160; I just finished creating the first release of a new PowerPack that is designed to allow you to manage any objects in your recycle bin.&#160; You can find the <a title="Active Directory Recycle Bin PowerPack" href="http://www.powergui.org/entry.jspa?externalID=2461&amp;categoryID=21" target="_blank">Active Directory Recycle Bin PowerPack</a> by following the hyperlink <a title="Active Directory Recycle Bin PowerPack" href="http://www.powergui.org/entry.jspa?externalID=2461&amp;categoryID=21" target="_blank">here</a> or by going directly to <a href="http://www.powergui.org">http://www.powergui.org</a> and browsing into the Active Directory subcategory in the <a title="PowerPack Library" href="http://www.powergui.org/kbcategory.jspa?categoryID=21" target="_blank">PowerPack Library</a>.&#160; This PowerPack includes the following features:</p>
<ul>
<li>View the contents of the recycle bin, including hierarchies </li>
<li>Restore individual items in the recycle bin (recursively or not) to their original location </li>
<li>Restore individual items in the recycle bin (recursively or not) to a specified location </li>
<li>Permanently delete objects in the recycle bin (recursively or not) </li>
<li>Empty the contents of the recycle bin </li>
<li>Modify the number of days that the recycle bin is configured to retain objects and the number of days that objects are to be kept in a tombstone state before permanent deletion </li>
</ul>
<p>If you would like to see a demo of the <a title="Active Directory PowerPack" href="http://www.powergui.org/entry.jspa?externalID=2461&amp;categoryID=21" target="_blank">Active Directory Recycle Bin PowerPack</a>, watch this screencast:</p>
<p><span style="text-align:center; display: block;"><a href="http://poshoholic.com/2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/"><img src="http://img.youtube.com/vi/MI1Tdual0wE/2.jpg" alt="" /></a></span></p>
<p>If you prefer watching a high resolution version of the screencast, you can watch it in flash format <a title="Getting Started with the Active Directory Recycle Bin PowerPack" href="http://powergui.org/shares/powergui/sbin/docs/AD_Recycle_Bin_PowerPack/AD_Recycle_Bin_PowerPack.html" target="_blank">here</a> or on YouTube directly in HD format <a title="Getting started with the Active Directory Recycle Bin PowerPack" href="http://www.youtube.com/watch?v=MI1Tdual0wE&amp;hd=1" target="_blank">here</a>.</p>
<p>This is the initial release of this PowerPack and it contains a good amount of new functionality.&#160; If you are experimenting with the Active Directory Recycle Bin feature, please take a look at this PowerPack and provide any feedback you have so that we can continue to provide improvements that are valuable to you and others in future releases.</p>
<p>Thanks for listening!</p>
<p>Kirk out.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a41b5fdd-2199-43c1-bb21-bd820a495f65" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/Active+Directory" rel="tag">Active Directory</a>,<a href="http://technorati.com/tags/AD" rel="tag">AD</a>,<a href="http://technorati.com/tags/Recycle+Bin" rel="tag">Recycle Bin</a>,<a href="http://technorati.com/tags/PowerShell+v2" rel="tag">PowerShell v2</a>,<a href="http://technorati.com/tags/PowerPack" rel="tag">PowerPack</a></div>
<p><span class="sbmLink"></span></p>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;title=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;;title=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;title=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;title=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;ti=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;title=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;title=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;title=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/&amp;t=Recover deleted Active Directory objects with the AD Recycle Bin PowerPack" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=257&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/08/18/recover-deleted-active-directory-objects-with-the-ad-recycle-bin-powerpack/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/MI1Tdual0wE/2.jpg" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Essential PowerShell: Know your operator and enclosure precedence</title>
		<link>http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/</link>
		<comments>http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 04:26:31 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[Essential PowerShell]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[operator precedence]]></category>
		<category><![CDATA[enclosure precedence]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/</guid>
		<description><![CDATA[PowerShell version 1 comes with a lot of operators, and the list becomes even longer in version 2 with cool new operators like -split and -join.  Whether you’re writing scripts or using PowerShell interactively, dealing with multiple operators in an expression that possibly contains different enclosures (brackets, quotation marks, etc.) as well can be very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=246&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PowerShell version 1 comes with a lot of operators, and the list becomes even longer in version 2 with cool new operators like -split and -join.  Whether you’re writing scripts or using PowerShell interactively, dealing with multiple operators in an expression that possibly contains different enclosures (brackets, quotation marks, etc.) as well can be very tricky.  It is very important to know how the PowerShell interpreter processes the expression so that you can get your expressions right the first time or, if you’re not so lucky, so that you can identify the problem in your expressions later and fix them. </p>
<p>Recently there have been several posts on the forums where the problem has been a lack of understanding of the operator and enclosure precedence in PowerShell.  That’s not too surprising because the precedence order used by the PowerShell interpreter doesn’t seem to be documented at this time.  You can find the precedence order of arithmetic operators through the about_arithmetic_operators help file, you can find out some precedence details for specific operators in various operator help files, and you can find out the precedence of command types through the about_command_precedence help file, but that’s about it.  There is no single help file that documents the overall operator and enclosure precedence.  It doesn’t seem to be listed in any of the PowerShell books I have read either. </p>
<p>Fortunately through some ad hoc experimentation and through some reading of the help documentation that does exist it is possible to figure out how all of this works.  I’ve gone through that exercise recently and the resulting table of operator and enclosure precedence is below.  Before getting to the table though there are a few important things I should mention, as follows: </p>
<ol>
<li>Any items that share the same row in the table have the same precedence and are evaluated from left to right when adjacent within an expression unless otherwise indicated.</li>
<li>The intent of this table is to identify a precedence that can be used to create or troubleshoot more complicated expressions without a lot of guesswork.  It is not intended to explain what each of the operators are and how you can use them (although to help understand expressions you might have to deal with I do mention a few details about some operators that function differently than the majority of operators in PowerShell).</li>
<li>If you want to learn about the individual operators and see examples showing how they can be used I recommend you consult the about_operators help file and all of its related files.</li>
</ol>
<p>With that out of the way, here is the operator and enclosure precedence table for PowerShell:</p>
<table border="0" cellspacing="0" cellpadding="2" width="595" rules="rows">
<tbody>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">[]</td>
<td width="240" valign="top">Type enclosures</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">Any character placed inside of these enclosures is treated as part of a literal type name.  The contents are not evaluated like an expression would be.</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">&#8221; &#8220;</td>
<td width="240" valign="top">Double-quoted string enclosures</td>
</tr>
<tr>
<td width="87" valign="top">&#8216; &#8216;</td>
<td width="240" valign="top">Single-quoted string enclosures</td>
</tr>
<tr>
<td width="87" valign="top">@&#8221; &#8220;@</td>
<td width="240" valign="top">Double-quoted here-string enclosures</td>
</tr>
<tr>
<td width="87" valign="top">@&#8217; &#8216;@</td>
<td width="240" valign="top">Single-quoted here-string enclosures</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">{}</td>
<td width="240" valign="top">Script block enclosures</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">()</td>
<td width="240" valign="top">Nested expression enclosures</td>
</tr>
<tr>
<td width="87" valign="top">@()</td>
<td width="240" valign="top">Array subexpression enclosures</td>
</tr>
<tr>
<td width="87" valign="top">$()</td>
<td width="240" valign="top">Subexpression enclosures</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">.</td>
<td width="240" valign="top">Property dereference operator</td>
</tr>
<tr>
<td width="87" valign="top">::</td>
<td width="240" valign="top">Static member operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">[]</td>
<td width="240" valign="top">Index operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">[int]<br />
[string[]]<br />
etc.</td>
<td width="240" valign="top">Cast operators</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">Multiple adjacent operators in this row have a right-to-left evaluation.</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">-split (unary)</td>
<td width="240" valign="top">Split operator (unary)</td>
</tr>
<tr>
<td width="87" valign="top">-join (unary)</td>
<td width="240" valign="top">Join operator (unary)</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">These operators can be used as unary or binary operators.  Their precedence varies depending on how they are used.</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">,</td>
<td width="240" valign="top">Comma operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">This operator is the array element separator.  It can be used as an unary or binary operator.</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">++</td>
<td width="240" valign="top">Increment operator</td>
</tr>
<tr>
<td width="87" valign="top">- -</td>
<td width="240" valign="top">Decrement operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">These unary operators can be used before or after a variable or property.  When used before the variable or property (as a prefix operator), the value is incremented or decremented first and then the result is passed into the expression in which it is contained.  When used after the variable or property (as a postfix operator), the value is passed into the expression in which it is contained and then the variable or property is immediately incremented or decremented.</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">-</td>
<td width="240" valign="top">Negate operator</td>
</tr>
<tr>
<td width="87" valign="top">-not</td>
<td width="240" valign="top">Not operator</td>
</tr>
<tr>
<td width="87" valign="top">!</td>
<td width="240" valign="top">Not operator</td>
</tr>
<tr>
<td width="87" valign="top">-bnot</td>
<td width="240" valign="top">Bitwise not operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">Multiple adjacent operators in this row have a right-to-left evaluation.</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">..</td>
<td width="240" valign="top">Range operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">-f</td>
<td width="240" valign="top">Format operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">*</td>
<td width="240" valign="top">Multiplication operator</td>
</tr>
<tr>
<td width="87" valign="top">/</td>
<td width="240" valign="top">Division operator</td>
</tr>
<tr>
<td width="87" valign="top">%</td>
<td width="240" valign="top">Modulus operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">+</td>
<td width="240" valign="top">Addition operator</td>
</tr>
<tr>
<td width="87" valign="top">-</td>
<td width="240" valign="top">Subtraction operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="87" valign="top">-split<br />
-isplit<br />
-csplit (binary)</td>
<td width="240" valign="top">Split operator (binary)</td>
</tr>
<tr>
<td width="87" valign="top">-join (binary)</td>
<td width="240" valign="top">Join operator (binary)</td>
</tr>
<tr>
<td width="87" valign="top">-is</td>
<td width="240" valign="top">Type is operator</td>
</tr>
<tr>
<td width="87" valign="top">-isnot</td>
<td width="240" valign="top">Type is not operator</td>
</tr>
<tr>
<td width="87" valign="top">-as</td>
<td width="240" valign="top">Type as operator</td>
</tr>
<tr>
<td width="87" valign="top">-eq<br />
-ieq<br />
-ceq</td>
<td width="240" valign="top">Equal to operator</td>
</tr>
<tr>
<td width="87" valign="top">-ne<br />
-ine<br />
-cne</td>
<td width="240" valign="top">Not equal to operator</td>
</tr>
<tr>
<td width="87" valign="top">-gt<br />
-igt<br />
-cgt</td>
<td width="240" valign="top">Greater than operator</td>
</tr>
<tr>
<td width="87" valign="top">-ge<br />
-ige<br />
-cge</td>
<td width="240" valign="top">Greater than or equal to operator</td>
</tr>
<tr>
<td width="87" valign="top">-lt<br />
-ilt<br />
-clt</td>
<td width="240" valign="top">Less than operator</td>
</tr>
<tr>
<td width="87" valign="top">-le<br />
-ile<br />
-cle</td>
<td width="240" valign="top">Less than or equal to operator</td>
</tr>
<tr>
<td width="87" valign="top">-like<br />
-ilike<br />
-clike</td>
<td width="240" valign="top">Like operator</td>
</tr>
<tr>
<td width="87" valign="top">-notlike<br />
-inotlike<br />
-cnotlike</td>
<td width="240" valign="top">Not like operator</td>
</tr>
<tr>
<td width="87" valign="top">-match<br />
-imatch<br />
-cmatch</td>
<td width="240" valign="top">Match operator</td>
</tr>
<tr>
<td width="87" valign="top">-notmatch<br />
-inotmatch<br />
-cnotmatch</td>
<td width="240" valign="top">Not match operator</td>
</tr>
<tr>
<td width="87" valign="top">-contains<br />
-icontains<br />
-ccontains</td>
<td width="240" valign="top">Contains operator</td>
</tr>
<tr>
<td width="87" valign="top">-notcontains<br />
-inotcontains<br />
-cnotcontains</td>
<td width="240" valign="top">Does not contain operator</td>
</tr>
<tr>
<td width="87" valign="top">-replace<br />
-ireplace<br />
-creplace</td>
<td width="240" valign="top">Replace operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">With the exception of the join operator and the type operators (-is, -isnot, and –as), each of the operators in this row has a case-sensitive and an explicit case-insensitive variant.  Case-sensitive variants are prefixed with c (e.g. -ceq) and case-insensitive variants are prefixed with i (e.g. –ireplace).</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="327">
<tbody>
<tr>
<td width="92" valign="top">-band</td>
<td width="233" valign="top">Bitwise and operator</td>
</tr>
<tr>
<td width="92" valign="top">-bor</td>
<td width="233" valign="top">Bitwise or operator</td>
</tr>
<tr>
<td width="92" valign="top">-bxor</td>
<td width="233" valign="top">Bitwise exclusive or operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="328">
<tbody>
<tr>
<td width="92" valign="top">-and</td>
<td width="234" valign="top">Logical and operator</td>
</tr>
<tr>
<td width="92" valign="top">-or</td>
<td width="234" valign="top">Logical or operator</td>
</tr>
<tr>
<td width="92" valign="top">-xor</td>
<td width="234" valign="top">Logical exclusive or operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top"> </td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="327">
<tbody>
<tr>
<td width="92" valign="top">.</td>
<td width="233" valign="top">Dot-sourcing operator</td>
</tr>
<tr>
<td width="92" valign="top">&amp;</td>
<td width="233" valign="top">Call operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">Unary operators that are only valid at the beginning of an expression, a nested expression, or a subexpression.</td>
</tr>
<tr>
<td width="285" valign="top">
<table border="0" cellspacing="0" cellpadding="2" width="329">
<tbody>
<tr>
<td width="92" valign="top">=</td>
<td width="235" valign="top">Assignment operator</td>
</tr>
<tr>
<td width="92" valign="top">+=</td>
<td width="235" valign="top">Assignment by addition operator</td>
</tr>
<tr>
<td width="92" valign="top">-=</td>
<td width="235" valign="top">Assignment by subtraction operator</td>
</tr>
<tr>
<td width="92" valign="top">*=</td>
<td width="235" valign="top">Assignment by multiplication operator</td>
</tr>
<tr>
<td width="92" valign="top">/=</td>
<td width="235" valign="top">Assignment by division operator</td>
</tr>
<tr>
<td width="92" valign="top">%=</td>
<td width="235" valign="top">Assignment by modulus operator</td>
</tr>
</tbody>
</table>
</td>
<td width="308" valign="top">Multiple adjacent operators in this row have a right-to-left evaluation.</td>
</tr>
</tbody>
</table>
<p>Since this table is created through experimentation and through snippets of information about precedence that I was able to find in the help files, it may not be entirely accurate.  If you find any problems with the precedence information provided here, please let me know and I’ll update this table accordingly. </p>
<p><em>[Update 09-July-2009: Fixed table formatting, added an index operator, added all case-sensitive and case-insensitive variants and adjusted the precedence for the property dereference and static member operators.]</em> </p>
<p>Thanks, </p>
<p>Kirk out. </p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2d6b6351-e620-48de-af54-fa6d86694f49" class="wlWriterSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/Essential+PowerShell">Essential PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/operator+precedence">operator precedence</a>,<a rel="tag" href="http://technorati.com/tags/enclosure+precedence">enclosure precedence</a></div>
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;title=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;;title=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;title=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;title=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;ti=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;title=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;title=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;title=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/&amp;t=Essential PowerShell: Know your operator and enclosure precedence" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/246/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/246/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/246/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=246&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/07/08/essential-powershell-know-your-operator-and-enclosure-precedence/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerShell Quick Tip: When you store an array, make sure it is an array</title>
		<link>http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/</link>
		<comments>http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:25:44 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Quick Tip]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[Quick Tip]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/</guid>
		<description><![CDATA[It is not uncommon to want to store the results of a command in an array so that you can refer to the contents of that array later in your script.&#160; This is often done by simply assigning the results of a command to a variable.&#160; For example, if you were importing the contents of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=244&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is not uncommon to want to store the results of a command in an array so that you can refer to the contents of that array later in your script.&#160; This is often done by simply assigning the results of a command to a variable.&#160; For example, if you were importing the contents of a csv file into an array you might do it like this:</p>
<blockquote><p>$collection = Import-Csv C:\newusers.csv</p>
</blockquote>
<p>Commands like this will work forever as long as you have a csv file in the appropriate location.&#160; Occasionally though you may find that a script containing this command just stops working.&#160; It might not make sense to you at the time because the script hasn’t changed, so what’s the problem?</p>
<p>The problem is that in the above command there is no guarantee that $collection will actually store an array of objects because there is no guarantee that Import-Csv will return more than one object.&#160; In fact, there is no guarantee that Import-Csv will return any objects at all.&#160; If the C:\newusers.csv file is generated by some other tool, it is possible that it might contain 0, 1 or more entries.&#160; When it contains 0 or 1 entries, the $collection variable will either be $null or it will contain one object representing the single entry in the C:\newusers.csv file, respectively.&#160; If further down in your script you’re always treating $collection as if it is an array and using indices to access elements in the array, your script will suddenly start failing with errors.</p>
<p>Fortunately there is a way to ensure that the results of any command are stored in an array.&#160; All you need to do is wrap the command that returns the object(s) in array enclosures, like this:</p>
<blockquote><p>$collection = @(Import-Csv C:\newusers.csv)</p>
</blockquote>
<p>If you take this approach in your script and then later when you run your script C:\newusers.csv only contains one entry or perhaps doesn’t contain any entries at all, your $collection variable will still be an array so that you can check the size using the Count property ($collection.Count), access individual values using indices (e.g. $collection[0]), etc.&#160; This is a much safer practice to take when writing your scripts so that you can make sure that you have an array when you store an array.</p>
<p>Of course if you are dealing with very large collections of objects that aren’t already loaded in memory an even better practice is to avoid storing the entire collection in memory altogether by using pipelines and cmdlets like <a title="Essential PowerShell: Understanding foreach" href="http://poshoholic.com/2007/08/21/essential-powershell-understanding-foreach/" target="_blank">ForEach-Object</a> to process the items in the collection, but I wanted to make sure you were aware of how you should properly handle and store arrays in variables in your scripts so that you’re not facing a script long after it has been written and asking yourself why it suddenly stopped working.&#160; There are plenty of other reasons why a script could stop working at some point but at least now you’re armed with the knowledge required to avoid one of those possibilities.</p>
<p>Kirk out.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:98874118-5b0d-4637-ab89-6339a2239f2a" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/Quick+Tip" rel="tag">Quick Tip</a></div>
</p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;title=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;;title=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;title=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;title=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;ti=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;title=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;title=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;title=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/&amp;t=PowerShell Quick Tip: When you store an array, make sure it is an array" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=244&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/07/03/powershell-quick-tip-when-you-store-an-array-make-sure-it-is-an-array/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Create your own org chart from AD with PowerGUI!</title>
		<link>http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/</link>
		<comments>http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 07:48:34 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[Poshoholic Studios]]></category>
		<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerPack]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Quest AD Cmdlets]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[Visio]]></category>
		<category><![CDATA[Org Chart]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/</guid>
		<description><![CDATA[Another week has gone by and I have another brand new PowerPack ready for download.&#160; This time around it’s the Org Chart PowerPack.&#160; This is a PowerPack that I put together based on a Get-OrgChart function I wrote to analyze org chart data at work.&#160; It lets you do some really cool things such as: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=229&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another week has gone by and I have another brand new PowerPack ready for download.&#160; This time around it’s the <a title="Org Chart PowerPack" href="http://powergui.org/entry.jspa?externalID=2424&amp;categoryID=21" target="_blank">Org Chart PowerPack</a>.&#160; This is a PowerPack that I put together based on a Get-OrgChart function I wrote to analyze org chart data at work.&#160; It lets you do some really cool things such as:</p>
<ol>
<li>Dynamically create an org chart from users in Active Directory using title, department, office, address, and other properties. </li>
<li>Generate a Visio Org Chart from <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> for the any branch of an organization. </li>
<li>Create statistical reports for the employees in your organization to see breakdowns of employees by office, department, management, etc. </li>
<li>Dynamically generate Office Directory reports in HTML when using it in conjunction with the <a title="Advanced Reporting PowerPack" href="http://powergui.org/entry.jspa?categoryID=21&amp;externalID=2423" target="_blank">Advanced Reporting PowerPack</a>. </li>
</ol>
<p>Note: The <a title="Org Chart PowerPack" href="http://powergui.org/entry.jspa?externalID=2424&amp;categoryID=21" target="_blank">Org Chart PowerPack</a> uses the <a title="Quest AD cmdlets" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">Quest AD cmdlets</a> to retrieve information from AD so you will need to install those first before you can use the PowerPack.</p>
<p>If you would like to see how this PowerPack can be of benefit to you, check out this screencast:</p>
<p><span style="text-align:center; display: block;"><a href="http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/"><img src="http://img.youtube.com/vi/TRyuVlX3dUY/2.jpg" alt="" /></a></span></p>
<p>This screencast was recorded in HD format so you can click on the HD button once you start watching it to enable high definition video.&#160; Alternatively, if you would prefer to watch a high resolution flash version with a table of contents you can watch the screencast <a title="Getting started with the Org Chart PowerPack" href="http://powergui.org/shares/powergui/sbin/docs/Org_Chart_PowerPack/Org_Chart_PowerPack.html" target="_blank">here</a>.&#160; I decided to try widescreen format this time since that is my format preference…let me know if this is a problem for you.</p>
<p>This is the first release of this PowerPack and I’m anxious to hear what you think so please give it a look and share your feedback so that I can improve it with another update in the future.</p>
<p>Thanks for listening!</p>
<p>Kirk out.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:39d579cd-7599-4fb2-ac09-7bbb9e26667e" class="wlWriterSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/PowerGUI" rel="tag">PowerGUI</a>,<a href="http://technorati.com/tags/Org+Chart" rel="tag">Org Chart</a>,<a href="http://technorati.com/tags/Visio" rel="tag">Visio</a>,<a href="http://technorati.com/tags/PowerPack" rel="tag">PowerPack</a>,<a href="http://technorati.com/tags/Quest+AD+Cmdlets" rel="tag">Quest AD Cmdlets</a></div>
<table border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;title=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;;title=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;title=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;title=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;ti=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;title=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;title=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;title=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/&amp;t=Create your own org chart from AD with PowerGUI!" target="_blank"><img border="0" alt="" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/229/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=229&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/06/27/create-your-own-org-chart-from-ad-with-powergui/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/TRyuVlX3dUY/2.jpg" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters</title>
		<link>http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/</link>
		<comments>http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 13:35:57 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell Quick Tip]]></category>
		<category><![CDATA[Quest AD Cmdlets]]></category>
		<category><![CDATA[ObjectAttributes]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[Quick Tip]]></category>
		<category><![CDATA[ScriptBlock Parameters]]></category>
		<category><![CDATA[Set-QADObject]]></category>
		<category><![CDATA[UserAccountControl]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/</guid>
		<description><![CDATA[In PowerShell you can pass pipeline data to parameters that are not configured to accept pipeline input using ScriptBlock parameters.&#160; This has been discussed before and it is well worth your time to make yourself familiar with that capability of PowerShell because it allows you to create true one-liners in places where you might think [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=227&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In PowerShell you can pass pipeline data to parameters that are not configured to accept pipeline input using ScriptBlock parameters.&#160; This has been discussed <a title="Flexible pipelining with ScriptBlock Parameters" href="https://blogs.msdn.com/powershell/archive/2006/06/23/643674.aspx" target="_blank">before</a> and it is well worth your time to make yourself familiar with that capability of PowerShell because it allows you to create true one-liners in places where you might think you cannot.&#160; Basically it boils down to this: you can pass a script block into parameters in a cmdlet that is not of type script block and within the script block you provide the $_ variable will contain the object that was just passed down the pipeline.&#160; The script block will be evaluated first, and then the result will be passed into the cmdlet parameter.</p>
<p>Still, even with that knowledge in hand people often trip over the ScriptBlock parameter syntax when using a parameter that takes a hash table (aka an associative array) as input.&#160; The most common example I can think of where this is encountered is in the <a title="Quest AD cmdlets" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">Quest AD cmdlets</a>.</p>
<p>Many of the Quest AD cmdlets have a parameter called ObjectAttributes.&#160; This parameter serves two purposes: in Get cmdlets it is used to define the values you want to filter on; in Set and New cmdlets it is used to define the values you want to assign to specific attributes.&#160; Not consistent, I know, but that’s a whole other discussion.&#160; In both cases the ObjectAttributes parameter is a hash table and to use it you simply need to define a hash table that matches attribute names with values.&#160; Here’s an example showing how users trip over the syntax without realizing it:</p>
<p>Get-QADComputer Comp1 `    <br />&#160;&#160;&#160; | Set-QADObject -ObjectAttributes `&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; @{userAccountControl=$_.userAccountControl -bxor 2}</p>
<p>This one liner was designed to enable or disable a computer object in AD.&#160; It will run without raising an error, and it will even enable or disable the computer object, but it will not work like you might expect.&#160; After running this command the userAccountControl attribute (which contains many flags, not just a flag for enabled/disabled state) will not be properly configured.&#160; Why?&#160; It looks like it is properly using a ScriptBlock parameter, but it is not so the $_.userAccountControl value will either evaluate to 0 if the $_ variable is null or if it does not have a userAccountControl property, or it will contain the userAccountControl value from whatever object the $_ variable contained before you called Get-QADComputer in the first stage of this pipeline.&#160; Nothing in this command instructs PowerShell to treat the ObjectAttributes parameter as a ScriptBlock parameter.&#160; So what’s missing?</p>
<p>The most important thing to remember about ScriptBlock parameters is that they always must be surrounded by script block enclosures (“{“ and “}”).&#160; Otherwise they are not script blocks.&#160; In our example above it looks like the parameter is surrounded by the proper enclosures, but that’s not true.&#160; It’s surrounded by hash table enclosures (“@{“ and “}”), and this is what trips people up when working with this syntax.&#160; To make this be properly treated as a ScriptBlock parameter, we need to surround the hash table with curly braces, like this:</p>
<p> Get-QADComputer Comp1 `   <br />&#160;&#160;&#160; | Set-QADObject -ObjectAttributes `&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {@{userAccountControl=$_.userAccountControl -bxor 2}}
<p>That makes PowerShell recognize that we have a ScriptBlock parameter and the $_ variable within it properly evaluates to the object that just came down the pipeline.&#160; No ForEach-Object or temporary variables required.&#160; It seems simple enough when explaining it but you’d be surprised how many people get tripped up on this syntax.</p>
<p>If you want to see some forum discussions where this has been an issue for others, you can go <a title="Get enabled/disabled computer accounts" href="http://powergui.org/thread.jspa?threadID=7773&amp;tstart=30" target="_blank">here</a> or <a title="How to enable/disable a computer object" href="http://www.powergui.org/thread.jspa?messageID=24467&amp;#24467" target="_blank">here</a>.</p>
<p>Kirk out.</p>
</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:bc477e30-3668-4892-bd40-812481dcccc9" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/Quick+Tip" rel="tag">Quick Tip</a>,<a href="http://technorati.com/tags/Quest+AD+Cmdlets" rel="tag">Quest AD Cmdlets</a>,<a href="http://technorati.com/tags/ScriptBlock+Parameters" rel="tag">ScriptBlock Parameters</a>,<a href="http://technorati.com/tags/ObjectAttributes" rel="tag">ObjectAttributes</a>,<a href="http://technorati.com/tags/UserAccountControl" rel="tag">UserAccountControl</a>,<a href="http://technorati.com/tags/Set-QADObject" rel="tag">Set-QADObject</a></div>
<p> <span class="sbmLink"></span><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;title=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;;title=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;title=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;title=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;ti=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;title=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;title=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;title=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/&amp;t=PowerShell Quick Tip: Setting AD object attributes with ScriptBlock parameters" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=227&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/06/23/powershell-quick-tip-setting-ad-object-attributes-with-scriptblock-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Just Released: Advanced Reporting PowerPack</title>
		<link>http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/</link>
		<comments>http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 09:40:27 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerPack]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Advanced Reporting]]></category>
		<category><![CDATA[HTML Report]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/06/20/just-released-advanced-reporting-powerpack/</guid>
		<description><![CDATA[I just published a brand new PowerPack to the PowerPack Library called the Advanced Reporting PowerPack.  If you’ve been keeping your eyes on the Virtualization EcoShell project as well as PowerGUI, you may have already come across this PowerPack because I released it there first. The Advanced Reporting PowerPack allows you to generate HTML reports [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=217&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just published a brand new PowerPack to the <a title="PowerPack Library" href="http://www.powergui.org/kbcategory.jspa?categoryID=21" target="_blank">PowerPack Library</a> called the <a title="Advanced Reporting PowerPack" href="http://powergui.org/entry.jspa?categoryID=21&amp;externalID=2423" target="_blank">Advanced Reporting PowerPack</a>.  If you’ve been keeping your eyes on the <a title="Virtualization EcoShell" href="http://www.thevesi.org/index.jspa" target="_blank">Virtualization EcoShell</a> project as well as <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a>, you may have already come across this PowerPack because I released it there first.</p>
<p>The <a title="Advanced Reporting PowerPack" href="http://powergui.org/entry.jspa?categoryID=21&amp;externalID=2423" target="_blank">Advanced Reporting PowerPack</a> allows you to generate HTML reports with collapsible nested groups for any set of data in PowerGUI.  Think VMs, Snapshots, AD Users or Groups…you name it.  If you can get the data into a grid in <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a>, you can generate a nice HTML report using this PowerPack.  The only UI element this PowerPack adds to <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> is a common action called “Create report…”.  This action does all of the heavy lifting to generate a cool HTML report for the items you have selected.</p>
<p>Want to see what how to get started using this PowerPack?  Watch this screencast:</p>
<p><span style="text-align:center; display: block;"><a href="http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/"><img src="http://img.youtube.com/vi/wkAxbALtELw/2.jpg" alt="" /></a></span></p>
<p>If you would prefer to watch a higher resolution version, you can watch the screencast in flash format <a title="Getting started with the Advanced Reporting PowerPack" href="http://powergui.org/shares/powergui/sbin/docs/Advanced_Reporting_PowerPack/Advanced_Reporting_PowerPack.html" target="_blank">here</a>.</p>
<p>This is only the first release of advanced reporting functionality in <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> and already it’s really powerful.  Still, there is room for improvement so if you have any feedback, please share it with me in my comments or on the <a title="PowerGUI forums" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">PowerGUI Forums</a> so that I can consider it for the next release!</p>
<p>Thanks and enjoy!</p>
<p>Kirk out.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b42105c0-6b73-4add-af1f-06a1984bb8cb" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI">PowerGUI</a>,<a rel="tag" href="http://technorati.com/tags/PowerPack">PowerPack</a>,<a rel="tag" href="http://technorati.com/tags/Advanced+Reporting">Advanced Reporting</a>,<a rel="tag" href="http://technorati.com/tags/HTML+Report">HTML Report</a></div>
<table border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;title=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;;title=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;title=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;title=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;ti=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;title=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;title=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;title=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/&amp;t=Just Released: Advanced Reporting PowerPack" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=217&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/06/20/just-released-advanced-reporting-powerpack/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/wkAxbALtELw/2.jpg" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Hanselminutes Show #162: PowerShell 2.0</title>
		<link>http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/</link>
		<comments>http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/#comments</comments>
		<pubDate>Tue, 19 May 2009 04:32:20 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Hanselminutes]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/05/18/hanselminutes-show-162-powershell-2-0/</guid>
		<description><![CDATA[While I was at tech·ed 2009 last week I ran into Hal while he was waiting for Scott Hanselman to finish up a game of Rock Band so that he could participate in a session for Scott’s popular podcast, Hanselminutes.&#160; Hal asked me if I wanted to participate, to which I said absolutely yes, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=213&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While I was at tech·ed 2009 last week I ran into <a title="Hal Rottenberg" href="http://halr9000.com" target="_blank">Hal</a> while he was waiting for <a title="Scott Hanselman" href="http://www.hanselman.com/blog/" target="_blank">Scott Hanselman</a> to finish up a game of Rock Band so that he could participate in a session for Scott’s popular podcast, <a title="Hanselminutes" href="http://www.hanselminutes.com/" target="_blank">Hanselminutes</a>.&#160; <a title="Hal Rottenberg" href="http://halr9000.com" target="_blank">Hal</a> asked me if I wanted to participate, to which I said absolutely yes, and the result is a 35 minute discussion with Hal, Scott and I about PowerShell 2.0.</p>
<p><a title="Hal Rottenberg" href="http://halr9000.com" target="_blank">Hal</a>’s an IT pro, and while I work with IT pros a lot these days I have a developer background, so we were able to speak to both sides of the fence and talk about why you should pay attention to PowerShell whether you’re a software developer or an IT pro.</p>
<p>That recording is now live, so if you want to hear it head over to <a title="Hanselminutes Show #162: PowerShell 2.0" href="http://www.hanselminutes.com/default.aspx?showID=180" target="_blank">Hanselminutes Show #162: PowerShell 2.0</a>, and let me know what you think afterwards.</p>
<p>Kirk out.</p>
<p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4e3c6286-6766-4ada-9cad-a101c201171d" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/PoSh" rel="tag">PoSh</a>,<a href="http://technorati.com/tags/Poshoholic" rel="tag">Poshoholic</a>,<a href="http://technorati.com/tags/podcast" rel="tag">podcast</a>,<a href="http://technorati.com/tags/Hanselminutes" rel="tag">Hanselminutes</a></div>
<p>   <span class="sbmLink"></span></p>
<p> <span class="sbmLink"><br />
<table cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post: </td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;title=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;;title=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;title=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;title=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;ti=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;title=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;title=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;title=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/&amp;t=Hanselminutes Show #162: PowerShell 2.0" target="_blank"><img border="0" src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" /></a></td>
</tr>
</tbody>
</table>
<p> </span><span class="sbmLink"></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=213&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/05/18/hanselminutes-show-162-powershell-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
		<item>
		<title>Create custom nodes easily with the Active Directory PowerPack and PowerGUI</title>
		<link>http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/</link>
		<comments>http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/#comments</comments>
		<pubDate>Fri, 08 May 2009 21:14:53 +0000</pubDate>
		<dc:creator>Kirk Munro</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PoSh]]></category>
		<category><![CDATA[Poshoholic]]></category>
		<category><![CDATA[PowerPack]]></category>
		<category><![CDATA[Quest AD Cmdlets]]></category>

		<guid isPermaLink="false">http://kirkmunro.wordpress.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/</guid>
		<description><![CDATA[Here’s a great question that someone just posted today on the PowerGUI forums: I have the latest verions of the Quest AD cmdlets, PowerGUI and the Active Directory PowerPack.  Can I use PowerGUI to search for old computer accounts?  For example: computer accounts that haven’t had their machine account password reset for over three months? [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=208&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here’s a great question that someone just posted today on the <a title="PowerGUI forums" href="http://www.powergui.org/forumindex.jspa?categoryID=55" target="_blank">PowerGUI forums</a>:</p>
<blockquote><p>I have the latest verions of the <a title="Quest AD cmdlets" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">Quest AD cmdlets</a>, <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> and the <a title="Active Directory PowerPack" href="http://www.powergui.org/entry.jspa?categoryID=46&amp;externalID=763" target="_blank">Active Directory PowerPack</a>.  Can I use <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a> to search for old computer accounts?  For example: computer accounts that haven’t had their machine account password reset for over three months?</p></blockquote>
<p><span style="color:#000000;">The timing of this question is perfect because the update of the </span><a title="Active Directory PowerPack" href="http://www.powergui.org/entry.jspa?categoryID=46&amp;externalID=763" target="_blank"><span style="color:#000000;">Active Directory PowerPack</span></a><span style="color:#000000;"> that I posted two weeks ago allows you to do this without having to write any scripts yourself.  For those of you who want to try this but don’t have the most recent versions of </span><a title="PowerGUI" href="http://www.powergui.org" target="_blank"><span style="color:#000000;">PowerGUI</span></a><span style="color:#000000;">, the </span><a title="Quest AD cmdlets" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank"><span style="color:#000000;">Quest AD cmdlets</span></a><span style="color:#000000;"> and the </span><a title="Active Directory PowerPack" href="http://www.powergui.org/entry.jspa?categoryID=46&amp;externalID=763" target="_blank"><span style="color:#000000;">Active Directory PowerPack</span></a><span style="color:#000000;"> installed, follow those links and download and install those before continuing.  Installation instructions are on the appropriate web pages where necessary.</span></p>
<p><span style="color:#000000;">Once you all of the necessary software installed, here’s what you need to do.</span></p>
<p><strong><span style="color:#000000;">Step 1: Add the attributes you need to the list of attributes retrieved from Active Directory.</span></strong></p>
<p>There are In the PowerGUI Admin Console, expand the “Active Directory” node and click on “Configuration”.  This will show you the current domain that PowerGUI will gather data from.  You can change this if you like, however you don’t need to unless you want to use alternate credentials or connect to another domain.  With the configuration showing in the grid, click on the “Manage default attributes” link.  That will present you with a view something like this:</p>
<p><a href="http://kirkmunro.files.wordpress.com/2009/05/image.png" target="_blank"><img style="display:inline;border-width:0;" title="image" src="http://kirkmunro.files.wordpress.com/2009/05/image_thumb.png?w=412&#038;h=247" border="0" alt="image" width="412" height="247" /></a></p>
<p>This shows you the current list of attributes that are retrieved for each individual Active Directory object.  This will be initially configured with the default attributes as defined by the <a title="Quest AD cmdlets" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">Quest AD cmdlets</a> plus a few attributes that are required for the <a title="Active Directory PowerPack" href="http://www.powergui.org/entry.jspa?categoryID=46&amp;externalID=763" target="_blank">Active Directory PowerPack</a>.  You can add whatever attributes you want to gather here for any of the object types.  To help solve our immediate problem and be able to get a list of computer accounts that have not had their machine account password reset for over three months, we need to add the pwdLastSet attribute for computer objects.  To do this, simply click on the “Add attribute…” action, provide the name of the pwdLastSet attribute in the “Attribute name” field and set the “Retrieve attribute for computer objects” value to True.  When you click on OK, that attribute configuration will be saved and any computer objects retrieved using the <a title="Quest AD cmdlets" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">Quest AD cmdlets</a> will have that attribute retrieved with them.</p>
<p><strong>Step 2: Retrieve the objects you want from Active Directory and optionally show the attributes you want to filter on.</strong></p>
<p>Once you have configured PowerGUI so that it will retrieve the pwdLastSet attribute for computer objects, you need to get your computers.  You can do this by simply clicking on the “Computers” child node under the “Active Directory” node.  This will present you with a list of computer accounts, showing their Name, Type and DN by default.</p>
<p>With the list of computer objects showing, you can optionally add the pwdLastSet attribute to the view by right-clicking in the column headers and selecting “More…” from the menu that appears.  With the list of all attributes that can be added showing, scroll down until you find the pwdLastSet attribute and check the checkbox beside it.  Then click on OK to save that change and your pwdLastSet attribute will be retrieved with your computer objects from the Computers node.</p>
<p><strong>Step 3: Create a client-side filter to filter out the objects you don’t care about.</strong></p>
<p>With the list of all of your computer objects showing, you can create a filter to reduce the number of objects to those that you need to see.  To do this, click on the Filters button above the column headers.  This will make the filter panel visible.</p>
<p><a href="http://kirkmunro.files.wordpress.com/2009/05/image1.png" target="_blank"><img style="display:inline;border-width:0;" title="image" src="http://kirkmunro.files.wordpress.com/2009/05/image_thumb1.png?w=412&#038;h=247" border="0" alt="image" width="412" height="247" /></a></p>
<p>You can use this panel to filter any collection based on the properties of the objects in that collection.  For our particular problem, we want to see computer objects whose password has not been changed in the last 3 months.  We can get that by selecting “pwdLastSet” in the “Property” field, “Less or equal” in the “Operator” field, and selecting the calendar date three months ago in the “Value” field using the calendar control.  Once that is set, click on the “Apply” button to apply the filter and your list of computer objects will be filtered to only show those whose machine passwords haven’t changed in the last 3 months.</p>
<p><strong>Step 4: Make the newly filtered data set available in its own node.</strong></p>
<p>Now that you have the data you’re looking after, your “Computers” node is now configured to always show you the filtered list because PowerGUI remembers the filters you apply to nodes.  You might not like this configuration, preferring to have a separate node to view the data that you want.  Fortunately, PowerGUI lets you do create that easily too, and you still don’t have to do any scripting.  To create a separate node that lets you get the same data set, simply click on the “Save As…” button in the filter panel.  This will allow you to save the script from the Computers node with the filter you have created automatically applied as a client-side filter for that script.  Simply give the new script node a name (something intuitive like “Computers with old passwords” will do), and click on OK to save the new child node.  Then you can click on the “Clear All” button in the filter panel for your “Computers” node because that filter will no longer be needed.  Now click on your new node and you’ll get the list of computers you are after, and it will look something like the screenshot below.</p>
<p><a href="http://kirkmunro.files.wordpress.com/2009/05/image2.png" target="_blank"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://kirkmunro.files.wordpress.com/2009/05/image_thumb2.png?w=415&#038;h=249" border="0" alt="image" width="415" height="249" /></a></p>
<p><strong>Step 5: Make your work reusable at any time by taking it one step further.</strong></p>
<p>At this point you have successfully created a new node that gets specifically the data you were looking for and you didn’t have to do any scripting to get it, which is great!  You can make it a little better still though.  For our specific problem that we’re trying to solve, we created a new node that reports any computer object with a machine account password that hasn’t been changed within 3 months from today.  But tomorrow that will be come 3 months and 1 day.  The next day that will become 3 months and 2 days.  What if you want to customize the node so that it reports computers whose machine accounts have not had their passwords changed in the last 3 months, no matter what day you click on it?  For that to work you will have to do a minor script modification.</p>
<p>Right-click on your new “Computers with old passwords” node and select properties.  This will show you the script used to retrieve your computers and filter the list.  At the very end of that script, you will see something like the following:</p>
<pre><span style="color:#000000;"><span style="color:#5f9ea0;">func_Computers</span> | </span><span style="color:#5f9ea0;font-weight:bold;">Where-Object</span><span style="color:#000000;"> {
    </span><span style="color:#000080;">$_</span><span style="color:#000000;">.</span><span style="color:#800000;">'</span><span style="color:#800000;">pwdlastset</span><span style="color:#800000;">' </span><span style="color:#ff0000;">-le</span><span style="color:#000000;"> [</span><span style="color:#008080;">System.DateTime</span><span style="color:#000000;">]</span><span style="color:#800000;">"</span><span style="color:#800000;">2009-02-08</span><span style="color:#800000;">"
</span><span style="color:#000000;">}</span></pre>
<p>The Where-Object cmdlet contains the filter that is excluding any computers whose pwdLastSet attribute is greater than 3 months from the day we did this (for me that that’s February 8, 2009 since I created the node on May 8, 2009).  To change that filter so that it always works using a date 3 months earlier than now, you simply need to replace [System.DateTime]”2009-02-08” with (Get-Date).AddMonths(-3).  That changes the end of our script to this:</p>
<pre><span style="color:#000000;"><span style="color:#5f9ea0;">func_Computers</span> | </span><span style="color:#5f9ea0;font-weight:bold;">Where-Object</span><span style="color:#000000;"> {
    </span><span style="color:#000080;">$_</span><span style="color:#000000;">.</span><span style="color:#800000;">'</span><span style="color:#800000;">pwdlastset</span><span style="color:#800000;">'</span><span style="color:#000000;"> </span><span style="color:#ff0000;">-le</span><span style="color:#000000;"> (</span><span style="color:#5f9ea0;font-weight:bold;">Get-Date</span><span style="color:#000000;">).AddMonths(</span><span style="color:#ff0000;">-</span><span style="color:#000000;">3</span><span style="color:#000000;">)
}</span></pre>
<p>That’s it!  A simple replacement of the filter condition and you’re off and running with a brand new node designed to meet your specific needs with <a title="PowerGUI" href="http://www.powergui.org" target="_blank">PowerGUI</a>, the <a title="Quest AD cmdlets" href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">Quest AD cmdlets</a> and the <a title="Active Directory PowerPack" href="http://www.powergui.org/entry.jspa?categoryID=46&amp;externalID=763" target="_blank">Active Directory PowerPack</a>!</p>
<p>In a future article I’ll show you just how simple it is for you to take a collection of extensions to PowerPacks that you have created like this and package them up in a PowerPack so that you can share them with other users in the Community as well!</p>
<p>Enjoy!</p>
<p>Kirk out.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:40829a14-fe8c-4b6b-8f3d-7284d2342eef" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/PowerShell">PowerShell</a>,<a rel="tag" href="http://technorati.com/tags/PoSh">PoSh</a>,<a rel="tag" href="http://technorati.com/tags/Poshoholic">Poshoholic</a>,<a rel="tag" href="http://technorati.com/tags/PowerGUI">PowerGUI</a>,<a rel="tag" href="http://technorati.com/tags/PowerPack">PowerPack</a>,<a rel="tag" href="http://technorati.com/tags/Active+Directory">Active Directory</a>,<a rel="tag" href="http://technorati.com/tags/Quest+AD+Cmdlets">Quest AD Cmdlets</a></div>
<p> </p>
<table border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="sbmText">Share this post:</td>
<td class="sbmDim"><a class="sbmDim" title="Post it to blinkbits!" href="http://www.blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;title=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.icio.us" href="http://del.icio.us/post?url=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;;title=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to del.iri.ous!" href="http://de.lirio.us/bookmarks/sbmtool?action=add&amp;address=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;title=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to digg" href="http://digg.com/submit?phase=2&amp;url=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;title=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to furl" href="http://www.furl.net/store?s=f&amp;to=0&amp;u=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;ti=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to reddit!" href="http://reddit.com/submit?url=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;title=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to spurl" href="http://www.spurl.net/spurl.php?v=3&amp;url=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;title=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to technorati!" href="http://technorati.com/faves/?add=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;title=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" border="0" alt="" /></a></td>
<td class="sbmDim"><a class="sbmDim" title="Post it to yahoo!" href="http://myweb.yahoo.com/myresults/bookmarklet?u=http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/&amp;t=Create custom nodes easily with the Active Directory PowerPack and PowerGUI" target="_blank"><img src="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" border="0" alt="" /></a></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirkmunro.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirkmunro.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kirkmunro.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kirkmunro.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kirkmunro.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kirkmunro.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kirkmunro.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kirkmunro.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kirkmunro.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kirkmunro.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kirkmunro.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kirkmunro.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kirkmunro.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kirkmunro.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=poshoholic.com&blog=1436967&post=208&subd=kirkmunro&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://poshoholic.com/2009/05/08/create-custom-nodes-easily-with-the-active-directory-powerpack-and-powergui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Poshoholic</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2009/05/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2009/05/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirkmunro.files.wordpress.com/2009/05/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/blinkbit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliciou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/deliriou4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/digg14.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/furl4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/reddit4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/spurl8.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/technora4.png" medium="image" />

		<media:content url="http://blogs.msdn.com/blogfiles/rahulso/WindowsLiveWriter/IconsfordifferentSocialBookmarkingSites_B387/yahoo9.png" medium="image" />
	</item>
	</channel>
</rss>