May 2010 - Windows PowerShell Team Blog

  • Renaming Tabs in the ISE

    When you have multiple PowerShell tabs open in the ISE, it may be handy to rename them, so you can tell which is which. This is especially useful when using Remoting with Enter-PSSession. The problem when using Enter-PSSession is that you have no access to the root ISE object ( $psise ) when remoting, so you should use another (local) tab and enter the following: $psise .PowerShellTabs[0].DisplayName...
  • Quick Tip: Renaming Tabs in the ISE

    When you have multiple PowerShell tabs open in the ISE, it may be handy to rename them, so you can tell which is which. This is especially useful when using Remoting with Enter-PSSession. The problem when using Enter-PSSession is that have no access to the root ISE object ($psise) when remoting, so you should use another (local) tab and enter the following: $psISE.PowerShellTabs[0].DisplayName = 'myRemoteMachine'...
  • PowerShell V2 IS Available

    Superstar Tobias Weltner (of PowerShell.com and Powershell Plus fame) sent me some mail today pointing to this May 14th article Three Essential PowerShell 2.0 Remote Management Features .  It is a very good article except for this part: “PowerShell 2.0 is built into Windows Server 2008 R2 and Windows 7. For older operating systems, PowerShell 2.0 is scheduled to be available a few months down...
  • PowerShell Resource Page at Windows IT Pro

    Windows IT Pro magazine has created a PowerShell Resource Page HERE .  It provides a nice easy way to get at all of Don Jones’ articles.  Don is a superstar explainer of all things PowerShell so if you aren’t already following him, do yourself a favor and go read his stuff over on Windows It Pro.  Enjoy! Jeffrey Snover [MSFT] Distinguished Engineer Visit the Windows PowerShell Team blog...
  • Smiling, Crying, and Scripting

    I once heard that everyone in the world smiles and cries the same way - that language and culture had no effect on these. I thought of that when I navigated to: http://www.computerworld.jp/topics/mws/180709.html I have ABSOLUTELY no clue what they are saying but in the middle of the article I saw this: 【リスト11:WakeOnLan.ps1】 1 param($MacAddress)  2 [byte[]] $MagicPacket = 0xFF, 0xFF, 0xFF, 0xFF...
  • Select-String -Context

    A lot of people use Select-String but I haven’t seen much discussion of the –Context parameter.   This is an awesome feature that we added in V2.  If you haven’t tried it, you should spend a few minutes experimenting.  I can guarantee you that will you be glad you did. Let’s see what the HELP has to say about the Context parameter:   PS> Get-Help Select-String -Parameter...
  • Configuring WSMAN Limits

    As you probably know by now, all of PowerShell remoting is done via streaming extensions to WSMAN.  WSMAN is the SOAP-based DMTF standard protocol for managing everything.  As you explore the limits of what you can do with WSMAN or PowerShell remoting, you may encounter errors like this:   [7592:0]PS> New-PSSession [localhost] Connecting to remote server failed with the following...
  • A PowerShell Wander: ToolBox Mindset, –ExpandProperty, DMZs and Remote Profiles

    I was reading PowerShell remoting in Windows Server 2008 R2 . The great thing about this article is that it documents how to use Group Policy to enable PSRemoting on lots of machines automatically. In the article there was the following heads up: Warning: Commands that are executed against a remote machine do not have access to information defined within your local profile. As such, commands that use...
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.