You can do it with WMI. You'll need to use
Win32::OLE to access it. I don't have any code for that, but if you look in
MSDN - you'll find the WMI schema. It's fairly complicated - you'll probably need to run the script as member of administrators group
You could also just use psexec from
Sysinternals (the PSTools suite).
Or you could take
perrin's excellent advice and just use CGI on the remote server - use a password protected directory and encrypt login with SSL.
Error: Keyboard not attached. Press F1 to continue.