Showing results for PowerShell ISE - PowerShell Team

Feb 4, 2009
0
0

Console Application (Non) Support in the ISE

PowerShell Team
PowerShell Team

There are some limitations on how the ISE interacts with console applications you need to be aware of, for apps like ftp and netsh.First of all, the ISE Runs console apps that don’t require user input just fine.For example, “ping www.microsoft.com” and “cmd /c dir /s”Piping also works fine in the ISE,For example, PS C:\Users\ibrar> "show mode" |...

PowerShell ISE
Jan 26, 2009
0
0

Design of Script Friendly APIs, lessons from $psISE

PowerShell Team
PowerShell Team

Cmdlets are high level, task-oriented abstractions.  The implementation of cmdlets can talk to anything:  Web services, COM objects, WMI objects, .NET objects – anything.   Depending upon how developers design their API, they can make it easier or harder to write cmdlets.  Now that you can write cmdlets in PowerShell itself...

PowerShell ISEPHILOSOPHY
Jan 19, 2009
0
0

Debugging PowerShell Script Using the ISE Editor

PowerShell Team
PowerShell Team

Hi writers and consumers of buggy scripts.This post explains the basics of the Graphical Debugger in the ISE. There’s a lot of good stuff, with some tips and tricks.The debugger support got the cmdlets and user interface.  The cmdlets include  Enable/Disable/Get/Set/Remove-PsBreakpoint and Get-PsCallStack.The general feel is to place brea...

CTP3PowerShell V2PowerShell ISE
Jan 3, 2009
0
0

Diagnosing Here-Strings With PowerShell_ISE

PowerShell Team
PowerShell Team

James Brundage posted a blog entry How To Write a Console Application in PowerShell with Add-Type which used a here-string.   One user (lcr) copied and pasted the text and got the following error: Unrecognized token in source text. At line:1 char:72 + Add-Type -OutputType ConsoleApplication -OutputAssembly HelloWorld.exe  &...

CTP3PowerShell V2Jeffrey Snover
Dec 31, 2008
0
0

PowerShell_ISE Scripting: ConvertTo-Comment

PowerShell Team
PowerShell Team

Let me combine a couple of things.  1) When I posted my PowerShell_ISE profile, I included a function Goto-Line that is now builtin to the ISE so I reposted the blog with this function commented out. I commented it out instead of deleting it because I wanted to provide an example of how to do it. 2) Vivek Sharma left a comment asked about p...

CTP3Jeffrey SnoverPowerShell ISE
Dec 30, 2008
0
0

My Powershell_ISE Profile Part 2

PowerShell Team
PowerShell Team

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 ne...

CTP3Jeffrey SnoverPowerShell ISE
Dec 29, 2008
0
0

My PowerShell_ISE Profile

PowerShell Team
PowerShell Team

[UDPATE - the original post had a script which did not work with CTP3 so I've replaced it with the correct version.  Apologizes for the screw up. I've updated the attached file as well. - jps]  I thought I would share my PowerShell_ISE profile with you.  I haven't done anything to clean this up or document it which I shoul...

CTP3Jeffrey SnoverPowerShell ISE
Oct 30, 2008
0
0

PowerShell_ISE and Visual Studio

PowerShell Team
PowerShell Team

Scott Fulton has a good article describing my PDC talk HERE.  In it he says, "Starting with version 2, a user can conceivably write new PowerShell cmdlets in PowerShell, using the built-in IDE, completely independently of Visual Studio."  This is true but there is more to the story so here it is. PowerShell's Integrated Scripting Environ...

PowerShell ISEVisual Studio