Install .exe software application on remote machines.

Posted by coral_reef on Stack Overflow See other posts from Stack Overflow or by coral_reef
Published on 2010-04-12T18:39:33Z Indexed on 2010/04/12 18:43 UTC
Read the original article Hit count: 286

Filed under:
|
|

Hi, I modified this script from the net, which is suppose to install .exe applications for remote machines:

$m = Read-Host "Enter machine name"

$File = "c:\temp\office2007sp2-kb958194-fullfile-en-us.exe"

$product = [WMICLASS]"\$m\ROOT\CIMV2:win32_Process"

$product.Create($File)

When I run this script, I have noticed that this program promptly creates a process in the remote machine with the application name office2007sp2-kb958194-fullfile-en-us.exe. This can be checked in the task manager also. But other than that, there is no way to find out if this is getting installed in the remote machine or not. Is there a way to find out, if the installation is really happening? Or does this script actually works? Any help will be great!

Reagrds Arindam

© Stack Overflow or respective owner

Related posts about install

Related posts about .exe