The environment class in ZTIUtiliy.vbs provides access to, and the ability to update, MDT properties. In Listing 20, oEnvironment.Item("Memory") is used to retrieve the amount of available RAM; this can also be used to retrieve the value of any of the properties described in the MDT document Toolkit Reference.

Related Topics

Understanding How to Leverage ZTIUtility