Loading…

The Future of Languages in Visual Studio

TLDR; I implemented a Visual Studio Language Server Protocol extension for PowerShell. Check out the source code here. See it in action here. Visual Studio Language Server Protocol extensions Visual Studio language development is hard. There are so many aspects to a language that you need to consider and working with the Visual Studio SDK can […]

Bundling Scripts with Merge-Script

Recently, I released the first version of the PowerShell Pro Tools PowerShell module to the PowerShell gallery. The module contains a PowerShell cmdlet wrapper around PSPack.exe that is capable of packaging scripts into executables. This version of PSPack.exe also supports the ability to bundle multiple PS1 files into a single PS1 file. In this post […]

Building WPF Windows with PowerShell in Visual Studio

In the latest version of PowerShell Pro Tools for Visual Studio, I released the first version of WPF Designer support for PowerShell projects. In this post, we will look at the steps required to create a new WPF window and hook up a button click event. Installing the necessary tools You will need the following: […]

Building Windows Forms with PowerShell in Visual Studio 2017

I recently released the first version of PowerShell Pro Tools for Visual Studio 2017. The first version provides only one feature; Windows Forms designer support. In this post we will go over how to create a Windows Form using PowerShell. Installing the necessary tools You will need the following: Visual Studio 2017 (Any edition, Community edition) PowerShell Tools […]

CodeConverter.NET SDK: Now open-source!

I spent a lot of time on planes and in airports the last few weeks so I put together a present. After posting about CodeConverter.NET and the View as PowerShell Chrome Extension, I had some feedback that it would be great if the code for this was open-source. After some clean up, I’ve published the […]

PowerShell Decompiled: How do loops work?

In my quest to figure out why handles.ps1 was running very slowly when looping over the 3.4 million handles on my system, I started to realize that the loop structure itself was a lot slower than a language like C#. I know that PowerShell is compiled to an executable lambda statement when it meets particular criteria […]