This script ensures that it is safe for the deployment to continue by validating the condition of the target computer. The script processes are:

·     If DeploymentType equals REFRESH and the target computer is a server, the script exits.

·     If OSInstall exists and is not equal to YES, the script exits.

·     Verify that the minimum amount of RAM exists on the target computer; if not, the script exits.

·     Verify that the processor meets the minimum required speed; if not, the script exits.

·     Verify that the hard disk size meets the minimum size requirements; if not, the script exits.

·     Verify that the target computer’s operating system is installed on drive C; if not, the script exits.

·     If DeploymentType = REFRESH, verify that drive C is not compressed by running Compact /u C:\.

 

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

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

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

References

·     Compact.exe. Displays or alters the compression of files on NTFS file system partitions

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

Location

distribution\Scripts

Use

cscript ZTIValidate.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

DeploymentType

˜

 

DestinationLogicalDrive

˜

˜

ImageBuild

˜

 

ImageMemory

˜

 

ImageProcessorSpeed

˜

 

ImageSize

˜

 

ImageSizeMultiplier

˜

 

IsServerOS

˜

 

Memory

˜

 

OSDPackagePath

˜

 

OSInstall

˜

 

ProcessorSpeed

˜

 

SMSTSLocalDataDrive

 

˜

VerifyOS

˜

 

 

Related Topics

Scripts