Thanks for the help guys. Sorry new to scripting, so didn't think about using ShellExecute which works great.
Can't use RunAs it's part of a tool to be use by a group, so want to avoid putting credentials in script.
I'm using powershell, because it allows me to remotely reboot the machine. It prompts for the name of the machine in Autoit's GUI and I'm hoping it will pass it somehow over to powershell (hoping send command) when it's executed and then does it.
Is there a way I can get the variable information passed to powershell when powershell executes and prompts for input? The gui i created in Autoit has a field for the computername.
It doesn't seem that the Administrator Powershell Window can take the characters when sent via Send