# DBAOps v2.0 Module Loader
$mp = Split-Path $MyInvocation.MyCommand.Path -Parent
Write-Host "Loading DBAOps v2.0..." -ForegroundColor Cyan
@("JBRhoylle.Pipeline.psm1","JBRhoylle.SchemaControl.psm1","JBRhoylle.DriftDetection.psm1","JBRhoylle.Alerting.psm1","JBRhoylle.PredictiveAnalytics.psm1") | % {
    if (Test-Path "$mp\$_") { Import-Module "$mp\$_" -Force -DisableNameChecking; Write-Host "  OK $_" -ForegroundColor Green }
}
Write-Host "DBAOps v2.0 Ready!" -ForegroundColor Green
