Re: WMI call to run a remote application

From: Date: Tue, 03 Jun 2008 04:34:57 +0000
Subject: Re: WMI call to run a remote application
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-28915@lists.php.net to get a copy of this message
Hello, on 05/22/2008 03:12 PM John Arends said the following: > 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. There is now. Take a look at this WMI PHP class: http://www.phpclasses.org/easywmi -- Regards, Manuel Lemos PHP professionals looking for PHP jobs http://www.phpclasses.org/professionals/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/

« previous php.windows (#28915) next »