Loading...

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

If at first you fail, try, try again.

But what about “When you know you’ll fail, try, try anyways”? This one is much more realistic in some situations, but so much harder to motivate oneself to do. One could say that if you know your goal or your expectations are impossible to attain, then you need to revise them. Or maybe it’s just [...]

By | April 19th, 2017|Uncategorized|0 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-59264b29c3f8f599617304/] Pass your InstallFolder variable to your MSI package. [...]

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

Visibility (3/3)

Not the Conservatoire de Musique mentioned in this post; this is actually the Bâtiment des Forces Motrices, my new favorite venue. It sits in the middle of the river. It is gorgeous inside and out. The plush seats are just as great for dozing off as those in the Alhambra theater. I attended [...]

By | March 25th, 2017|Uncategorized|0 Comments

Visbility (Part 2/3)

The  International Film Festival and Forum on Human Rights (check up on the FIFDH site if you’ll be in Geneva when it happens next year) meant I saw a bunch of great documentaries, a couple of fantastic concerts, and a handful of talks ranging from so bad half the audience walked out to so great [...]

By | March 21st, 2017|Uncategorized|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

Visibility (1/3)

(In)Visibility and (silenced) voices are a big part of my PhD research, but three real life events recently gave me new ideas about visibility, and reminded me of old lessons I had forgotten. These events made me more aware of my ‘bubble’, and how the film of its membrane clouds my vision (kind of like [...]

By | March 15th, 2017|Dissertator|0 Comments