Citrix.Workloads.Portability.psm1
$files = @("Auth.ps1", "CCRestMethod.ps1", "Log.ps1", "Start-IpsAwsPrepareJob.ps1", "Start-IpsVsphereExportJob.ps1", "Start-IpsVspherePrepareJob.ps1", "Start-IpsVsphereReverseImageJob.ps1", "Start-IpsAhvExportJob.ps1", "Start-IpsAzureExportJob.ps1", "Start-IpsGcpExportJob.ps1", "Get-IpsJob.ps1", "Wait-IpsJob.ps1", "Start-IpsAzurePrepareJob.ps1", "Start-IpsAzurePrepareAndPublishJob.ps1", "Start-IpsGcpPrepareAndPublishJob", "Start-IpsGcpPrepareJob.ps1", "Start-IpsXenExportJob.ps1", "Get-IpsCredentials.ps1", "New-IpsCredentials.ps1", "Set-IpsCredentials.ps1", "Remove-IpsCredentials.ps1", "New-IpsAwsImage.ps1") foreach ($file in $files) { $fullPath = "$PSScriptRoot\$file" try { . $fullPath } catch { Write-Error -Message "Failed to import $($fullPath): $_" } } |