I am not sure if anyone can help with this or not. I am looking to write a vb script that will pull the computer name I run it on and will take username and password from me and use those to run a command. I am using psexec and want to have a custom action that launches a remote cmd window for the machine I run it on. If there is a better way to do this I am open to hearing that as well. I currently have the script pulling the name right if I echo it, but it is not letting me insert that into a cmd command

.
Any help would be great. Thanks in advance.
Nick