Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Install software remotely via Powershell

$
0
0

I'm trying to remotely install an application (Office 2010 Pro to be exact) and it works when I run it locally, but fails when i try it remotely. I have this syntax which I see commonly online as the preferred method to remote install, but it's not working. There are no errors when I run the script... the install just never starts. Again no issues when running locally.

Any help or troubleshooting recommendations would be much appreciated. I have to get this installed on hundreds of computers.

Current Code:

$InstallString = '"\\servershare\Office 2010\setup.exe" /adminfile Updates/OfficeSetup.MSP /config ProPlus.WW/config.xml"'
([WMICLASS]"\\computer1\ROOT\CIMV2:Win32_Process").Create($InstallString)


Please mark my post as helpful or the answer or better yet.... both! :) Thanks!


Viewing all articles
Browse latest Browse all 21975

Trending Articles