• ...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.