This script updates the Phase property to the next phase in the deployment process. The Task Sequencer uses these phases to determine the sequence in which each task must be completed. The Phase property includes the following values:

·     VALIDATION. Identify that the target computer is capable of running the scripts necessary to complete the deployment process.

·     STATECAPTURE. Save any user state migration data before deploying the new target operating system.

·     PREINSTALL. Complete any tasks that need to be done (such as creating new partitions) before the target operating system is deployed.

·      INSTALL. Install the target operating system on the target computer.

·     POSTINSTALL. Complete any tasks that need to be done before restoring the user state migration data. These tasks customize the target operating system before starting the target computer the first time after deployment (such as installing updates or adding drivers).

·     STATERESTORE. Restore the user state migration data saved during the State Capture Phase.

For more information about the Phase property, see the corresponding topic in Properties.

 

Value

Description

Input

Environment variables. Contains the property values, custom property values, database connections, deployment rules, and other information that the scripts require to complete the deployment process

Output

·     ZTINextPhase.log. Log file that contains events that this script generates

·     BDD.log. Log file that contains events that all MDT scripts generate

References

ZTIUtility.vbs. Includes support functions and subroutines that the script uses

Location

distribution\Scripts

Use

cscript ZTINextPhase.wsf </debug:value>

 

Arguments

Value

Description

/debug:value

Outputs the event messages to the console and to the .log files. If the value specified in value is:

·     TRUE, event messages are sent to the console and the .log files

·     FALSE, event messages are sent only to the .log files (This is the behavior when the argument is not provided.)

 

Properties

Name

Read

Write

DeploymentMethod

˜

 

Phase

˜

˜

 

Related Topics

Scripts