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
Read More...
Read the complete post at http://blogs.msdn.com/b/powershell/archive/2010/05/25/renaming-tabs-in-the-ise.aspx
Posted
May 25 2010, 01:47 PM
by
Windows PowerShell Blog