A self-documenting multi-platform script.
autodocuscript is a polygot PDF that contains executable bash and powershell scripts, to enable providing truly self-documenting scripting capabilities in both Windows and Linux environments.
Open the PDF for usage and editing instructions.
There doesn't appear to be a way to get powershell to execute scripts with arbitrary extensions.
The string "#>" must not appear in any of the PDF objects following the powershell script.