<?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>David Strome's Blog : PowerShell</title><link>http://blogs.technet.com/dstrome/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>Windows PowerShell v2.0 CTP3 and Windows Remote Management 2.0 CTP3</title><link>http://blogs.technet.com/dstrome/archive/2009/01/09/windows-powershell-v2-0-ctp3-and-windows-remote-management-2-0-ctp3.aspx</link><pubDate>Fri, 09 Jan 2009 08:50:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3178619</guid><dc:creator>dstrome</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/dstrome/comments/3178619.aspx</comments><wfw:commentRss>http://blogs.technet.com/dstrome/commentrss.aspx?PostID=3178619</wfw:commentRss><description>&lt;p&gt;The Windows PowerShell and Windows Remote Management (WinRM) teams recently released updates to their products. Windows PowerShell v2.0 has many new features and improvements over v1.0. The most notable is the integrated scripting environment (ISE). The ISE is a new graphical PowerShell host that, in my opinion, makes Windows PowerShell much more usable for scripting and also for novice command line users. The things I find the most useful about the ISE are:&lt;img style="border-right-width: 0px; margin: 0px 0px 0px 15px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://blogs.technet.com/blogfiles/dstrome/WindowsLiveWriter/WindowsPowerShellv2.0CTP3andWindow.0CTP3_12FBB/image_3.png" width="500" height="386" /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Intelligent formatting&lt;/strong&gt; – the ISE colors the various command line components – cmdlet names, parameter names and values, etc like in C# and other languages. This makes it much easier to read your scripts &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Tabbed runspaces&lt;/strong&gt; – You can open new tabs which are each their own isolated runspace. This can be useful if you want to isolate your environments for testing or if you want to use WinRM to connect to remote runspaces. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Tabbed scripts within runspaces&lt;/strong&gt; – Not only can you have multiple tabbed runspaces but within each runspace you can have multiple scripts open in their own tabs. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Interactive command window&lt;/strong&gt; – While you are working on your script in the script window, you can try out commands in the command window without having to worry about accidentally changing your script. Or, if you just want to use the ISE as an interactive Windows PowerShell host, you can minimize the script window and just use the command window. I find myself using this over the original text-based console. There’s more screen real estate and the ISE also accepts unicode characters unlike the text-based window. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Dedicated output window&lt;/strong&gt; – Any output that is displayed is sent to the output window. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Lots of other stuff&lt;/strong&gt; – The ISE gives you lots of additional features that aren’t available in the text-based console – easy cut and paste, F1 help, a debugger, and more. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;WinRM also shipped at the same time as Windows PowerShell. WinRM is a transport protocol that you can use with Windows PowerShell to allow a local Windows PowerShell session to communicate and run cmdlets on a remote Windows PowerShell host. Very useful if you need to manage multiple remote computers.&lt;/p&gt;  &lt;p&gt;Give Windows PowerShell v2.0 CTP3 and WinRM 2.0 CTP3 a try by downloading them from the following locations:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;PowerShell&lt;/strong&gt; - &lt;a href="http://go.microsoft.com/fwlink/?LinkId=135123"&gt;http://go.microsoft.com/fwlink/?LinkId=135123&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;WinRM&lt;/strong&gt; - &lt;a href="http://go.microsoft.com/fwlink/?LinkId=135126"&gt;http://go.microsoft.com/fwlink/?LinkId=135126&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Be aware, however, that Windows PowerShell v2.0 isn’t supported with Microsoft Exchange Server 2007. You must continue to use &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx"&gt;Windows PowerShell v1.0&lt;/a&gt; to manage your Exchange 2007 server. &lt;/p&gt;  &lt;p&gt;You can visit the Windows PowerShell blog here - &lt;a title="http://blogs.msdn.com/powershell/" href="http://blogs.msdn.com/powershell/"&gt;http://blogs.msdn.com/powershell/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The CTP3 versions of both Windows PowerShell and WinRM are included in the Windows 7 Beta release that comes out on Friday 1/9/2009. You can find out how you can get Windows 7 by visiting the &lt;a href="http%3a%2f%2fwindowsteamblog.com%2fblogs%2fwindows7%2farchive%2f2009%2f01%2f07%2finformation-on-downloading-and-installing-windows-7-beta.aspx" target="_blank"&gt;Windows Team Blog&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3178619" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/dstrome/archive/tags/PowerShell/default.aspx">PowerShell</category><category domain="http://blogs.technet.com/dstrome/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>Exchange Server 2007 Cmdlet Examples</title><link>http://blogs.technet.com/dstrome/archive/2008/04/19/exchange-server-2007-example-cmdlets.aspx</link><pubDate>Sat, 19 Apr 2008 06:16:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3039639</guid><dc:creator>dstrome</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.technet.com/dstrome/comments/3039639.aspx</comments><wfw:commentRss>http://blogs.technet.com/dstrome/commentrss.aspx?PostID=3039639</wfw:commentRss><description>&lt;p&gt;If you're new to Windows PowerShell and Exchange Server 2007, take a look at this link: &lt;a title="http://www.microsoft.com/technet/scriptcenter/scripts/message/exch2007/default.mspx?mfr=true" href="http://www.microsoft.com/technet/scriptcenter/scripts/message/exch2007/default.mspx?mfr=true" target="_blank"&gt;http://www.microsoft.com/technet/scriptcenter/scripts/message/exch2007/default.mspx?mfr=true&lt;/a&gt;. The link goes to the Exchange Server 2007 Script Repository which contains a few dozen cmdlet and script examples for common administrative tasks. It's a really useful resource if you're just getting started. &lt;/p&gt;  &lt;p&gt;Take a look and if you have any suggestions for examples we should add, be sure to send me a note via the Email page or post a comment. &lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3039639" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/dstrome/archive/tags/PowerShell/default.aspx">PowerShell</category><category domain="http://blogs.technet.com/dstrome/archive/tags/Exchange+Server+2007/default.aspx">Exchange Server 2007</category></item><item><title>Exchange Management Shell Tips and Quick Reference</title><link>http://blogs.technet.com/dstrome/archive/2007/12/29/exchange-management-shell-tips-and-quick-reference.aspx</link><pubDate>Sun, 30 Dec 2007 02:40:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2690944</guid><dc:creator>dstrome</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/dstrome/comments/2690944.aspx</comments><wfw:commentRss>http://blogs.technet.com/dstrome/commentrss.aspx?PostID=2690944</wfw:commentRss><description>&lt;p&gt;I'm sitting here watching downhill skiing (a Canadian finished third! woo!), recovering from Christmas and a nasty cold. Colds aren't fun. But getting one at Christmas is just wrong. So I'm planted in an easy chair, staring at the TV. Bored. I've even clicked through pretty much all the various greetings that pop up when you play Scrabulous on Facebook. Did you know that Aloha means not only 'hello' and 'goodbye', but also reflects affection, love, mercy and compassion? You would if played Scrabulous (I hope they're right). Anyways. I want to highlight a couple of Exchange Server 2007 help topics that you may not have come across.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Exchange Management Shell Tips&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;When you open the Exchange Management Shell, a greeting is displayed to you with useful commands and a tip as is shown in the following screen shot:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/dstrome/WindowsLiveWriter/ExchangeManagementShellTips_D129/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="158" alt="image" src="http://blogs.technet.com/blogfiles/dstrome/WindowsLiveWriter/ExchangeManagementShellTips_D129/image_thumb_2.png" width="318" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Every time you open the shell, you receive a new tip. You can also bring up new tips by using the &lt;strong&gt;Get-Tip&lt;/strong&gt; cmdlet. There are a few dozen tips available in the shell and the &lt;strong&gt;Get-Tip&lt;/strong&gt; cmdlet (it's actually a function that gets defined in Exchange.ps1 in C:\Program Files\Microsoft\Exchange Server\bin and reads from an XML file in the directory that relates to your locale within the bin directory) randomly chooses one each time it's run. We figured it would be a good idea to take the tips and publish them as a single topic so that you could easily browse through them and discover tips that make your life easier. &lt;/p&gt;  &lt;p&gt;The &lt;a href="http://technet.microsoft.com/en-us/library/bb397216.aspx" target="_blank"&gt;Exchange Management Shell Tips of the Day&lt;/a&gt; topic lists all of the tips along with links off to relevant topics for each time. Take a look through - I'm sure there are at least a couple of tips that would be useful to you. Be sure to take a look at the other topics beneath &lt;a href="http://technet.microsoft.com/en-us/library/bb123778.aspx" target="_blank"&gt;Understanding the Exchange Management Shell&lt;/a&gt; also. There's lots of good information for those who are new to the shell.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Exchange Management Shell Quick Reference&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The second topic I wanted to highlight is the Exchange Management Shell Quick Reference downloadable sheet available at &lt;a href="http://www.microsoft.com/downloads"&gt;http://www.microsoft.com/downloads&lt;/a&gt; (you can get to it directly by clicking this link: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=01a441b9-4099-4c0f-b8e0-0831d4a2ca86&amp;amp;DisplayLang=en" target="_blank"&gt;Exchange Management Shell Quick Reference&lt;/a&gt;). When you click on the link, you will be prompted to download quickref.exe which when run will extract two files to the default location c:\ExQuickRef. Browse to that directory and then open ExQuick.htm. &lt;/p&gt;  &lt;p&gt;The Exchange Management Shell Quick Reference sheet contains several dozen common commands that are categorized by task. For example, if you want examples of commands used to manage mailboxes, click on Mailbox Management.&amp;#160; Below is a screenshot of a small section of the mailbox management section:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/dstrome/WindowsLiveWriter/ExchangeManagementShellTips_D129/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="124" alt="image" src="http://blogs.technet.com/blogfiles/dstrome/WindowsLiveWriter/ExchangeManagementShellTips_D129/image_thumb_1.png" width="789" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I recommend that you download the sheet and print it out so you have easy access to it. &lt;/p&gt;  &lt;p&gt;For both the tips of the day and the quick reference topics, feel free to send in tips or examples commands that you use frequently or would benefit other administrators. For the tips, please use the feedback mechanism on the page to submit tip ideas - they will get entered into a database and assigned directly to me. For the quick reference, add a comment to this post, or if the comments eventually close, feel free to submit ideas through the contact form. I'd love to hear about ideas you have.&lt;/p&gt;  &lt;p&gt;Hope you all have a great and safe New Years. I think it's time for a nap.&lt;/p&gt;  &lt;p&gt;David.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2690944" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/dstrome/archive/tags/Documentation/default.aspx">Documentation</category><category domain="http://blogs.technet.com/dstrome/archive/tags/Exchange+Management+Shell/default.aspx">Exchange Management Shell</category><category domain="http://blogs.technet.com/dstrome/archive/tags/PowerShell/default.aspx">PowerShell</category><category domain="http://blogs.technet.com/dstrome/archive/tags/Exchange+Server+2007/default.aspx">Exchange Server 2007</category></item></channel></rss>