Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please Help : WSH (use JScript)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Dear sir,

** WSH **
A. Now I install Windows Script Host 5.6 on all computer in my domain. That my domain have two Windows OS (Windows 98 and Windows 2000 Professional). So I want to use script (*.wsf by jscript) for check ....
1 - Date Run Script => I can do it
2 - Computer Name => I can do it
3 - User Name (that time) => I can do it
4 - Domain Name => I can do it

= Begins ... I can't do it. Please help me too. =
5 - Size of Physical Harddisk (Total size of all Logical Drives)
6 - Size of RAM
7 - IP Address
8 - Version of Windows OS
9 - List Software on Add/Remove Program (in control panel of windows)

By I want to write all information to <ComputerName>.txt. So I have some problem about script. I can't write script for get 5,6,7,8,9 informations (Size of Physical Harddisk, Size of RAM, IP Address, Version of Windows OS and List Software on Add/Remove Program). Please advise me too.


** MSInfo32 **
B. If we don't have solution about above problem. If I want to get information of all computer in domain (Both Windows OS). And it must report to text files. By I use command &quot;msinfo32 /category [System Summary] /report computername.txt&quot; in scripts. That it can work only windows 2000 Professional. And I need &quot;System Summary Information&quot; only that it will write all information to text files. It used a long run time that I don't need all.
- How can I do on Windows 98 SE by script/command?
- How can I get only [System Summary] Information on text files (Both Windows OS) by script?

Thanks for your help,
K ^o^ B




** Example Results **

/* Begin results by my scripts about MSInfo32 */

System Information report written at: 22/10/2001 16:50:29
[System Information]

[ Following are sub-categories of this main category ]

[System Summary] ============> I need this subject only (Both Windows OS).

Item Value
OS Name Microsoft Windows 2000 Professional
Version 5.0.2195 Service Pack 2 Build 2195
OS Manufacturer Microsoft Corporation
....

[Hardware Resources]

[ Following are sub-categories of this main category ]

[Conflicts/Sharing]

Resource Device
IRQ 11 Intel(r) 82801AA USB Universal Host Controller
.....

[DMA]

Channel Device Status
4 Direct memory access controller OK
......

/* End example results */
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top