Jump to content

Networking Functions Help Plz


Recommended Posts

Hello,

This is my 2nd post, just to say I'm still nOOb here :">

I would like to know if au3 allows to realize these functions remotely:

@LogonDNSDomain

@LogonDomain

@OSVersion

...

I built that little script (test):

$IPRANGE1 = "192.168.1."

$IPEND1 = "15"

$i = 1

$PINGIT = Ping(($IPRANGE1 & $i),100)

Do

Ping(($IPRANGE1 & $i),100)

If @error = 0 Then

FileWrite("testping.txt", ($IPRANGE1 & $i & @CRLF))

$i = $i + 1

Else

$i = $i + 1

EndIf

Until $i = $IPEND1

MsgBox(0,"Status","Over!")

And would like to implement @LogonDNSDomain... On the reachable computers (then add infos in the txt file).

Is it possible or are these commands only available for the local pc where script has been launched?

Thx per advance :)

Link to comment
Share on other sites

These macros are assosiated with the computer the script is running on. If you want to do remote stuff take a look at pstools at systeminternals.

If you have a script running on the remote computer. And the scripts are listening to a TCP/IP port you deside the comunication protocol and what the script will respon to or send back.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...