Re: Get List of window PC's in the network
Re: Get List of window PC's in the network
- Subject: Re: Get List of window PC's in the network
- From: "Knight, William H. (NIH/OD) [C]" <email@hidden>
- Date: Wed, 11 Mar 2009 11:07:15 -0400
- Acceptlanguage: en-US
- Thread-topic: Get List of window PC's in the network
You could use a command line tool like nmap to scan every host on the subnet...based on its scans, it returns what it thinks the OS of each host is... Its not perfect, but it is relatively accurate. I've piped its output into other commands like grep and awk to pull the specific info such as OS version & hostname.
-William
________________________________
From: Jakob Peterhänsel <email@hidden>
Date: Wed, 11 Mar 2009 10:51:14 -0400
To: AppleScript ML <email@hidden>
Subject: Re: Get List of window PC's in the network
Well,
Your aproach would then be:
Get list of all IP's that responds on your network
Test those to see if they are a Windows box.
The last part might be thet hard part, as you have no 100% sure way, unless you know the config of the boxes... :-/
Hope it helps,
Jakob Peterhänsel
"Be a part of the Love Generation - carry a smile, not a gun."
- JP, May 2006
Email: email@hidden
AIM: Marook
Phone: +45 30787715
On 11/03/2009, at 11.47, Sutapalli Satyanarayana wrote:
Hi Brian,
My intention is to get the ip address/domain name of all windows based PC's in my intranet.
From my Mac, I have not connected to any of the windows machines. I have to get the list from my network.
Regards
--Satyam.
Thanks & Regards,
SVV Satyanarayana,
Novell IDC, Bangalore.
Mobile: 9886555469
Office: +91 80 40022671
>>> Brian Christmas <email@hidden> 3/11/2009 3:26 PM >>>
G'day Sutapalli
I don't have a windows server to try this on, but you can use this simple script to check all mounted disks.
Perhaps check the format to isolate all windows disks.
set f to {}
tell application "Finder"
set temp to properties of disks
repeat with x in temp
set end of f to format of x
end repeat
end tell
f
Regards
Santa
On 11/03/2009, at 7:52 PM, Sutapalli Satyanarayana wrote:
Hi
My Mac is connected to few more windows PC's.
I want to get the list of windows machines around me using script. If possible if I can get the list of fully qualified domain names of the window pc's it will be good.
Looking forward for your help if possible.
--Satyam.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden