powershell v3.0 - How to write the below code In the scriptblock of invoke-command in the single line -
i have execute myexample.msi
on remote machine. below logic have tried msi executed , didn't show error:
invoke-command -computername computername -scriptblock { msiexec /i "myexample.msi" /q username="my username" password="my password" /log c:\karthik.txt }
so 1 please suggest.
Comments
Post a Comment