friends Posted October 15, 2004 Share Posted October 15, 2004 (edited) Hi all. I'm running in a LAN environment, where there are many different of Workgroups. And, each workgroup has several PCs. I only want to retrieve a certain workgroup's PCs IP Addresses. For example, a workgroup named "MIS", and there are 2 PCs in this "MIS" Workgroup. Is it possible to obtain these 2 PCs IP Address by searching Workgroup first, then only retrieve these 2 PC's IP Address ? I'm running Windows XP Professional edition. Please help and advise. Thanks.... Edited October 15, 2004 by friends Link to comment Share on other sites More sharing options...
Josbe Posted October 15, 2004 Share Posted October 15, 2004 Hi all.I'm running in a LAN environment, where there are many different ofWorkgroups. And, each workgroup has several PCs.I only want to retrieve a certain workgroup's PCs IP Addresses. For example, a workgroup named "MIS", and there are 2 PCs in this"MIS" Workgroup.Is it possible to obtain these 2 PCs IP Address by searching Workgroupfirst, then only retrieve these 2 PC's IP Address ? I'm running Windows XP Professional edition.Please help and advise. Thanks....<{POST_SNAPBACK}>A tip...maybe you could obtain those names, doing this:$wGroup= "MIS" $output= "output.txt" RunWait(@ComSpec & ' /c net view /domain:' & $wGroup & ' > ' & $output , '', @SW_HIDE)(Untested) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
friends Posted October 15, 2004 Author Share Posted October 15, 2004 thanks for the tip..... i'll try it out ! 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