WMI call to run a remote application
| From: | John Arends | Date: | Thu, 22 May 2008 18:12:03 +0000 |
| Subject: | WMI call to run a remote application | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28908@lists.php.net to get a copy of this message | ||
I'd like to have a PHP script running on my web server (running IIS 6) that can make a WMI call and start a specific remote process on a remote computer.
For what its worth, the remote process I'd like to trigger is a batch file.
I've googled this extensively and can't find anything that points me in the right direction. All the sample scripts are in vbscript, but I assume I can probably do something like this with PHP as well since it has COM libraries.
Any suggestions?
-John