Thursday, October 21, 2010

How to display system specifications of client system with the help of VB script ?

You can access and update various hardware settings using Windows Management Instrumentation.





Use the GetObject method to bind to WMI and then select the appropriate class or classes that represent the hardware. Examples include input devices, hard disks, expansion cards, video devices, networking devices, and system power.







This VBScript snippet will list each IRQ resource:





set WMI = GetObject(';WinMgmts:';)set objs = WMI.InstancesOf(';Win32_IRQResource';)for each obj in objs WScript.Echo obj.DescriptionNext



The link below shows a bunch of different things you can do and capture about a computer.

No comments:

Post a Comment