PowerShell Team

Automating the world one-liner at a time…

ISE Module Browser – A new way to manage your PowerShell modules

[UPDATED] A newer, working version of the ISE Module Browser is now available on the PowerShell Gallery: https://www.powershellgallery.com/packages/ISEModuleBrowserAddon/   High quality reusable modules, like LEGO pieces, enable IT Pros to build automation solutions in minutes! Where can I find those high quality reusable modules? ...

Snippets in Windows PowerShell ISE 3.0

This blog post applies to the Windows PowerShell Integrated Scripting Environment (ISE) in Windows 8 and Windows Server 2012.  The ISE is also fully supported and available when Server 2012 is deployed using the Minimal Server Interface.  To start ISE, type ise  in a PowerShell console and press Enter Snippets provide a ...

Intellisense in Windows PowerShell ISE 3.0

This blog post applies to the Windows PowerShell Integrated Scripting Environment (ISE) in Windows 8 and Windows Server 2012.  The ISE is also fully supported and available when Server 2012 is deployed using the Minimal Server Interface.  To start ISE, type ise  in a PowerShell console and press Enter Very few things can be considered...

Running show-command for a cmdlet

  Problem: Figuring out a cmdlet from its syntax can be overwhelming, especially for people new to PowerShell. PS C:\> get-command get-process -syntax Get-Process [[-Name] <string[]>] [-ComputerName <string[]>] [-Module] [-FileVersionInfo] [<CommonParameters>] Get-Process -Id <int[]> [-ComputerName <string[]&...

Save All PowerShell ISE files

PowerShell ISE is a simple tool and in some cases it has the bare essentials. For instance, it does not have an option to save all files. On the flipside, it offers an Object Model from its first version that allows adding features beyond the essentials like this one and many more.  If we had the "Save All" option in the ISE, one ...

Advanced Debugging in PowerShell

Here is a collection of tips and tricks to debug PowerShell Read UpThere is a 7-part series of “Debugging Monad Scripts” that Jon Newman wrote a few years ago that covers a lot of tips, including error handling, traps, tracing, and covers a lot of V1 stuff. Clean codeThe best route, is to make sure code is clean, and common errors are ...

Do PowerShell Demos in the ISE

Jeffry Snover and many other have used Start-Demo in powershell.exehttp://blogs.msdn.com/powershell/archive/2007/03/03/start-demo-help-doing-demos-using-powershell.aspx Continuing the tradition, we now have ISEDemo.psm1 To use it, start ISE and runImport-Module ISEDemo.psm1 #(attached)Start-Demo c:\path\to\demofile.txt Type enter to execute ...

Adding your own help links to ISE

ISE has an F1 help feature, where if you press F1 when your caret is over a cmdlet name, context sensitive help opens. Shay Levy has a nice post on F1 help in the ISE herehttp://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/01/31/using-help-in-powershell-ise.aspxHe adds “I wanted to mimic the way ISE’s help works when you press F1...

Differences between the ISE and PowerShell console

Here is a collection of differences between the PowerShell_ise.exe and PowerShell.exe, as well as workaroundsand suggestion if you need them (assuming we have them :)) Limited support for interactive console apps, try cmd.exe, then try cmd.exe /k cmd.exe /c dir still works though, and more information is available herehttp://blogs.msdn.com/...