Practical 7

Task 7.1 Write a VBScript to check the domain name, computer name, group names and user name in the system you log on by using ADSI.


Task 7.2 Create five new user accounts. Set their properties, include descriptions, password, MinPasswordLength and MaxPasswordAge. Dump them after you have successfully created them. All the operations much be done programmatically by using ADSI.


Task 7.3  Type in LISTING 28.2 in textbook (page 464, online book available. Do not copy and paste). Read the code carefully and try to run it. If you cannot run it on your computer, please explain the reasons.


Task 7.4 You have performed a number of system administration tasks using VBScript and WSH, WMI, FSO, ADSI, CDO components. You can now compare the major role each component plays and summarise the scripting steps of their usage.