I have a Powershell script that I was hoping to either re-write or include into a C# so it may be compiled into an executable.

I guess my first question is to see if anyone has any knowledge on how to directly go from powershell to C#.

If not, I'll just start posting tidbits of the script that I'm trying to convert.

This project shows how to run powershell scripts in C#, might help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.