ConvertMethods.ps1
# # Citrix IPS convert image to UEFI job support # function Format-ConvertData([string]$Platform, [hashtable]$Parameters, [bool]$Verbose=$False) { $convertData = Format-JobData -Platform $Platform -Parameters $Parameters -Verbose $Verbose Set-SmbInputLocation -Parameters $Parameters -JobData $convertData -Verbose $Verbose $convertData['inputImageFilename'] = Get-SmbParameter -Parameters $Parameters -SmbConfigNode $SmbSectionName -ParameterName 'SmbDiskName' -Verbose $Verbose $convertData['inputImageFormat'] = Get-SmbParameter -Parameters $Parameters -SmbConfigNode $SmbSectionName -ParameterName 'SmbDiskFormat' -Verbose $Verbose $convertData['outputImageFilename'] = Get-SmbParameter -Parameters $Parameters -SmbConfigNode $SmbSectionName -ParameterName 'SmbOutputDiskName' -Verbose $Verbose return $convertData } |