After experiencing a lot of down time, We decided to move this site to
CrystalTech.com. CrystalTech.com is powered by only the finest Windows servers providing the best performance, reliability, and value anywhere.
How to get Local machine name using vbscript
|
Author |
Message
|
adibalaji
-
Total Posts
:
2
- Scores: 0
-
Reward points
:
0
- Joined: 8/25/2008
-
Status: offline
|
How to get Local machine name using vbscript
Monday, August 25, 2008 11:01 PM
( permalink)
How to ge the local machine name to a variable using vbscript. WMI Script is not working as a vbscript in the web page. Can any one say me haw to create object to wscript.network in vbscript
|
|
|
|
centauricw
-
Total Posts
:
42
- Scores: 2
-
Reward points
:
0
- Joined: 2/20/2006
-
Status: offline
|
Re: How to get Local machine name using vbscript
Monday, November 16, 2009 4:57 AM
( permalink)
Assuming you want the server's local machine name, you can pull it from the environment variable COMPUTERNAME. If you want the client's machine name (the one browsing the page), then you need to use JavaScript.
|
|
|
|
ginolard
-
Total Posts
:
1347
- Scores: 23
-
Reward points
:
0
- Joined: 8/11/2005
-
Status: offline
|
Re: How to get Local machine name using vbscript
Sunday, November 22, 2009 12:02 AM
( permalink)
If this is ASP.NET what's wrong with System.Environment.MachineName??
|
|
|
|
Online Bookmarks Sharing: