I have an existing desktop app written in C# (I have the source code) that gets invoked from a script (currently batch script, but I will rewrite it as a PowerShell script)