SqlSpnManager.psm1

# =============================================================================
# Script : SqlSpnManager.psm1
# Author : Keith Ramsey
# =============================================================================
# Change Log
# -----------------------------------------------------------------------------
# 2026-05-08 Keith Ramsey Phase 0 reconciliation: thin loader replaces
# inline functions; per-function files in Public\
# and Private\.
# =============================================================================

Get-ChildItem -Path (Join-Path $PSScriptRoot 'Private') -Filter '*.ps1' -File -ErrorAction SilentlyContinue |
    Sort-Object Name |
    ForEach-Object { . $_.FullName }

Get-ChildItem -Path (Join-Path $PSScriptRoot 'Public') -Filter '*.ps1' -File -ErrorAction SilentlyContinue |
    Sort-Object Name |
    ForEach-Object { . $_.FullName }

Export-ModuleMember -Function @(
    'Add-SqlSpn',
    'Assert-SqlAccountStandard',
    'Export-SqlSpnRegistrationScript',
    'Get-SqlSpnAccount',
    'Get-SqlSpnDiscoveryEngine',
    'Get-SqlSpnInfrastructure',
    'Invoke-SqlSpnExecutionEngine',
    'New-SqlSpnPlan',
    'Remove-SqlSpn',
    'Show-SqlSpnDiagnostic',
    'Start-SqlSpnConfiguration',
    'Start-SqlSpnManager',
    'Test-SqlSpnPlan'
)