title: Call VBScript With Return Value on Remote Machine With Powershell
body: <p>I need to call a remote VB script from Powershell, and the VB script needs to run on the remote machine.</p>
  
  <p>I have been using \$computer\root\cimv2:Win32_Process").Create(C:\test.vbs)</p>
  
  <p>This works, however I can't get a return value from the script, just a return value from the win32 process.</p>
  
  <p>I would convert the whole thing to powershell, but can't as I'm connecting to a legacy domain I can't install additional tools on so have to call the remote vbscript</p>