Identify remote windows server from shell script

view full story

http://unix.stackexchange.com – I need a way to Identify a windows SBS server, I have a script that mounts a file share on a SBS server, I need the script to positivity identify the server before mounting. It doesn't need to be secure, My setup is like this : My machine is on, the server is on, Because were on different subnets I cannot simply check the arp table for the machines mac address. running Nmap against the server reveals these open ports Starting Nmap 6.00 ( http://nmap.org ) at 2012-08-01 09:01 BST Nmap scan report for host.somewhere.local ( Host is up (0.12s latency). Not (HowTos)