• kevin77 - Monday, October 2, 2017 11:12 AM

    ...and isn't limited by being a compiled program.

    A PowerShell script has many of the same limitations as a compiled program, namely, it requires a specific framework in order to run and run correctly.  That is no different than any compiled program.

    Requiring a dedicated tool to even see the code, Visual Studio for example, is very limiting.  Not to mention that unless you can read binary you have no idea if the source code you're looking at is actually what is running.  

    That's not to say huge applications should be built in powershell but for basic scripting tasks like file maintenance or simple web service calls it's a very powerful tool that trying to do in C# would be more trouble and ad no benefit.