get a remote machines "LOGONSERVER" variable?

E

emebohw

How can I get a remote machines "LOGONSERVER" variable? I know how to
get it via WSH, but I think WSH actions have to be local so I am
wondering how to do it remotely.
 
P

Peter Falz

Hi ???,

How can I get a remote machines "LOGONSERVER" variable? I know how to
get it via WSH, but I think WSH actions have to be local so I am
wondering how to do it remotely.

in WMI-Namespace "CIMV2" exists a class named
"Win32_NetworkLoginProfile" which has a property
named "LogonServer".

Take a look at:
http://msdn.microsoft.com/library/d...n-us/wmisdk/wmi/win32_networkloginprofile.asp

also you can take a look at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsconwshwmi.asp

HTH

Bye
Peter
 
P

Peter Falz

Hi ???,

I did run across that example, but it does not seem to work, returns
null.

i've tested this with CIM_Studio on W2K3-Server (DC) and
i've gotten some instances and for one instance, "DOMAIN/Adminstrator",
i've gotten "\\*" as content in this property.

I don't know what this content means, but it is not NULL ;-).

Maybe there is another one in the NG, who knows about this.
Maybe ADSI delivers more information.

Bye
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top