Practical 5

Task 5.1:  (Work in group of three at home if possible) Set up a home network environment so that the network settings meet all the requirements of performing the following tests:

  1. A) Get WMI of a remote computer by using “WbemTest”

  2. B) Automatically reboot a remote computer by using a script.

  3. C) Get the remote computer’s IP address and MAC address programmatically by using a script.


The following tasks need to be done on campus

Task 5.2:  Write a script that can check the free space of each logical driver on a local computer by using WMI.


Task 5.3: Write a script that can change password for a particular user (can be yours).


Task 5.4: Read carefully the following articles (you can search more if you wish) about the asynchronous operations and events monitoring (e.g. registry entry changes, cpu and memory usage, driver and adapter status, new process starts) in WMI Scripts. Write a short tutorial to summarise the key points (scripting steps and sample code) for making asynchronous calls from VBScript and events in WSH.