Jump to content

Is this possible ?


friends
 Share

Recommended Posts

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
Link to comment
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)
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...