Convert-CcIsoToVhdx

Skype for Business Server 2015
 

마지막으로 수정된 항목: 2017-03-31

The Convert-CcIsoToVhdx cmdlet creates a base virtual hard disk file (VHDX) using a customer supplied Windows Server 2012 R2 ISO file. The VHDX file will be used during the deployment of Skype for Business Cloud Connector Edition.

Convert-CcIsoToVhdx [[-IsoFilePath] <string>] [-GeneralizeOnly] [-PauseBeforeUpdate]

 

Parameter Required Type Description

IsoFilePath 

 Required

System.String  

 The path to the Windows Server 2012 R2 ISO file.

GeneralizeOnly

Optional

System.Management.Automation.SwitchParameter

If the conversion process fails during Windows update, you can try to configure a network/proxy and update Windows manually. After the manual work is done, you can run this cmdlet with the -GeneralizeOnly parameter and it will complete the remaining jobs.

PauseBeforeUpdate

Optional

System.Management.Automation.SwitchParameter

To update Windows, some manual network/proxy configuration on the base VM might be necessary. The conversion process will pause before Windows update if this parameter is provided. After the manual configuration is done, you can resume the process.

The following example prepares the base VHDX file using a Windows Server 2012 R2 ISO file located at "C:\Windows_Server_2012_R2-EN-US-x64.ISO":

Convert-CcIsoToVhdx -IsoFilePath "C:\Windows_Server_2012_R2-EN-US-x64.ISO" 

If the Convert-CcIsoToVhdx cmdlet fails during Windows update, it’s probably because of incorrect network/proxy configuration. You can follow the instructions in the error message and log on to the base virtual machine to fix the issue and update Windows manually. After the manual work is done, run the cmdlet again with the -GeneralizeOnly parameter to complete the remaining jobs:

Convert-CcIsoToVhdx -IsoFilePath "C:\Windows_Server_2012_R2-EN-US-x64.ISO" -GeneralizeOnly

If manual configuration is necessary to update Windows, you can use the -PauseBeforeUpdate parameter. With this parameter, UNRESOLVED_TOKEN_VAL(CloudConnector_shortest) will pause before the Windows update process. You can then complete the manual configuration and resume the conversion process as follows:

Convert-CcIsoToVhdx -IsoFilePath "C:\Windows_Server_2012_R2-EN-US-x64.ISO" -PauseBeforeUpdate 

The Convert-CcIsoToVhdx cmdlet creates a base VM first, installs some basic components that UNRESOLVED_TOKEN_VAL(CloudConnector_shortest) depends on, and then installs Windows updates. Finally, it generalizes the virtual machine (sysprep) to get a base VHDX file that will be used by the virtual machines of a UNRESOLVED_TOKEN_VAL(CloudConnector_shortest) appliance.

None. The Convert-CcIsoToVhdx cmdlet does not accept pipelined input.

 
표시: