Add spell checking to PowerShell ISE

While the PowerShell ISE is obviously for writing PowerShell code rather than text, I usually have a fair amount of it in some of my scripts due to comments or hard coded text elements. Therefore, I thought that it would be handy to have the ability to verify selected text against a spell checker. I … Continue reading Add spell checking to PowerShell ISE

Zen Coding for the PowerShell console and ISE

First of all let's clarify what Zen Coding actually is. According to their website: Emmet (formerly known as Zen Coding) is ... ... a web-developer’s toolkit that can greatly improve your HTML & CSS workflow. But what does this have to do with PowerShell? At least I find myself quite often trying to convert PowerShell … Continue reading Zen Coding for the PowerShell console and ISE

Expanding aliases in PowerShell ISE or any PowerShell file

Further extending my PowerShell ISE module (ISEUtils) I've added a function to convert aliases either in the currently active ISE file or (in case a a path is provided) within any PowerShell file (that way the function can be also used from the PowerShell Console) to their respective definitions. Aliases are very useful when working … Continue reading Expanding aliases in PowerShell ISE or any PowerShell file

Create an integrated (WPF based) ISE Add-On with PowerShell

The goal of this post is to show you how to create an ISE Add-On that integrates itself graphically in a similar way as the built-in Show-Command Add-On (using the VerticalAddOnTools pane) without having to use Visual Studio and writing the code in C#. As an example I will walk you through the steps to … Continue reading Create an integrated (WPF based) ISE Add-On with PowerShell

Add a default code template to the PowerShell ISE

Some of the 3rd party PowerShell editors offer already built-in support for a default code template where the content of the code template replaces the default blank sheet for every new tab as a starting point for new scripts. While the PowerShell ISE does not provide this functionality out-of-the-box, it can be quite easily added … Continue reading Add a default code template to the PowerShell ISE