Sign in to follow this  
Followers 0
friends

Is this possible ?

3 posts in this topic

#1 ·  Posted (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 by friends

Share this post


Link to post
Share on other sites



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....

<{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)

Share this post


Link to post
Share on other sites

thanks for the tip..... i'll try it out !

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
Sign in to follow this  
Followers 0