Lab 39 Importing the Metabase
In this lab, you will import the metabase that was exported in Lab 38.
Lab Instructions
Open Notepad.exe.
On the top of a blank page, set Option Explicit.
Save your file as Lab39Solution.vbs.
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
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.