pranaynanda Posted March 30, 2016 Share Posted March 30, 2016 How do I get windows services in an array in AutoIt and then sort them by their status as Running or Stopped? I wish to do something equivalent to this in Powershell: Get-WmiObject -Class win32_service -computer "." -Namespace "root\cimv2" | format-list Name, State I couldn't find any function to that in AutoIt. Link to comment Share on other sites More sharing options...
willichan Posted March 31, 2016 Share Posted March 31, 2016 You can use the Scriptomatic script to help generate sample WMI code for Autoit. \path\to\AutoIt3\Examples\COM\Scriptomatic.au3 My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now