Ajout dela structure MDT dans Infra-LAB
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<job id="ZTIConnect">
|
||||
<script language="VBScript" src="ZTIUtility.vbs"/>
|
||||
<script language="VBScript">
|
||||
|
||||
' // ***************************************************************************
|
||||
' //
|
||||
' // Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
' //
|
||||
' // Microsoft Deployment Toolkit Solution Accelerator
|
||||
' //
|
||||
' // File: ZTIErrorMsg.wsf
|
||||
' //
|
||||
' // Version: 6.3.8456.1000
|
||||
' //
|
||||
' // Purpose: Report an error when the ConfigMgr task sequence fails
|
||||
' //
|
||||
' // Usage: cscript ZTIErrorMsg.wsf [/debug:true]
|
||||
' //
|
||||
' // ***************************************************************************
|
||||
|
||||
Dim retVal
|
||||
|
||||
|
||||
' Do not use a standard class because that would generate other events after this one
|
||||
|
||||
retVal = oEnvironment.Item("ErrorReturnCode")
|
||||
oLogging.CreateEvent 41014, LogTypeError, "ZTI deployment failed, Return Code = " & PrnErrValue (retVal), Array(retVal)
|
||||
WScript.Quit retVal
|
||||
|
||||
</script>
|
||||
</job>
|
||||
Reference in New Issue
Block a user