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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -