You could try running the following on the linux machine: pwsh
It should open up a Powershell prompt, but I am not sure if a seperate installation would be required.
Is there a way to compile my script1.ps to some binary executable file on Linux? -> I think not. Here's why:
In core an exe file is still windows based, as is powershell is windows based, it makes sense this is supported. @Digivill I know there are tools available to do so for bash scripts as well as python. It might be worth looking into if your main platform is Linux. And going for the full cross-platform experience you could also checkout C#, but it might take some time coming from PS.
Hope this helps!