WinPE Imaging Scripts are used for scripting actions in WinPE environment on workstations or servers.
To configure WinPE Imaging Script bundle and assign devices to the bundle:
In ZENworks Control Center, click Bundles in the left pane to display the Bundles panel.
Click New > Bundle to start the Create New Bundle Wizard.
Select Preboot Bundle, then click Next.
On the Select Bundle Category page, select WinPE Imaging Script, then click Next to display the Define Details page.
Fill in the fields:
Bundle Name: (Required) Although bundles can be identified in ZENworks Control Center by their type of icon, as well as the folder they are listed under, you should develop a naming scheme that differentiates the WinPE Imaging Script bundles that are listed together in a folder.
For more information, see Naming Conventions in ZENworks Control Center
in the ZENworks Control Center Reference.
Folder: Browse for the location where you want the WinPE Imaging Script bundle displayed in ZENworks Control Center. The folder must exist. You cannot specify a non-existent folder, because ZENworks does not create them from this wizard.
Icon: Browse for and select an icon if you plan to use one on your desktop for this bundle.
Description: Provide a description to help you later recognize the exact purpose of this WinPE Imaging Script bundle.
Click Next to display the WinPE Imaging Script page.
Fill in the fields:
Script Type: The following five types of scripts are supported:
Batch script
JScript
VB script
Windows script file
HTML application
PowerShell Script
Script Text: Specify the text of the script. The script is restricted to doing preboot work prior to the device booting. The script must contain only un-formatted text. Maximum length of the script text is 32000 characters.
Click Next to display the Summary page.
Do the following:
If you want to perform other configuration tasks after the bundle has been created, select the Define Additional Properties check box.
For example, you can make assignments to the bundle in the Relationships tab, add actions in the Actions tab, and so on.
If you want to deploy the bundle as a sandbox version, select the Create As Sandbox check box. A sandbox version of a bundle enables you to test it on your device before actually deploying it.
Review the configuration, then click one of the following:
Back: Allows you to make changes after reviewing the summary.
Finish: Creates the WinPE Imaging Script bundle as configured per the settings listed on this Summary page.
In WinPE Maintenance mode: On querying for work from the Novell ZENworks Third-Party Imaging utility, the script is downloaded with the WinScript<file number>.<ext> file name, where ext is the type of the script. You need to execute this script in the command prompt.
In WinPE Auto mode: The script is downloaded and executed.
The ISD tool enables you to view the Image Safe Data of the device in the WinPE distro. In the WinPE command prompt, execute the following command:
ISDTool.exe d