My Powershell_ISE Profile Part 2

I messed up.


First let me remind you that what you have are CTP bits and that CTP bits are subject to change.  It turns out that we are tweaking the PowerShell_ISE object model and that the profile I posted does not work with CTP3.  I’m sorry for that screw up.


You can use the amazing PowerShell_ISE to fix this problem.  All you need to do is a search and replace of:



CurrentOpenedRunspace.ToolsMenu


with



CustomMenu


Also GoTo-Line is now built into the editor so you should comment that out.  I’ll keep it in the script (commented out) so that you can see how it works.


I’ve attached the corrected script to this blog.


Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Microsoft.PowerShellISE_Profile.ps1