electricd7
asked on
I need help with a VBscript to query WMI and resturn system stats for multiple Windows OS
I have very little experience with WMI, but know that it is very powerful and can be used to return lots of information about a running system. I would like to create a VBscript that I can schedule to run which will write out system stats at run time about the system. The script needs to work on any windows version that supports WMI. The metrics I care about are as follows:
- Show OS Name and Version
- Show service pack level
- List HOSTNAME
- List CPU
- List CPU utilization
- Enumerate Network connections
- List IP Address
- List Subnet
- List Gateway
- List DNS
- DHCP/Static?
- List KB/in
- List KB/out
- Enumerate all volumes
- List drive letter and/or volume name
- List size
- List freespace
- Enumerate all mapped drives
- List drive letter
- List Total MEM size in MB
- List Available Mem in MB
- List running services
Has anyone written something like this that they can get me started on? I have one, but it doesn't work like it should and I am looking for help. Thanks in advance!
- Show OS Name and Version
- Show service pack level
- List HOSTNAME
- List CPU
- List CPU utilization
- Enumerate Network connections
- List IP Address
- List Subnet
- List Gateway
- List DNS
- DHCP/Static?
- List KB/in
- List KB/out
- Enumerate all volumes
- List drive letter and/or volume name
- List size
- List freespace
- Enumerate all mapped drives
- List drive letter
- List Total MEM size in MB
- List Available Mem in MB
- List running services
Has anyone written something like this that they can get me started on? I have one, but it doesn't work like it should and I am looking for help. Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK I got CPU now. Basically all I am missing is the ability to list all network adapters and their associated info.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER