First Cut of translating the perfect storm codegen into powershell