I regularly have to convert an existing C# code snippet/.CS file to a PowerShell script. How could I automate this process?
While I am aware that there are methods
There is a Reflector add-in for PowerShell that will allow you to see the corresponding PowerShell script for static methods on classes
There's a good post with the example: http://blogs.msmvps.com/paulomorgado/2009/09/17/powershell-for-the-net-developer/.