Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Using Salt Stack, how does one remotely start a Windows program on the console screen?

In other words, from my Salt Master (CentOS based), I want to push this sort of command to Windows 7 (with Salt Minion) and have VLC automatically start. e.g. from *nix shell

salt 'Win7-laptop' cmd.run '""C:\Program Files (x86)\videolan\vlc.exe"'

Is there a certain command or switch that I must run? Or do I need to use something like psexec or Powershell?

share|improve this question

1 Answer 1

Maybe use Invoke-Expression Runs commands or expressions on the local computer.

share|improve this answer
1  
Instead of just posting a link and one sentence, please give more context, some examples, etc. –  slhck Nov 3 at 13:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.