Does somebody know what's $#? : I have to change a bash script into a powershell script, but I dont really get the condition in the if-statement.

        if [ $# -eq 0 ]
      then
         name='plmapp-all'
      else
         name="$1"

Does somebody know whats $# and how this statement would look like in powershell?