<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Flaphead on TechNet : Powershell</title><link>http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx</link><description>Tags: Powershell</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>get-exchangeserverplus.ps1 v1.3</title><link>http://blogs.technet.com/flaphead/archive/2007/11/12/get-exchangeserverplus-ps1-v1-3.aspx</link><pubDate>Mon, 12 Nov 2007 22:32:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2423115</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/2423115.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=2423115</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=2423115</wfw:comment><description>&lt;p&gt;So after the release of Rollup Update 5, wouldn't it be nice if you could run a simple PowerShell script to check all your exchange servers and see what Rollup they have applied&lt;/p&gt;  &lt;p&gt;Well now you can ;-) get-exchangeserverplus.ps1&lt;/p&gt;  &lt;p&gt;&lt;a title="http://blogs.flaphead.dns2go.com/archive/2007/10/31/get-exchangeserverplus-ps1-v1-3.aspx" href="http://blogs.flaphead.dns2go.com/archive/2007/10/31/get-exchangeserverplus-ps1-v1-3.aspx"&gt;http://blogs.flaphead.dns2go.com/archive/2007/10/31/get-exchangeserverplus-ps1-v1-3.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2423115" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/Exchange/default.aspx">Exchange</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>get-allqueues.ps1 v1.0</title><link>http://blogs.technet.com/flaphead/archive/2007/11/12/get-allqueues-ps1-v1-0.aspx</link><pubDate>Mon, 12 Nov 2007 22:31:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2423094</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/2423094.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=2423094</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=2423094</wfw:comment><description>&lt;p&gt;Can remember if I posted this or not, but I forgot who handy it is.&lt;/p&gt;  &lt;p&gt;basically if just runs get-queue, but for all you Exchange 2007 Hub Transport Servers &lt;/p&gt;  &lt;p&gt;Ah, but what is really cool is this .. You can do &amp;quot;stuff&amp;quot; with the output &lt;/p&gt;  &lt;p&gt;&lt;a title="http://blogs.flaphead.dns2go.com/archive/2007/11/09/get-allqueues-ps1-v1-0.aspx" href="http://blogs.flaphead.dns2go.com/archive/2007/11/09/get-allqueues-ps1-v1-0.aspx"&gt;http://blogs.flaphead.dns2go.com/archive/2007/11/09/get-allqueues-ps1-v1-0.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2423094" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/Exchange/default.aspx">Exchange</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Windows PowerShell TechNet Webcasts</title><link>http://blogs.technet.com/flaphead/archive/2006/10/23/windows-powershell-technet-webcasts.aspx</link><pubDate>Mon, 23 Oct 2006 18:37:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:476981</guid><dc:creator>flaphead</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/flaphead/comments/476981.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=476981</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=476981</wfw:comment><description>&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Looks like a weeks worth of Windows PowerShell Webcasts.&amp;nbsp; The times for the rest of the world are a bit pants - 1930 - 2100 UK time!&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;They are only level 200, but a good place to start&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;6 Nov 2006&lt;br&gt;TechNet Webcast: And Now for Something Completely Different: Introducing Windows PowerShell (Level 200)&lt;br&gt;&lt;/font&gt;&lt;a href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313495%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;&lt;font face="Tahoma" size="2"&gt;http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313495%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;font face="Tahoma" size="2"&gt;You have probably heard by now about this new technology from Microsoft, first code-named “Monad” and now officially named Windows PowerShell. What is this? Do I want to learn this? Do I have to learn this? Where do I get it? How does it work? Not to worry, the Scripting Guys are here to answer your questions. In this first of five Webcasts, the Scripting Guys introduce you to Windows PowerShell and give you an overview of how it works and what it is all about.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;7 Nov 2006&lt;br&gt;TechNet Webcast: One Cmdlet, Two Cmdlet, Three Cmdlet, Four: An Introduction to Windows PowerShell Commands (Level 200)&lt;br&gt;&lt;/font&gt;&lt;a href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313500%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;&lt;font face="Tahoma" size="2"&gt;http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313500%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;font face="Tahoma" size="2"&gt;Doeth the Eagle mount up at thy commaund and make her nest on high?" No, that is not a typo; apparently, that is how the word 'command' was spelled back in the 1600s. Boy, how things have changed: the word is now spelled 'cmdlet', or at least it is if you are a Windows PowerShell developer. In this webcast, the Scripting Guys explore these new beasts known as cmdlets, the heart and sound of the new Windows PowerShell command shell and scripting technology from Microsoft.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;8 Nov 2006&lt;br&gt;TechNet Webcast: Objects, Objects everywhere: Working With Objects in Windows PowerShell (Level 200)&lt;br&gt;&lt;/font&gt;&lt;a href="http://www.microsoft.com/events/eventdetails.aspx?cmtysvcsource=" mscommedia&amp;amp;Params='%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313503%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e""'&gt;&lt;font face="Tahoma" size="2"&gt;http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313503%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;font face="Tahoma" size="2"&gt;One of the most interesting new features introduced by Windows PowerShell is the ability to work with objects directly from the command line. Although you might be familiar with the concept of objects as a Windows Script Host (WSH) user, as a Windows PowerShell user, you need to live and breathe objects. In this webcast, the Scripting Guys explore all things related to objects in Windows PowerShell. During the presentation, the Scripting Guys help you instantiate a small Microsoft .NET object for you to call your own&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;9 Nov 2006&lt;br&gt;TechNet Webcast: New Kid on the Scriptblock: Writing Scripts with Windows PowerShell (Level 200)&lt;br&gt;&lt;/font&gt;&lt;a href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313975%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;&lt;font face="Tahoma" size="2"&gt;http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313975%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;font face="Tahoma" size="2"&gt;Yes, Windows PowerShell is a great tool for working at the command line; however, it also happens to be an equally good tool for writing scripts. On day four of our Windows PowerShell week of webcasts, the Scripting Guys introduce you to the fine art of writing scripts with Windows PowerShell.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;10 Nov 2006&lt;br&gt;TechNet Webcast: Amazing but True: Things You Never Dreamed You Could Do with Windows PowerShell (Level 200)&lt;br&gt;&lt;/font&gt;&lt;a href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313506%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;&lt;font face="Tahoma" size="2"&gt;http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313506%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;font face="Tahoma" size="2"&gt;In this fifth and final Windows PowerShell week webcast, witness definitive proof that the Loch Ness monster exists; meet a man who was abducted by aliens; and hear from a real, live ghost. But that is nothing! Just wait until the Scripting Guys show you some of the incredible things that you can do with Windows PowerShell. Do not miss it!&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=476981" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Getting Disk Usage Information</title><link>http://blogs.technet.com/flaphead/archive/2006/09/13/455849.aspx</link><pubDate>Wed, 13 Sep 2006 16:18:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455849</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/455849.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=455849</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=455849</wfw:comment><description>&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Nice bit of code and uses WMI!  &lt;hr&gt; Source: &lt;/font&gt;&lt;a href="http://jtruher.spaces.live.com/Blog/cns!7143DA6E51A2628D!138.entry"&gt;&lt;font face="Tahoma" size="2"&gt;http://jtruher.spaces.live.com/Blog/cns!7143DA6E51A2628D!138.entry&lt;/font&gt;&lt;/a&gt;  &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Some of you might know that I've spent a lot of time on UNIX systems.&amp;nbsp; One of the scripts that I used a bunch was /etc/dfspace.&amp;nbsp; If you don't know what dfspace is, it's a simple wrapper for df that provides disk usage info in a more human readable format than the output of df.&amp;nbsp; Since I really miss having that on Windows, I built it in powershell using the Get-WMIObject cmdlet.&amp;nbsp; Here's how it looks when you run it:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS&amp;gt; dfspace&lt;br&gt;&lt;/font&gt;&lt;font face="Courier New" size="2"&gt;name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size (MB) free (MB) percent&lt;br&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------- --------- -------&lt;br&gt;C:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 152,499.84 76,827.33&amp;nbsp;&amp;nbsp; 50.38&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=455849" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/All/default.aspx">All</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Powershell and the Registry</title><link>http://blogs.technet.com/flaphead/archive/2006/09/12/455558.aspx</link><pubDate>Tue, 12 Sep 2006 12:22:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455558</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/455558.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=455558</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=455558</wfw:comment><description>&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Originally Posted here: &lt;a href="http://blogs.flaphead.dns2go.com/archive/2006/09/08/3548.aspx"&gt;http://blogs.flaphead.dns2go.com/archive/2006/09/08/3548.aspx&lt;/a&gt;&lt;/font&gt;  &lt;p&gt;&lt;font face="Tahoma" size="2"&gt; &lt;hr&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/brettjo/archive/2006/08/25/451613.aspx"&gt;&lt;font face="Tahoma" size="2"&gt;Brett &lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" size="2"&gt;touched on this a while back, and I just wanted to pad things out a bit.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;So as brett mentioned, you can access the registry like a file system in powershell.&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;So start up powershell and type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS C:\&amp;gt; sl HKLM:&lt;br&gt;PS HKLM:\&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Now you can &lt;font face="Courier New"&gt;sl&lt;/font&gt;, &lt;font face="Courier New"&gt;cd&lt;/font&gt; and &lt;font face="Courier New"&gt;chdir&lt;/font&gt; are all an alias for &lt;font face="Courier New"&gt;Set-Location&lt;/font&gt;, so you can use either.&amp;nbsp; You can see the aliases for &lt;font face="Courier New"&gt;Set-Location&lt;/font&gt; by typing:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS HKLM:\&amp;gt; get-alias | where-object {$_.Definition -eq "Set-Location"}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;CommandType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Definition&lt;br&gt;-----------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------&lt;br&gt;Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-Location&lt;br&gt;Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-Location&lt;br&gt;Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chdir&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-Location&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Now you can type &lt;font face="Courier New"&gt;dir&lt;/font&gt; and navigate the registry like the file system using &lt;font face="Courier New"&gt;cd&lt;/font&gt; etc etc.&amp;nbsp; How cool is that.&amp;nbsp; You can also get it to “auto fillin” by using &lt;font face="Courier New"&gt;&amp;lt;TAB&amp;gt;&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;So that is okay, but what about the properties of keys?&amp;nbsp; Well get to the key you want and show it’s properties like this:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters&amp;gt; get-itemproperty .&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PSPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHIN E\SYSTEM\CurrentControlSet\Services\NetBT\Parameters&lt;br&gt;PSParentPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT&lt;br&gt;PSChildName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Parameters&lt;br&gt;PSDrive&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : HKLM&lt;br&gt;PSProvider&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry&lt;br&gt;NbProvider&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : _tcp&lt;br&gt;NameServerPort&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 137&lt;br&gt;CacheTimeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 600000&lt;br&gt;BcastNameQueryCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3&lt;br&gt;BcastQueryTimeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 750&lt;br&gt;NameSrvQueryCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3&lt;br&gt;NameSrvQueryTimeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1500&lt;br&gt;Size/Small/Medium/Large : 1&lt;br&gt;SessionKeepAlive&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3600000&lt;br&gt;TransportBindName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : \Device\&lt;br&gt;EnableLMHOSTS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;br&gt;DhcpNodeType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;If you want a specific property you can get it by typing:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS C:\&amp;gt; $(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters).DHCPNodeType&lt;br&gt;4&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;so this is cool too.&amp;nbsp; So now in a cmdlet I want to store a variable from a registry key entry.&amp;nbsp; How do I do that?&amp;nbsp; Well the same as above&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS C:\&amp;gt; $regkey = $(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters).DHCPNodeType&lt;br&gt;PS C:\&amp;gt; $regkey&lt;br&gt;4&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Okay, so what else.&amp;nbsp; You can do this:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters&amp;gt; dir -recurse&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;and it wil list all the folders and subfolder under the key.&amp;nbsp; What I have not been able to find yet is get an output similar to reg.exe /enum.&amp;nbsp; If anyone know hows to let me know &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Anyway so this is how you read from the registry, what about writing?.&amp;nbsp; So create a new key just do this:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS HKLM:\SYSTEM\CurrentControlSet\Services\NetBT&amp;gt; md test&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp; Hive: Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;SKC&amp;nbsp; VC Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Property&lt;br&gt;---&amp;nbsp; -- ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------&lt;br&gt;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0 test&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\test&amp;gt; New-ItemProperty . -name Fred -value "hello"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PSPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\test&lt;br&gt;PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT&lt;br&gt;PSChildName&amp;nbsp; : test&lt;br&gt;PSDrive&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : HKLM&lt;br&gt;PSProvider&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry&lt;br&gt;Fred&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : hello&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;and if I want to change the value for &lt;font face="Courier New"&gt;Fred&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\test&amp;gt; Set-ItemProperty . -name Fred -value "goodbye"&lt;br&gt;PS HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\test&amp;gt; Get-ItemProperty .&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PSPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\test&lt;br&gt;PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT&lt;br&gt;PSChildName&amp;nbsp; : test&lt;br&gt;PSDrive&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : HKLM&lt;br&gt;PSProvider&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry&lt;br&gt;Fred&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : goodbye&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;How cool is that.&amp;nbsp; Hope this helps more to come soon&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=455558" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/All/default.aspx">All</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Outputting Powershell Commands</title><link>http://blogs.technet.com/flaphead/archive/2006/09/12/455557.aspx</link><pubDate>Tue, 12 Sep 2006 12:19:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455557</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/455557.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=455557</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=455557</wfw:comment><description>&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Originally Posted here: &lt;a href="http://blogs.flaphead.dns2go.com/archive/2006/08/31/3538.aspx"&gt;http://blogs.flaphead.dns2go.com/archive/2006/08/31/3538.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt; &lt;hr&gt; &lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;My buddy Brett asked me about this a few weeks ago and I never managed to get to him .. sorry buddy! So I decided to come back to everyone.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;After playing with powershell a bit you get an idea of the power you have.&amp;nbsp; So something that really makes it rock is the ability to pipe the output from a command to another command.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;So I have a few to show you.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;OUT-HTML&lt;/strong&gt;&lt;br&gt;This will&amp;nbsp;Pipe&amp;nbsp;the output of command to a HTML table.&amp;nbsp; You can get the source from Viveks web site (&lt;/font&gt;&lt;/font&gt;&lt;a href="http://www.viveksharma.com/techlog/attache/out-html.web.txt"&gt;&lt;font face="Tahoma" size="2"&gt;http://www.viveksharma.com/techlog/attache/out-html.web.txt&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" size="2"&gt;)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Okay so:&lt;br&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;PS &amp;gt; dir *.ps1&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory: Microsoft.PowerShell.Core\FileSystem::C:\&lt;br&gt;&lt;br&gt;Mode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastWriteTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Length Name&lt;br&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------ ----&lt;br&gt;-a---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/08/2006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14:32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2037 format-hex.ps1&lt;br&gt;-a---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24/07/2006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22:16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1713 For_Loops.ps1&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Becomes (this is just a snip):&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS &amp;gt; dir *.ps1 | out-html&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS C:\_&amp;gt; dir *.ps1 | out-html&lt;br&gt;&amp;lt;style&amp;gt;&lt;br&gt;&amp;lt;!--&lt;br&gt;body { font: Helvetica }&lt;br&gt;table { font: 12pt Helvetica; border: 0px}&lt;br&gt;td { border: 1px solid lightgray; padding-left: 15px; padding-right: 15px }&lt;br&gt;p.header { font: 16pt Helvetica; color: DarkBlue }&lt;br&gt;p.normal { font: 14pt Helvetica; }&lt;br&gt;--&amp;gt;&lt;br&gt;&amp;lt;/style&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;lt;p class="header" align='center'&amp;gt;&amp;lt;strong&amp;gt;Output Generated by paulfl at: 31/08/2006 15:56:02 on machine paulfl-m400 &amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&amp;lt;p class='normal' align='center'&amp;gt;&amp;lt;strong&amp;gt;Command line:&amp;lt;/strong&amp;gt; dir *.ps1 | out-html&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&lt;br&gt;&amp;lt;table border="1" cellpadding="0" cellspacing="0" align="center"&amp;gt;&lt;br&gt;&amp;lt;tr&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align="center" style="background-color: darkblue"&amp;gt;&amp;lt;p class="table" style="color: white"&amp;gt;&amp;lt;b&amp;gt;PSChildName&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align="center" style="background-color: darkblue"&amp;gt;&amp;lt;p class="table" style="color: white"&amp;gt;&amp;lt;b&amp;gt;PSDrive&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align="center" style="background-color: darkblue"&amp;gt;&amp;lt;p class="table" style="color: white"&amp;gt;&amp;lt;b&amp;gt;PSIsContainer&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align="center" style="background-color: darkblue"&amp;gt;&amp;lt;p class="table" style="color: white"&amp;gt;&amp;lt;b&amp;gt;PSParentPath&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align="center" style="background-color: darkblue"&amp;gt;&amp;lt;p class="table" style="color: white"&amp;gt;&amp;lt;b&amp;gt;PSPath&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;OUT-IE&lt;/strong&gt;&lt;br&gt;This is cool, as it lets you output the command to an IE window.&amp;nbsp; You can see where I am coming from, can’t you.&amp;nbsp; Combine out-html and out-ie and you get a nice table in a new IE window.&amp;nbsp; out-ie is quite a simple bit of code, and vivek details it here: &lt;/font&gt;&lt;a href="http://www.viveksharma.com/techlog/2006/05/09/technet-webcast-follow-up-out-html-out-ie/"&gt;&lt;font face="Tahoma" size="2"&gt;http://www.viveksharma.com/techlog/2006/05/09/technet-webcast-follow-up-out-html-out-ie/&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;so when I do the following, it list out a dir *.ps1 into a new IE window in a formatted table.&amp;nbsp; How cool is that!&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS &amp;gt; dir *.ps1 | out-html | out-ie&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;OUT-GRID&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;This is quite cool.&amp;nbsp; I found the source here: &lt;/font&gt;&lt;a href="http://abhishek225.spaces.live.com/PersonalSpace.aspx?_c11_blogpart_blogpart=blogview&amp;amp;_c=blogpart&amp;amp;partqs=amonth%3D5%26ayear%3D2006"&gt;&lt;font face="Tahoma" size="2"&gt;http://abhishek225.spaces.live.com/PersonalSpace.aspx?_c11_blogpart_blogpart=blogview&amp;amp;_c=blogpart&amp;amp;partqs=amonth%3D5%26ayear%3D2006&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" size="2"&gt;, right down the bottom of the page.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;So the following command will open up a data grid application and display the results!&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;PS &amp;gt; dir *.ps1 | out-grid&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;strong&gt;AND FINALLY&lt;/strong&gt;&lt;br&gt;Once you have collated all the out– you want, you should copy them in to &lt;font face="Courier New"&gt;C:\Program Files\Windows PowerShell\v1.0&lt;/font&gt;&amp;nbsp; That way you can use them at any PS&amp;gt; prompt!&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;I have seen a few more too, but I can’t find them on the web, so if anyone can find: &lt;font face="Courier New"&gt;out-chart&lt;/font&gt; and &lt;font face="Courier New"&gt;out-email&lt;/font&gt; let me know and I will post them up&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=455557" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/All/default.aspx">All</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Exchange 2007 Powershell: Get-Tip</title><link>http://blogs.technet.com/flaphead/archive/2006/09/12/455556.aspx</link><pubDate>Tue, 12 Sep 2006 12:18:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455556</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/455556.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=455556</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=455556</wfw:comment><description>&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Originally Posted here: &lt;a href="http://blogs.flaphead.dns2go.com/archive/2006/08/17/3514.aspx"&gt;http://blogs.flaphead.dns2go.com/archive/2006/08/17/3514.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt; &lt;hr&gt; &lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You know if you start the Exchange Management Shell, it gives you a “tip”.&amp;nbsp; Well it would seem that it has 80 of them!&amp;nbsp; So I thought it would be good to list them all out &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;You can just type &lt;font face="Courier New"&gt;get-tip&lt;/font&gt; in the Exchange Management Shell, but if you want a specific one type &lt;font face="Courier New"&gt;get-tip 8&lt;/font&gt; and you wil get #8.&amp;nbsp; Anyway&amp;nbsp;here&lt;/font&gt;&lt;font face="Tahoma"&gt; is the current list and the commands so you can list it yourself! ;-)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;[PS] C:\&amp;gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Courier New"&gt;for ($i=1; $i -lt 81; $i++) {get-tip $i}&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;font face="Courier New"&gt;– OR -&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;font face="Courier New"&gt;&lt;font face="Tahoma"&gt;[PS] C:\&amp;gt;1..80 | foreach { get-tip $_ }&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&lt;/font&gt;&lt;strong&gt;Tip of the day #1:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;To return all scripts that are found in your path, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Command -Type ExternalScript&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;And for a useful shortcut, assign it in your profile as:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Function Get-Scripts { -Command -Type ExternalScript }&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #2:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Are you tired of typing a long command every time that you want to do something?&lt;br&gt;Alias it! Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Set-Alias GetSg Get-StorageGroup&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;For all the current aliases, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Alias&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #3:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;The Exchange Management Shell is a calculator too! Try it directly in the command line:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;1.2343+3123 or (23/435)*2&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #4:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Command line 911! Do you need help? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&amp;nbsp;&lt;font face="Courier New"&gt;Help &amp;lt;cmdlet-name&amp;gt;&lt;/font&gt;&amp;nbsp; or&amp;nbsp; &lt;font face="Courier New"&gt;&amp;lt;cmdlet-name&amp;gt; -?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can also perform wildcard character searches and partial name matches:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&amp;nbsp;&lt;font face="Courier New"&gt;Help *UM*&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;And you can get more details about a cmdlet by using:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&amp;nbsp;&lt;font face="Courier New"&gt;Get-Command &amp;lt;cmdlet-name&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #5:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;A quick shortcut to get all the parameters for a cmdlet is:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Command &amp;lt;cmdlet-name&amp;gt; | format-list Definition&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;or abbreviated:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Gcm &amp;lt;cmdlet-name&amp;gt; | fl Def*&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #6:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;The tilde character (~) should be familiar to Unix users. It represents the shortcut to your root directory. To see what it's evaluated to by default, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Dir ~&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can use it as a useful shortcut:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Cp SomeFile "~\My Documents"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #7:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to move mailboxes? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Move-Mailbox&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can move all users from server SRV1 to server SRV2 as follows:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Mailbox -Server SRV1 | Move-Mailbox -Target SRV2&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #8:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;CTRL+C is the equivalent of the hard-break command in the Exchange Management Shell. If a command is taking too long to run or you want to cancel an operation quickly, press CTRL+C to stop execution.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #9:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Pushd and Popd work the same way in the Exchange Management Shell as they do in cmd.exe. Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Pushd &amp;lt;location&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #10:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;XML over everything! The Exchange Management Shell treats XML as a native type, so that you can do interesting things like:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;$Sample = [XML](Get-Content SomeXMLFile.xml)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This command assigns $Sample to the actual XML object. To see it, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;$Sample&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;To navigate it, type:&lt;br&gt;&lt;font face="Courier New"&gt;$Sample.Prop1.Prop2&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;No need for text parsing when you want to load XML data!&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #11:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Identity is your friend. Identity is a powerful construct that lets you view, modify, or remove a particular Exchange object or configuration set by referring to it by a friendly name. Additionally, you can even specify server name as part of the identity. For example: the following command will try to find "First Storage Group" on the localhost because no server was specified:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-StorageGroup "First Storage Group"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;If you know exactly where "First Storage Group" is, you can use:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-StorageGroup "Server1\First Storage Group"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This same pattern can be applied to all Active Directory-based configurations.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #12:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Cmdlets that end in "Config" manage singleton configuration, either one per server or organization. For these tasks, you don't have to specify an identity because there is only one instance of the configuration. You may have to specify the Server parameter if the configuration is per server.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #13:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;To get a list of all users on an Exchange 2007 server who are not Unified Messaging-enabled type, use:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-UmMailbox | ForEach { If($_.UmEnabled -Eq $False){$_.Name}}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #14:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;To get a list of all users on an Exchange 2007 server who are Unified Messaging-&lt;br&gt;enabled type, use:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-UmMailbox | ForEach { If($_.UmEnabled -Eq $True){$_.Name}}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #15:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;To display the user's alias formatted in a table together with the user's Exchange 2007 server name and telephone extension, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-UmMailbox | Format-Table ServerName,@{e={$_.SamAccountName};Label="User Alias"},@{Expression="Extensions";Label="Telephone numbers"}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #16:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;To display the list of UM IP gateway server names that are disabled for outbound&amp;nbsp;calling and hunt groups that are associated with a UM IP gateway server, use:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-UmIpGateway | ForEach {If($_.OutCallsAllowed -Eq $False){ "Gateway Name = "&amp;nbsp;+$_.Name;ForEach ($HuntGroup In $_.Huntgroups){"Huntgroups " + $Huntgroup&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #17:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;If you want to test all IP Block List providers, you just have to pipe the Get-IpBlockListProvider cmdlet to the Test-IpBlockListProvider cmdlet:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-IpBlockListProvider | Test-IpBlockListProvider -IpAddress 192.168.0.1&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;Tip of the day #18:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma"&gt;Before you remove an object by using the Remove verb, use the &lt;font face="Courier New"&gt;WhatIf&lt;/font&gt; parameter to verify the results are what you expect.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #19:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Sometimes it's useful to convert a cmdlet's output to a string to interoperate with native cmdlets. For example, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Command | Out-String | Findstr "command"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #20:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to find a specific string in the output of a cmdlet? Match-String is&amp;nbsp;a grep clone that is useful for matching output with strings. Try it out:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Dir | Match-String "somename"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #21:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Get all Win32 WMI information, such as perfmon counters and local computer configurations. For example, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-WMIObject Win32_PerfRawData_PerfOS_Memory&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #22:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Tired of spam? Who isn't? You can configure real-time block list (RBL) providers&amp;nbsp;with the Exchange Management Shell by running the following two commands:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Set-IPBlockListProvidersConfig -Enabled $True -InternetEnabled $True&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;and then&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Add-IPBlockListProvider -Name &amp;lt;Name of RBL Provider&amp;gt; -LookupDomain &amp;lt;FQDN of RBL&amp;nbsp;Provider&amp;gt; -ResultType Any&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #23:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Access the event log from the Exchange Management Shell. To retrieve the whole event log, run:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-EventLog | Format-List&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;To retrieve all Exchange-related events, run:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-EventLog Application | Where ($_.Source -Ilike "*Exchange*")&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #24:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;You can arrange the output of most cmdlets in a more readable manner by piping the output of the cmdlet to Format-List or Format-Table. For example, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-EventLog Application | Format-List&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #25:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;One benefit of the Exchange Management Shell is that cmdlets can emit objects to&amp;nbsp;the console. You can then manipulate this output and organize it in interesting&amp;nbsp;ways. For example, to get a quick view in tabular format, use Format-Table:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Mailbox | Format-Table FirstName,LastName,ServerName&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #26:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Did you forget a property name? Not a problem because you can use wildcard characters to retrieve all properties that match the part of the name that you specify:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Mailbox | Format-Table First*,SMTP*&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #27:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to work with data that is contained in a CSV file? Use Import-CSV to&amp;nbsp;assign the data to an object. For example, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;$MyCSV = Import-CSV TestFile.CSV&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can then manipulate the data easily in the Exchange Management Shell. For example, if there is a column called Mailboxes in the CSV data, you can use the following commands to sort or group the data by the Mailboxes column:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;To sort: &lt;font face="Courier New"&gt;$MyCSV | Sort Mailboxes&lt;/font&gt;&lt;br&gt;To group: &lt;font face="Courier New"&gt;$MyCSV | Group Mailboxes&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #28:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;This command spins through all your mailbox servers and reconnects all the uniquely identified but disconnected mailboxes in any one of the mailbox stores:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-ExchangeServer | `&lt;br&gt;&amp;nbsp; Where { $_.IsMailboxServer -Eq '$True' } `&lt;br&gt;&amp;nbsp; | ForEach { Get-MailboxStatistics -Server $_.Name `&lt;br&gt;&amp;nbsp; | Where { $_.DisconnectedDate -NotLike '' } `&lt;br&gt;&amp;nbsp; | ForEach { $Var | Connect-Mailbox -Identity `&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $_.MailboxDisplayName } }&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #29:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Tab completion reduces the number of keystrokes that are required to complete a cmdlet. Just press the TAB key to complete the cmdlet you are typing. Tab completion kicks in whenever there is hyphen (-) in the input. For example:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Send&amp;lt;tab&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;should complete to Get-SendConnector. You can even use regular expressions, such&amp;nbsp;as:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-U*P*&amp;lt;tab&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Pressing the TAB key when you enter this command cycles through all cmdlets that&amp;nbsp;&amp;nbsp;match the expression, such as the Unified Messaging Mailbox policy cmdlets.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #30:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to create a group of test users in your lab? Use this command:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;1..100 | ForEach { Net User "User$_" MyPassword=01 /ADD /Domain; Enable-Mailbox&amp;nbsp;"User$_" -Database "&amp;lt;Mailbox Database&amp;gt;" }&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #31:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you love the Exchange Management Shell's Tip of the Day? Try this out:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Tip&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #32:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to change the authentication settings on an Outlook Web Access virtual directory? Try the following command as an example. It changes authentication&amp;nbsp;from forms-based authentication to Windows authentication:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Set-OwaVirtualDirectory -Identity "OWA (Default Web Site)" -FormsAuthentication&amp;nbsp;0 -WindowsAuthentication 1&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #33:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to set the properties on all or some Outlook Web Access virtual directories? Pipe the output of Get-OwaVirtualDirectory to the Set-OwaVirtualDirectory cmdlet. For example, the following command sets the Gzip level for all Outlook Web Access virtual directories:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -GzipLevel High&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #34:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to remove an ActiveSync device from a user's device list? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Remove-MobileDevice&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This cmdlet can be helpful for troubleshooting devices that do not synchronize successfully with the server.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #35:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to clear all data from a mobile device? Use:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Clear-MobileDevice&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Specify a time of day to clear the device, or let the task complete the next time that the device connects to the server.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #36:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to see a list of all devices that synchronize with a user's mailbox?&amp;nbsp;Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-MobileDeviceStatistics&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;A variety of information is returned including device name, operating system, and last sync time.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #37:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Has one of your users asked you to recover their mobile device synchronization password? To return the user's password, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-MobileDeviceStatistics -ShowRecoveryPassword&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #38:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to move the storage group path to another location? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Move-StorageGroupPath -EdbFilePath DestFileName&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;To change only the path setting without moving data, use this command together with the ConfigurationOnly parameter. This command is especially useful for disaster recovery. Caution: Misuse of this cmdlet will cause data loss.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #39:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to move your database path to another location? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Move-DatabasePath -LogFolderPath DestFolderName&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;To change the file path setting without moving data, use this command together with the ConfigurationOnly parameter. This command is especially useful for disaster recovery. Caution: Misuse of this cmdlet will cause data loss.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #40:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Not all parameters of a task are viewable through Get-Command. To get a dynamicparameter, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-DynamicParameters &amp;lt;Cmdlet&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #41:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;To set the dial restrictions on a specific Unified Messaging dial plan, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;$Dp = Get-UmDialPlan -Identity &amp;lt;Your_DialPlan_Identity&amp;gt;&lt;br&gt;&amp;nbsp;$Dp.ConfiguredInCountryGroups.Add("Group1,91xxxxxxxxxx,91xxxxxxxxxx")&lt;br&gt;&amp;nbsp;$Dp.ConfiguredInCountryGroups.Add("Group1,9xxxxxxxxxx,91xxxxxxxxxx")&lt;br&gt;&amp;nbsp;$Dp.ConfiguredInCountryGroups.Add("Group1,9xxxxxxx,9xxxxxxx")&lt;br&gt;&amp;nbsp;$Dp.AllowedInCountryGroups.Add("Group1")&lt;br&gt;&amp;nbsp;$Dp.OutsideLineAccessCode = 9&lt;br&gt;&amp;nbsp;$Dp | Set-UmDialPlan&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #42:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to reconnect a large number of disconnected mailboxes? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-MailboxStatistics | Where {$_.DisconnectDate -ne $Null} | Connect-Mailbox -Database &amp;lt;MailboxDatabase&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #43:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you need an easy way to add a new primary SMTP address to a group of mailboxes? The following command creates a new e-mail address policy that assigns the @contoso.com domain to the primary SMTP address of all mailboxes with Contoso in the company field:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;New-EmailAddressPolicy -Name Contoso -RecipientFilter {Company -Eq "Contoso"} -EnabledPrimarySMTPAddressTemplate "@contoso.com"&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #44:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to retrieve a group of objects that have similar identities? You can&amp;nbsp;use wildcard characters with the Identity parameter to match multiple objects. Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Mailbox *John*&lt;br&gt;&amp;nbsp;Get-ReceiveConnector *toso.com&lt;br&gt;&amp;nbsp;Get-JournalRule *discovery*&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #45:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to configure a group of objects that have similar identities? You can use a wildcard characters with the Identity parameter when you use a Get cmdlet and pipe the output to a Set cmdlet. Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-Mailbox *John* | Set-Mailbox -ProhibitSendQuota 100MB&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This command matches all mailboxes with the name "John" in the mailbox's identity and set the ProhibitSendQuota parameter to 100MB.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #46:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Most cmdlets let you pass the output of one noun to another noun in order to view or modify related objects. For example, you might want to set the mailbox limit on all mailboxes that reside in a specific mailbox database on a server. You can do this by using this command:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-MailboxDatabase "Executives" | Get-Mailbox | Set-Mailbox -ProhibitSendQuota&amp;nbsp;300MB&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This command retrieves all the mailboxes that reside in the "Executives" mailbox&amp;nbsp;&amp;nbsp;database and sends their ProhibitSendQuota value to 300MB.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #47:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Forgot what the available parameters are on a cmdlet? Just use tab completion! Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Set-Mailbox -&amp;lt;tab&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;When you type a hyphen (-) and then press the Tab key, you will cycle through all the available parameters on the cmdlet. Want to narrow your search? Use wildcard characters with a part of the parameter's name. Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Set-Mailbox -Prohibit*&amp;lt;tab&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #48:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Say goodbye to ping. Say hello to Test-MapiConnectivity! Use Test-MapiConnectivity to troubleshoot connectivity problems between your users and your servers. Combine Test-MapiConnectivity with a variety of cmdlets to target your specific issue without having to manually dig for the information:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Mailboxes: Get-Mailbox &amp;lt;Mailbox Name&amp;gt; | Test-MapiConnectivity&lt;br&gt;Mailbox databases: Get-MailboxDatabase &amp;lt;Database Name&amp;gt; | Test-MapiConnectivity&lt;br&gt;Servers: Get-MailboxServer &amp;lt;Server Name&amp;gt; | Test-MapiConnectivity&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #49:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to add an alias to multiple distribution groups that have a similarname? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-DistributionGroup *Exchange* | Add-DistributionGroupMember -Member kim&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This command adds the alias "kim" to all distribution groups that contain the word "Exchange".&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #50:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to record exactly what happens when you're using the Exchange Management Shell? Use the Start-Transcript cmdlet. Anything that you do after you run this cmdlet will be recorded to a text file that you specify. To stop recording your session, use the Stop-Transcript cmdlet. &lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Notice that the Start-Transcript cmdlet overwrites the destination text file by default. If you want to append your session to an existing file, use the Append parameter:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Start-Transcript c:\MySession.txt -Append&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #51:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Here's a handy tip for repeating a command a given number of times. Instead of writing a For loop, use the following syntax:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;1..10 | ForEach { "do something here" }&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;For example, the following command creates 10 new storage groups that have the names sg1 through sg10 on the server TestServer:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;1..10 | ForEach { New-StorageGroup -Name "sg$_" -server TestServer }&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #52:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to know when your mailbox databases were backed up last? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-ExchangeServer | Get-MailboxDatabase -Status | Format-Table Name, *Back*&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #53:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to move all the mailboxes from one mailbox database to another? You can do this easily by using the following command:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-MailboxDatabase &amp;lt;Source Mailbox Database&amp;gt; | Get-Mailbox | Move-Mailbox -TargetDatabase &amp;lt;Destination Mailbox Database&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can even use wildcard characters with the Get-MailboxDatabase cmdlet to consolidate mailboxes from multiple source mailbox databases into a single destination mailbox database.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #54:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you have a user who has network access but maintains an external mail account&amp;nbsp;outside your Exchange organization? With Exchange Server 2007, you can now create mail-enabled users that are regular Active Directory accounts, but also behave like mail-enabled contacts. By using the Enable-MailUser cmdlet, you can add e-mail contact attributes to any existing Active Directory user who does not already have a mailbox on an Exchange server. Users in your Exchange organization will then be able to send e-mail messages to that user's external mail account. Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Enable-MailUser -Identity &amp;lt;Active Directory Alias&amp;gt; -ExternalEmailAddress &amp;lt;Destination SMTP Address&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #55:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to change the default prohibit send quota for a mailbox database? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Set-MailboxDatabase &amp;lt;Mailbox Database Name&amp;gt; -ProhibitSendQuota &amp;lt;New Quota Size&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can specify a bytes qualifier when you use the ProhibitSendQuota parameter.&lt;br&gt;For example, if you want to set the prohibit send quota to 200 megabytes, type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;ProhibitSendQuota 200MB&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can also configure the IssueWarningQuota parameter and the ProhibitSendReceiveQuota parameter in the same way.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #56:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to know what version of Exchange Server each of your servers is running? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-ExchangeServer | Format-Table Name, Version&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #57:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to know which Exchange 2007 servers have not yet been configured with a valid product key and whether their trial period has expired? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-ExchangeServer | Where { $_.IsExchange12TrialEdition -Eq $true } | Format-Table Name, *Trial*&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #58:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to determine whether a server is running Exchange Server 2007 Standard or Exchange Server 2007 Enterprise? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Get-ExchangeServer &amp;lt;Server Name&amp;gt; | Format-Table Name, Edition&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;If you want to view which edition all your Exchange servers are running, omit the &lt;font face="Courier New"&gt;&amp;lt;Server Name&amp;gt;&lt;/font&gt; parameter.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #59:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to create a new resource mailbox that can be used to book a meetingroom? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;New-Mailbox -Name &amp;lt;Conference Room Name&amp;gt; -UserPrincipalName &amp;lt;Alias or SMTP Address&amp;gt; -Database &amp;lt;Mailbox Database&amp;gt; -OrganizationalUnit &amp;lt;Organizational Unit&amp;gt; -ResourceType Room&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;This command creates a disabled Active Directory user with a mailbox that accepts meeting requests from users.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Tip of the day #60:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;Do you want to add a disclaimer to all outbound e-mail messages? Type:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;$Condition = Get-TransportRulePredicate FromScope&lt;br&gt;&amp;nbsp;$Condition.Scope = "Internal"&lt;br&gt;&amp;nbsp;$Condition2 = Get-TransportRulePredicate SentToScope&lt;br&gt;&amp;nbsp;$Condition2.Scope = "External"&lt;br&gt;&amp;nbsp;$Action = Get-TransportRuleAction ApplyDisclaimer&lt;br&gt;&amp;nbsp;$Action.Text = "Sample disclaimer text"&lt;br&gt;&amp;nbsp;New-TransportRule -Name "Sample disclaimer" -Condition @($Condition, $Condition2) -Action @($Action)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;Tip of the day #61:&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font face="Tahoma"&gt;Do you want to control the properties of e-mail messages sent to a specific domain? Use the RemoteDomain cmdlets. Create a new remote domain by using the &lt;font face="Courier New"&gt;New-RemoteDomain&lt;/font&gt; cmdlet. Type:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;New-RemoteDomain -Name "Contoso.com Configuration" -DomainName contoso.com&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Then modify the properties that you want for this remote domain by using the &lt;font face="Courier New"&gt;Set-RemoteDomain&lt;/font&gt; cmdlet:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;Set-RemoteDomain "Contoso.com Configuration" -AutoReplyEnabled $True -AutoForwardEnabled $True&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;Tip of the day #62:&lt;/strong&gt;&lt;br&gt;&lt;/font&gt;&lt;font div f&gt;&lt;&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=455556" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/All/default.aspx">All</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Powershell 101: IF .. Else</title><link>http://blogs.technet.com/flaphead/archive/2006/09/12/455555.aspx</link><pubDate>Tue, 12 Sep 2006 12:16:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455555</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/455555.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=455555</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=455555</wfw:comment><description>&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Originally Posted here: &lt;a href="http://blogs.flaphead.dns2go.com/archive/2006/08/14/3509.aspx"&gt;http://blogs.flaphead.dns2go.com/archive/2006/08/14/3509.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;hr&gt;  &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Okay as a beginner this took a bit of time to perfect so here goes. For some of you hardened programmers this might be a bit basic, but I had to start somewhere.&amp;nbsp; My background is cmd and vbs files with some html chucked in, so this syntax is new to me&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Simple IF, Else&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Courier New" size="2"&gt;$a = "Powershell"&lt;br&gt;IF ($a -eq "PowerShell")&lt;br&gt;{&lt;br&gt;&amp;nbsp;"Statement is True"&lt;br&gt;}&lt;br&gt;ELSE&lt;br&gt;{&lt;br&gt;&amp;nbsp;"Statement is False"&lt;br&gt;}&lt;br&gt;&lt;/font&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;You can condence this to:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="2"&gt;$a = "Powershell"&lt;br&gt;IF ($a -eq "PowerShell"){&amp;nbsp;"Statement is True"} ELSE {&amp;nbsp;"Statement is False"}&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Now if you want to check for a NULL then it gets fun&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;$&lt;font face="Courier New"&gt;b = “Hello”&lt;br&gt;IF ($b -eq $NULL)&lt;br&gt;{&amp;nbsp;&amp;nbsp;&lt;br&gt;"B is NULL"&lt;br&gt;}&lt;br&gt;ELSE&lt;br&gt;{&lt;br&gt;&amp;nbsp;"B is NOT NULL"&lt;br&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;hr&gt; &lt;font face="Tahoma" size="2"&gt;So you have whole load of conditional statement like these:&lt;/font&gt;  &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;table border="1"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;Operator&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;Definition&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-lt&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Less than&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-le&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Less than or equal to&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-gt&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Greater than&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-ge&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Greater than or equal to&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-eq&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Equal to.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;If the left hand side of the operator is an array and the right hand side is a scalar, the equivalent values of the left hand side will be returned&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-ne&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Not Equal to. If the left hand side of the operator is an array and the right hand side is a scalar, the not equivalent values of the left hand side will be returned&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-contains&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Determine elements in a group, this always returns Boolean $True or $False.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-notcontains&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Determine excluded elements in a group, this always returns Boolean $True or $False.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-like&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Like - uses wildcards for pattern matching&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-notlike&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Not Like - uses wildcards for pattern matching&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-match&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Match - uses regular expressions for pattern matching&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-notmatch&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Not Match - uses regular expressions for pattern matching&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-band &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Bitwise AND&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-bor &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Bitwise OR&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-is&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Is of Type&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-isnot&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Is not of Type&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/font&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;These operators are the case-sensitive counterparts:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt; &lt;table border="1"&gt; &lt;tbody&gt; &lt;tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;Operator&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;b&gt;&lt;font face="Tahoma" size="2"&gt;Definition&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-clt&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Less than (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cle&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Less than or equal to (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cgt&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Greater than (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cge&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Greater than or equal to (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-ceq&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Equal to&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;(case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cne&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Not Equal to (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-clike&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Like (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cnotlike&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Not Like (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-ccontains&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td colspan="2"&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;left hand side contains right hand side in a case sensitive manner&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cnotcontains&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td colspan="2"&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;determine excluded elements in a group in a case sensitive manner&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cmatch&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Match (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-cnotmatch&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Not Match (case sensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;font face="Tahoma" size="2"&gt;Other operators: &lt;/font&gt; &lt;table border="1"&gt; &lt;tbody&gt; &lt;tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes"&gt; &lt;td&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;&lt;strong&gt;Operator&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;b&gt;&lt;font face="Tahoma" size="2"&gt;Definition&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;+&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Add&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Subtract&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;*&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Multiply &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;/&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Divide&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;%&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font face="Tahoma" size="2"&gt;Modulo&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-not&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;logical not&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;!&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;logical not&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-band&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;binary and&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-bor&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;binary or &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-bnot&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;binary not&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-replace&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Replace (e.g.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;"abcde" –replace "b","B") (case insensitive)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-ireplace&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Case-insensitive replace (e.g.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;"abcde" –ireplace "B","3")&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-creplace&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Case-sensitive replace (e.g.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;"abcde" –creplace "B","3")&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-and&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;AND (e.g. ($a -ge 5 -AND $a -le 15) )&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr style="mso-yfti-irow: 15"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-or&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;OR&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;(e.g. ($a –eq "A" –OR $a –eq "B") )&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr style="mso-yfti-irow: 16"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-is&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;IS type (e.g. $a -is [int] )&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr style="mso-yfti-irow: 17"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-isnot&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;IS not type (e.g. $a -isnot [int] )&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr style="mso-yfti-irow: 18"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-as&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;convert to type (e.g. 1 -as [string] treats 1 as a string )&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr style="mso-yfti-irow: 19"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;..&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Range operator (e.g.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;foreach ($i in 1..10) {$i }&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr style="mso-yfti-irow: 20"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&amp;amp;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;call operator (e.g. $a = "Get-ChildItem" &lt;b&gt;&amp;amp;&lt;/b&gt;$a executes Get-ChildItem)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr style="mso-yfti-irow: 21"&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;. (dot followed by a space)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;call operator (e.g. $a = "Get-ChildItem" . $a executes Get-ChildItem in the current scope)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;-F&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt; &lt;td&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;Format operator (e.g. foreach ($p in Get-Process) { "{0,-15} has {1,6} handles" –F&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;$p.processname,$p.Handlecount } )&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/font&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=455555" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/All/default.aspx">All</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item><item><title>Windows PowerShell .. Updated 8 Aug 2006</title><link>http://blogs.technet.com/flaphead/archive/2006/09/12/455553.aspx</link><pubDate>Tue, 12 Sep 2006 12:12:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455553</guid><dc:creator>flaphead</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/flaphead/comments/455553.aspx</comments><wfw:commentRss>http://blogs.technet.com/flaphead/commentrss.aspx?PostID=455553</wfw:commentRss><wfw:comment>http://blogs.technet.com/flaphead/rsscomments.aspx?PostID=455553</wfw:comment><description>&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Originally Posted here: &lt;A href="http://blogs.flaphead.dns2go.com/archive/2006/08/02/3492.aspx"&gt;http://blogs.flaphead.dns2go.com/archive/2006/08/02/3492.aspx&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR&gt;
&lt;FONT face=Tahoma size=2&gt;Okay so I am joining the craze and I wanted to start with a list of resources I have discovered so far: &lt;/FONT&gt;
&lt;P&gt;&lt;/P&gt;&lt;FONT face=Tahoma size=2&gt;
&lt;HR&gt;
&lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Blog of Windows PowerShell team: &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/powershell/"&gt;&lt;FONT face=Tahoma size=2&gt;http://blogs.msdn.com/powershell/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Windows PowerShell ScriptCenter:&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Vivek Sharma: &lt;/FONT&gt;&lt;A href="http://www.viveksharma.com/techlog"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.viveksharma.com/techlog&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Glen's Exchange Dev Blog: &lt;/FONT&gt;&lt;A href="http://gsexdev.blogspot.com/"&gt;&lt;FONT face=Tahoma size=2&gt;http://gsexdev.blogspot.com/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Tahoma size=2&gt; &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Andrew Watt: &lt;/FONT&gt;&lt;A href="http://www.mmmug.co.uk/cs/blogs/andrew_watt_mvp/default.aspx"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.mmmug.co.uk/cs/blogs/andrew_watt_mvp/default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;PowerShell For Fun: &lt;/FONT&gt;&lt;A href="http://mshforfun.blogspot.com/"&gt;&lt;FONT face=Tahoma size=2&gt;http://mshforfun.blogspot.com/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Scott Hanselman: &lt;/FONT&gt;&lt;A href="http://www.hanselman.com/blog/CategoryView.aspx?category=PowerShell"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.hanselman.com/blog/CategoryView.aspx?category=PowerShell&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Lee Holmes (Precision Computing): &lt;/FONT&gt;&lt;A href="http://leeholmes.com/blog/"&gt;&lt;FONT face=Tahoma size=2&gt;http://leeholmes.com/blog/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Windows Powershell SDK: &lt;/FONT&gt;&lt;A href="http://windowssdk.msdn.microsoft.com/en-us/library/ms714469.aspx"&gt;&lt;FONT face=Tahoma size=2&gt;http://windowssdk.msdn.microsoft.com/en-us/library/ms714469.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;I have some code snippets to come soon too.&amp;nbsp; If I have missed any links of please let me know and I can add them&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;&lt;STRONG&gt;&lt;U&gt;Updated 3rd Aug 2006&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;/\/\o\/\/ PowerShelled: &lt;/FONT&gt;&lt;A href="http://mow001.blogspot.com/"&gt;&lt;FONT face=Tahoma size=2&gt;http://mow001.blogspot.com/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Windows Power Shell Wiki: &lt;/FONT&gt;&lt;A href="http://channel9.msdn.com/wiki/default.aspx/Channel9.WindowsPowerShellWiki"&gt;&lt;FONT face=Tahoma size=2&gt;http://channel9.msdn.com/wiki/default.aspx/Channel9.WindowsPowerShellWiki&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;The PowerShell Script Centre: &lt;/FONT&gt;&lt;A href="http://www.reskit.net/monad/samplescripts.htm"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.reskit.net/monad/samplescripts.htm&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Computer Performance: &lt;/FONT&gt;&lt;A href="http://computerperformance.co.uk/powershell/index.htm"&gt;&lt;FONT face=Tahoma size=2&gt;http://computerperformance.co.uk/powershell/index.htm&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Keith Hill's Blog: &lt;/FONT&gt;&lt;A href="http://keithhill.spaces.live.com/blog/"&gt;&lt;FONT face=Tahoma size=2&gt;http://keithhill.spaces.live.com/blog/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN id=_ctl12_pageTitleLabel&gt;&lt;FONT face=Tahoma size=2&gt;Windows PowerShell Community Extensions: &lt;/FONT&gt;&lt;A href="http://www.gotdotnet.com/workspaces/workspace.aspx?id=bd8982c2-9e47-4793-b7c8-35a4c9105330"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.gotdotnet.com/workspaces/workspace.aspx?id=bd8982c2-9e47-4793-b7c8-35a4c9105330&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT face=Tahoma size=2&gt;Updated 8th Aug 2006&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT face=Tahoma size=2&gt;Getting more and more links as I start to dig!&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;A href="http://jdhitsolutions.blogspot.com/"&gt;&lt;FONT face=Tahoma size=2&gt;http://jdhitsolutions.blogspot.com/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;A href="http://monadblog.blogspot.com/"&gt;&lt;FONT face=Tahoma color=#800080 size=2&gt;http://monadblog.blogspot.com/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;A href="http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/"&gt;&lt;FONT face=Tahoma color=#800080 size=2&gt;http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;A href="http://www.leeholmes.com/blog/TheStoryBehindTheNamingAndLocationOfPowerShellProfiles.aspx"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.leeholmes.com/blog/TheStoryBehindTheNamingAndLocationOfPowerShellProfiles.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;A href="http://www.leeholmes.com/blog/AHistoryBrowsingPrompt.aspx"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.leeholmes.com/blog/AHistoryBrowsingPrompt.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Tahoma size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"&gt;&lt;A href="http://monadblog.blogspot.com/2006/06/prompt-function.html"&gt;&lt;FONT face=Tahoma size=2&gt;http://monadblog.blogspot.com/2006/06/prompt-function.html&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: en-gb; mso-ansi-language: en-gb; mso-bidi-language: ar-sa"&gt;&lt;A href="http://del.icio.us/powershell"&gt;&lt;FONT face=Tahoma color=#800080 size=2&gt;http://del.icio.us/powershell&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: en-gb; mso-ansi-language: en-gb; mso-bidi-language: ar-sa"&gt;&lt;A href="http://www.exchangeninjas.com/PSSMisc"&gt;&lt;FONT face=Tahoma size=2&gt;http://www.exchangeninjas.com/PSSMisc&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=455553" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/flaphead/archive/tags/All/default.aspx">All</category><category domain="http://blogs.technet.com/flaphead/archive/tags/Powershell/default.aspx">Powershell</category></item></channel></rss>