I am trying to get the NetBios name from a fully qualified Domain Name...
the user inputs the FQDN and i convert to NetBios name for
eg xyz.test.com (this is just an example, the FQDN an be anything)
to its NetBios (i am not sure if it is called NetBios please feel free to correct me) name 'xyz'.
is there a way to do this..??
thanks
understanding part??
I am a bit confused with the terms...
we have clients with different FQDNs like xyz.test.com or int.hdsh.local and so on..
i need to get the domain name out of these so i can form domain\username
so the above examples look like xyz\username and hdsh\username..
as we can see the 2nd FQDN has 2nd part as domain.
so i need help is figuring out which is the domain within a FQDN.