ending Posted July 5, 2006 Share Posted July 5, 2006 This could have possibly been posted but the search function on these forums is quite horrid. I would like to grab a list of the local area computers. I looked in the beta functions but all I could find that was remotely similar was the IP to Name function, but I need to search for the IPs in order to use it. I need this to be able to do remote registry management. Thanks. Link to comment Share on other sites More sharing options...
neogia Posted July 5, 2006 Share Posted July 5, 2006 You can use $pid = Run("net view", "", 7) And parse the return using StdoutRead(). [u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia Link to comment Share on other sites More sharing options...
ending Posted July 5, 2006 Author Share Posted July 5, 2006 Thats a bit dirty, but I suppose it'll do. If anyone else knows another way please post up. Thanks neogia. Link to comment Share on other sites More sharing options...
ending Posted July 5, 2006 Author Share Posted July 5, 2006 (edited) Thats not working too well unless I'm doing stdoutread wrong. The output of net view looks as follows: Server Name Remark --------------------------------------- \\COMPUTER1 \\COPMUTER2 The stdoutread just retuns the Server Name Remark part and stops at the blank line. Edited July 5, 2006 by ending Link to comment Share on other sites More sharing options...
ending Posted July 5, 2006 Author Share Posted July 5, 2006 I got it. I didn't know you had to call it for each line of text. Thanks for your help neogia, this looks to be my only option. Link to comment Share on other sites More sharing options...
GaryFrost Posted July 5, 2006 Share Posted July 5, 2006 There are other ways of getting the information needed. 1 example is in my signature called admin tool. look in scripts and scraps there are other examples also. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
ending Posted July 5, 2006 Author Share Posted July 5, 2006 I'm at work now and the network is funky so I can't really view LAN computers (I'm at a public school) but I'll play with it when I get home. Thanks. 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