Friday, November 6, 2015

Run an aplication or command on a remote computer

To install an application copy the setup file and then open a cmd and type :

wmic /node:computername /user:username /password:mypassword product call install true, "","\\computername\Users\Public\a.msi"

wmic /node:computername baseboard get product,manufacturer

wmic /node:computername ...

To run a cmd app with admin rights type in cmd :
runas /user:username cmd
 

No comments:

Post a Comment