Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

Installing an MSP works on the local machine, fails remotely. Why?

$
0
0

Good afternoon,

I need some advice.

I need to install an application's MSP update file on multiple Win08r2 servers.  If I run these commands locally, within the target machine's PS window, it does exactly what I want it to:

$command = 'msiexec.exe /p "c:\test\My Application Update 01.msp" REBOOTPROMPT=S /qb!'
invoke-wmimethod -path win32_process -name create -argumentlist $command

The file being executed is located on the target machine

If I remotely connect to the machine, and execute the two commands, it opens two x64 msiexec.exe process, and one msiexec.exe *32 process, and just sits there.

If I restart the server, it doesn't show that the update was installed, so I don't think it's a timing thing. 

I've tried creating and remotely executing a PS1 file with the two lines, but that seems to do the same thing.

If anyone has advice on getting my MSP update installed remotely, I'd be all ears.

I think I've included all the information I have, but if something is missing, please ask questions, and I'll fill in any blanks.

Thank you in advance for your time and assistance!

Catt11

 


Viewing all articles
Browse latest Browse all 8411

Trending Articles