Salt run.cmd
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