Added System.Management.Automation reference via Nuget so that you don't need the PS SDK installed to get the project working