gritts

Stumped using the services UDF

1 post in this topic

I am attempting to use the services UDF located here: '?do=embed' frameborder='0' data-embedContent>> but seem to be drawing a blank when I attempt to use the "_Service_Enum" function.

When I use the code below, I get an empty array. Am I not facing true North when using it or is there something about my test script? I have tested the script below against my local desktop and a couple other systems on my network. Has this UDF been replaced by something newer / better?

My test script...

#include <Services.au3>
#include <array.au3>

$asvcs = _Service_Enum($SERVICE_WIN32,Default,Default,"MYREMOTESYSTEM")
_ArrayDisplay($asvcs)

Thank you in advance...

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now