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