If you are talking about 3.2.2 then you can use the -s switch:
shutdown -s www.myserver.com:1099 -S
Where -s requires "Specify the JNDI URL of the remote server". Port 1099 is used by default by JBoss. If you are just running on your local machine you can use localhost of course.
Use shutdown -h for the full help.
Thank you very much! This worked :)