Updated: November 1, 2013
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
Use CreateMedia.exe binary to create media from the command-line or through a script that was implemented by System Center 2012 R2 Configuration Manager Operating System Deployment.
- Install the administrator console on the computer used to create media from the command-line or a script.
- Run CreateMedia.exe with required parameters from the folder: %SMS_ADMIN_UI_PATH%
- All content referenced by the selected type of media needs to be on one of the distribution points identified on the command-line. Examples are: boot image package, operating system image package, software packages, drivers or applications referenced by the task sequence, or a pre-execution package used during media execution.
CreateMedia.exe /K:full /P:<FQDN of Configuration Manager Provider> /S:<Configuration Manager site code> /D:<FQDN of one or more distribution points> /L:<Media Text Label> /A:<ID of task sequence> /Z:False /T:<Media Type> /F:<Destination of media file>