Just to clarify: VBScript runs local on the polling engine. In order to run VBScript commands on the target machine, you have to do what walkerl says - VBScript1 opens a connection to the target, writes/copies VBScript2 to the target's drive, creates a scheduled task to run that script, and then VBScript2 writes the results to a file. Finally, VBScript1 reads the file and echos the results to stdout for SAM to pick up.
Powershell has an option to run local (to the polling engine) or remote (on the target)
Perl and shell scripts run remotely (typically on Unix/Linux systems)
Hope that helps.