About Adam Driscoll

Adam is an experienced software developer and Microsoft MVP with a specialization in PowerShell. He's an independent contractor working for a security software company developing solutions around Active Directory and ASP.NET Core. You'll typically find him speaking at conferences, riding his bike or traveling the globe.

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 [...]

By | May 14th, 2017|Programmer|0 Comments

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: [...]

By | May 2nd, 2017|Programmer|1 Comment

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 [...]

By | April 27th, 2017|Programmer|4 Comments

My Experiment – PowerShell Pro Tools for Visual Studio 2017

TLDR: Check out the very early beta of my new PowerShell Pro Tools for VS 2017 that contains a PowerShell form designer. Available on the Marketplace. I have been working on PowerShell Tools for Visual Studio, formerly PowerGUI VSX, for almost 7 years. My first checkin to CodePlex (RIP), was on June 12, 2010. A lot [...]

By | April 6th, 2017|Programmer|0 Comments

WiX Toolset – Supporting major upgrades with installation directory changes while using Burn

Here is the scaffolding to create a WiX installer that uses a Burn bootstrapper that can support upgrading while allowing the user to change to a new installation directory. Burn Create an InstallFolder variable and populate it with what you want to be your default installation directory. [crayon-59264b1f04d38123582983/] Pass your InstallFolder variable to your MSI package. [...]

By | March 30th, 2017|Programmer|0 Comments

Converting PowerShell to C# through intent instead of an abstract syntax tree alone

I recently added support to the CodeConverter.net SDK to convert PowerShell to C#. This was a very similar process to converting C# to PowerShell. The implementation walks the PowerShell AST, produces a common AST and then is fed into the C# code writer to output C# code. The limitation of straight AST translation AST translation [...]

By | March 21st, 2017|Programmer|0 Comments

Data Driven Testing using XUnit in Visual Studio 2017

XUnit, like a lot of other testing frameworks, allows for creating test cases, or theories in XUnit terms, based on test data rather than static tests alone. With the CodeConverter.NET tests, I decided to generate the test cases based on input files and output files. The input files contain C# code and the output files [...]

By | March 12th, 2017|Programmer|0 Comments

CodeConverter.NET: Simplified Site, NuGet Package and More

The last couple of days I’ve been busy working on CodeConverter.NET. Here are some updates. Simplified Site When I first conceived of CodeConverter.NET, I thought of making it a community curated site where not only automated conversions would happen but also users could add conversions or improve automated ones. I realized that this was a [...]

By | March 6th, 2017|Programmer|0 Comments

Generating GitHub Pages from Test Output

Getting Started with GitHub Pages GitHub Pages allow you to generate a website for yourself, an organization or a project based on markdown files stored in a repository. Pages is based on Jekyll and comes with a couple standard themes. Jekyll creates static pages so there is no need to update a database or anything. [...]

By | March 4th, 2017|Programmer|0 Comments