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 }