0

I have to execute myexample.msi on the remote machine. Below logic I have tried but the msi is executed and didn't show any error:

Invoke-Command -ComputerName computername -ScriptBlock {
  msiexec /i "myexample.msi" /q UserName="my username" password="my password" /log C:\karthik.txt
}

So any one please suggest.

Ansgar Wiechers
  • 193,178
  • 25
  • 254
  • 328
karthik
  • 1
  • 3

0 Answers0