Shell scripts are better when having a shebang like so:
#!/bin/bash
echo "The shebang above this line works like a typical a comment but with a purpose"
PowerShell scripts are also shell scripts. So it should be okay to do like so:
#!/usr/local/bin/pwsh
echo "The shebang above this line works like a typical a comment but with a purpose"
It seems to does not make sense if the script was intended for Windows machines but for Linux and Mac machines they seem to make sense.
Do you think it would be best for PowerShell scripts to also have a shebang?