Home All Groups Group Topic Archive Search About

How to get user name using the computer by computer name?



Author
10 Aug 2005 12:22 AM
James Pang
--
Tech Servant James Pang.

Author
10 Aug 2005 1:51 AM
Marty List
"James Pang" <news.microsoft.com> wrote in message
news:OL0DbEUnFHA.3900@TK2MSFTNGP09.phx.gbl...
>
>
> --
> Tech Servant James Pang.


The question you asked in the subject line is not very clear.  If you want
to use WMI, try the Win32_LogonSession class:
http://www.microsoft.com/technet/scriptcenter/scripts/desktop/logon/default.mspx
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_logonsession.asp

Also, try my freeware utility NetUsers.exe:
http://www.optimumx.com/download/
Author
10 Aug 2005 7:15 AM
James Pang
thank you!that is what I need.

How do you find it by google?
what the keyword you are using?

--
Tech Servant James Pang.
Show quote
"Marty List" <use***@optimumx.com> дÈëÏûÏ¢ÐÂÎÅ:uZASS4UnFHA.3***@tk2msftngp13.phx.gbl...
>
> "James Pang" <news.microsoft.com> wrote in message
> news:OL0DbEUnFHA.3900@TK2MSFTNGP09.phx.gbl...
>>
>>
>> --
>> Tech Servant James Pang.
>
>
> The question you asked in the subject line is not very clear.  If you want
> to use WMI, try the Win32_LogonSession class:
> http://www.microsoft.com/technet/scriptcenter/scripts/desktop/logon/default.mspx
> http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_logonsession.asp
>
> Also, try my freeware utility NetUsers.exe:
> http://www.optimumx.com/download/
>
>
>
Author
10 Aug 2005 1:51 PM
Torgeir Bakken (MVP)
James Pang wrote:

> thank you!that is what I need.
>
> How do you find it by google?
> what the keyword you are using?
>
Hi,

You might want to take a look at this thread:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.scripting.vbscript&tid=34c88f48-6a9a-44c7-9d5a-f81dc0001dc3&cat=en_US_77cc2b3a-7e85-465b-b86b-baa6c3e5b407&lang=en&cr=US&sloc=en-us&m=1&p=1


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

AddThis Social Bookmark Button