Salt run.cmd

From UVOO Tech Wiki
Jump to navigation Jump to search
sudo salt -C 'G@os:Windows and myhost*' cmd.run '(stop-service -name sumo-collector)' shell=powershell
sudo salt -C 'G@os:Windows and myhost*' cmd.run '(get-service -name sumo-collector)' shell=powershell
udo salt -C 'G@os:Windows' cmd.run '(ps | findstr my_process_name)' shell=powershell