How to Use the Zscript "-define" Parameter to Control Management Agents at Run-Time (297884)
The information in this article applies to:
- Microsoft Metadirectory Services 2.1
- Microsoft Metadirectory Services 2.2
- Microsoft Metadirectory Services 2.2 SP1
This article was previously published under Q297884 SUMMARY
When you use the -define parameter in the Zscript command line, you can accommodate different run-time conditions by use of a single Microsoft Metadirectory Services Management Agent (MA). Generally, a parameter that is sent to the originating .cmd file sets one or more variables on the Zscript command line. These variables are then used in the Mascript.scr template to configure attribute values at run-time that are referenced by the Cdir_AD.dll file if the computer is running the Active Directory MA, or by IMPORTT (if the computer is running a standard MA).
Modification Type: | Minor | Last Reviewed: | 1/18/2006 |
---|
Keywords: | kbenv kbhowto KB297884 |
---|
|