I have this command
sqlcmd.exe -E -i \"C:\\joe-db-scripts\\joe-db-tasks.Install.sql\"
and I need to add the specific non-standard port of 32001
According to this MSDN link, you'd use -S tcp:servername,32001.
-S tcp:servername,32001