Relevance for LAN DOMAIN

(imported topic written by Darknight)

Hi,

Is tehre any possibilty by which TEM cabn retrive value of LAN Domain via relevance…values like : ORTHO, MDSINC , MDSEXCHANGEDR , PILS , AD.

Please advise.

(imported comment written by Darknight)

can sombody let me know how to extarct netbios name in windows and non windows system like linux , solaris,hp-ux , aix

(imported comment written by jgstew)

Look here:

http://support.bigfix.com/inspectors/World%20Objects_Any.html

Try these:

dns name

domain name

computer name

host name

(imported comment written by Darknight)

Thnaks jgstew for your usual support :slight_smile:

Can you please let me know if there is any driect relevance present for extracting netbios name of machine … which will be equivalent to LAN domain name.

(imported comment written by TJessee)

Omkar,

Here is a very handy relevance statement that you can run in QnA that will give you information on most queries that you might have

q:
properties

whose
(
it

as

string

contains

“netbios”
)

A:
netbios domainname of : string

A:
netbios domainname of : string

Hope this helps in the future

(imported comment written by Darknight)

thanks T Jessee for your help …the relevance which you have provided will give us the LAN Domain of machiens for which AD path is defined . Could you please let me know the simmilar relevane to get teh netbios name of those machiens who are not under Ad or AD is not defined or for them…

Thanks in advance

(imported comment written by Darknight)

I have used the below relevance on the machine where active directory is defined and got the required result :

q:
if

exists

(netbios domainname

of

local computer

of

active directory)

then

(netbios domainname

of

local computer

of

active directory)

else

(
""
)

A:
CGADMIN

T:
0.072 ms

but i have tried to run the same relevance on the machines where AD is not configured where i got the error :

operator ‘active directory’ is not defined

Can i change the relevance so that i should get a blank or none value where AD is not defined. Please assist.

(imported comment written by jgstew)

if

exists
(netbios domainnames
of
local computers
of
active directories)
then
(unique value
of
netbios domainnames
of
local computers
of
active directories)
else
(
""
)