AKPT.psm1

Get-ChildItem "$PSScriptRoot\*.ps1" -Exclude *.Tests.ps1 |  ForEach-Object {
    . $_.FullName
}
"Modul AKPT geladen" | Write-Host -ForegroundColor Green

$MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = {
    "Modul AKPT wurde entladen." | Write-Host -ForegroundColor Red
}