Home
|
Contact Us
|
FAQ
|
Search & Site Map
|
Link to Us
Sign In
|
Join
|
Other 45 Sites in Network
Home
Discussion Groups
Windows Server 2003
Windows 2000
Windows NT
Small Business Server
Virtual Server
Exchange Server
IIS
Host Integration Server
ISA Server
SMS
WSUS
MOM
Windows Media Server
Security
Certification
Related Topics
SQL Server
MS Windows
MS Office
PC Hardware
More Topics ...
Windows Server Forum
/
Windows 2000
/
Terminal Services
/
July 2005
Tip:
Looking for answers? Try searching our database.
retrieve client name
Thread view:
Tree View
List View (postings sorted by date)
Single Message View
Enable EMail Alerts
Start New Thread
Thread rating:
Bertrand
- 27 Jul 2005 17:05 GMT
hi
i'am looking for a vbs script which retrieve the computer client name
connected in a session.
any idea ?
thanks
Reply to this Message
Rickard(Riwe)
- 27 Jul 2005 17:38 GMT
The following script should work:
Dim WSHNetwork
Dim strWorkstation
Set WshNetwork = CreateObject("WScript.Network")
Set WshShell = WScript.CreateObject("WScript.Shell")
Set objEnv = WshShell.Environment("Volatile")
strWorkstation = objEnv("CLIENTNAME")
wscript.echo (strWorkstation)
Rickard
> hi
>
[quoted text clipped - 4 lines]
>
> thanks
Reply to this Message
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage
Start New Thread
Enable EMail Alerts
Rate this Thread
©2009 Advenet LLC
Privacy Policy
-
Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.