Always Explicitly Set Your Parameter Set Variables For PowerShell v2.0 Compatibility
What are parameter sets anyways?
What are parameter sets anyways?
Here’s some simple code that will throw an exception if the client running your script is not using the version of PowerShell (or greater) that is required; ...
A while ago I created a Path Length Checker tool in C# that has a “nice” GUI, and put it up on CodePlex. One of the users reported that he was trying to use ...
I recently refactored some of our PowerShell scripts that we use to publish and remove IIS 7 web applications, creating some general functions that can be us...
I’m fortunate enough to work for a great company that tries to stay ahead of the curve and use newer technologies. This means that when I’m writing my PowerS...
I recently read a great article that explained how to create hashtables, dictionaries, and PowerShell objects. I already knew a bit about these, but this art...
I thought I’d share some PowerShell (PS) functions that I wrote for some clean-up scripts at work. I use these functions to delete files older than a certain...
When trying to upload my last blog post from Windows Live Writer (WLW) to WordPress (WP) I received the following error:
A few weeks ago I blogged about how you can get custom TFS checkin policies to work when committing from the command line. In that post, I had a quick aside ...
TL;DR - PowerShell needs centralized package management. Please go up-vote this request to have it added to PowerShell.
Update: I show how to have your checkin policies automatically update the registry keys shown in this blog post on this newer blog post. If you are not the p...
In the preamble of an earlier post I mentioned that one of the little things that bugs me about Windows PowerShell ISE is that you can add tabs to the start ...
So you’ve got a super awesome library/assembly that you want to share with others, but you’re too lazy to actually use NuGet to package it up and upload it t...
I’ve written some code that you can add to your ISE profile that adds keyboard shortcuts to quickly comment and uncomment lines in PowerShell ISE. So you can...
I know this isn’t programming related (and thus doesn’t quite go with the theme of my blog), but I thought I’d share an Pass this along to anybody you know t...
I’ve spent a good chunk of time investigating how NuGet.exe works and creating a PowerShell script called New-NuGetPackage to make it dirt simple to pack and...
Most people will likely find the “Run script path with spaces from File Explorer” (to be able to double click a PS script whose path contains spaces to run i...