Remote Install via PowerShell

Ask general questions here.
Dave_V
Posts: 1
Joined: Wed Oct 03, 2018 1:40 pm

Remote Install via PowerShell

Post by Dave_V » Wed Oct 03, 2018 1:51 pm

I have about thirty machines where I need to install 8.1.2 runtime. Version 7/2 is currently installed. I was trying to do this via a PowerShell script using the Invoke-Command.

The script runs, and doesn't return any errors, but the install does not occur. Both systems are Windows 10 x64.

The install file is on the remote system in c:\windows\temp

Has anyone done something like this? PSExec is not an option.

Code: Select all

$command = @"
c:\windows\temp\Ranorex-8.1.2.exe /quiet ADDLOCAL="MainFeature"
"@

Invoke-Command -ComputerName test01 -scriptblock { $command }

qwertzu
Posts: 178
Joined: Wed Jan 25, 2017 11:08 am

Re: Remote Install via PowerShell

Post by qwertzu » Fri Oct 05, 2018 9:21 am

hey,
maybe you first need to uninstall the old ranorex version from your remote machine.
regards, qwertzu