Searched refs:askadmin (Results 1 – 1 of 1) sorted by relevance
611 def pcap_service_control(action, askadmin=True): argument616 stdout = POWERSHELL_PROCESS.query([_encapsulate_admin(command) if askadmin else command])619 def pcap_service_start(askadmin=True): argument621 return pcap_service_control('Start-Service', askadmin=askadmin)623 def pcap_service_stop(askadmin=True): argument625 return pcap_service_control('Stop-Service', askadmin=askadmin) 666 succeed = pcap_service_start(askadmin=conf.interactive)