Viewing posts from January, 2017

Ship Assemblies Inside Your PowerShell

This code generates a function that will load the assembly into the current PowerShell session. Yes it's a dumb idea but when your team lead tells you "we can't copy a dll file to every server your script needs to run on.", this is what happens.

Reading and Writing GZip Files With PowerShell

#Requires -Version 4