How to run and dynamically compile C# code in a PowerShell script
In PowerShell you can run C# code by executing code from an assembly, but you can also dynamically compile C# code at runtime in a PowerShell script, see:
In PowerShell you can run C# code by executing code from an assembly, but you can also dynamically compile C# code at runtime in a PowerShell script, see: