Citrix.Workloads.Portability.psm1

$files = @("Auth.ps1", "CCRestMethod.ps1", "Log.ps1", "Start-IpsVsphereExportJob.ps1", "Start-IpsAzureExportJob.ps1", "Wait-IpsJob.ps1", "Start-IpsAzurePrepareJob.ps1", "Start-IpsGcpPrepareJob.ps1", "Get-IpsCredentials.ps1", "New-IpsCredentials.ps1", "Set-IpsCredentials.ps1", "Remove-IpsCredentials.ps1")

foreach ($file in $files) {
    $fullPath = "$PSScriptRoot\$file"
    try {
        . $fullPath
    }
    catch {
        Write-Error -Message "Failed to import $($fullPath): $_"
    }                    
}