You can do it with WMI. You'll need to use
to access it. I don't have any code for that, but if you look in
- you'll find the WMI schema. It's fairly complicated - you'll probably need to run the script as member of administrators group
(the PSTools suite).
's excellent advice and just use CGI on the remote server - use a password protected directory and encrypt login with SSL.