|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Script Needed
Hey Everyone,
I was wondering if anyone could help me out. I have a few hundred PC's that I need to get info from (UPGRADE PROJECT). The things I need from each PC are as follows: Computer Name Domain Name Username Processor SPEED Ram AMOUNT HD SIZE I have no skills whatsoever with scripts but I figured the best way was to have each user run a script that will give them that info. Any Idea's?? The following (VB) script gives me some info I need but none of the hardware: Dim Message Set WshShell = WScript.CreateObject("WScript.Shell") Set WshEnv = WshShell.Environment("Process") Message = "You are logged onto DOMAIN: " & WshEnv("USERDOMAIN") & vbCr Message = Message & "Your USERNAME is: " & WshEnv("USERNAME") & vbCr Message = Message & "Your COMPUTERNAME is: " & WshEnv("COMPUTERNAME") & vbCr Message = Message & "Your USERPROFILE can be found at: " & WshEnv("USERPROFILE") & vbCr If WshEnv("LOGONSERVER") <> "" Then Message = Message & "Your LOGONSERVER is: " & WshEnv("LOGONSERVER") & vbCr End If If WshEnv("NWUSERNAME") <> "" Then Message = Message & "Your Novell USERNAME is: " & WshEnv("NWUSERNAME") End If Message = Message & vbCr & vbCr & "Click OK to close this dialog." MsgBox Message If anyone can help me out please let me know Bobby115@aol.com |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Script Needed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|