Our team runs the following commands to turn on and off Windows Services (e.g. JBoss Native) from the Windows command line as well as through source code in a program. It connects to a remote box. We are now placing this box (\DEV-A1) into our DMZ. How can we still run this command remotely but use a secure port?
sc \\DEV-A1 stop JBAS50SVC sc \\DEV-A1 start JBAS50SVC