On linux to create file that will execute by powershell: #!/usr/bin/env pwsh Write-Host "Hello from PowerShell!"