Lab 39 Importing the Metabase

In this lab, you will import the metabase that was exported in Lab 38.

Lab Instructions

  1. Open Notepad.exe.

  2. On the top of a blank page, set Option Explicit.

  3. Save your file as Lab39Solution.vbs.

  4. Declare the following variables: strPassword, strFilePath, strMetabasePath, intFlags, locatorObj, providerObj, and computerObj. Your completed Header information section will look like the following:

    Option Explicit
    Dim strPassword
    Dim strFilePath
    Dim strSourceMetabasePath
    Dim strDestinationMetabasePath
    Dim intFlags
    Dim locatorObj
    Dim providerObj
    Dim computerObj
  5. Create four constants to control the import behavior. CONST IMPORT_CHILDREN = 0 recursively imports the subkeys of the specified key; CONST IMPORT_INHERITED =1 imports the inherited ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.