TransitionManager.psm1
## Add required Class Type Libraries Add-Type -AssemblyName Microsoft.PowerShell.Commands.Utility ## Load all files in the lib directory $LibraryFiles = Get-ChildItem (Join-Path $PSScriptRoot 'lib') -Exclude 'Classes' | Get-ChildItem -Recurse -Force -File # For Each $Library File, load it foreach ($LibraryFile in $LibraryFiles) { . ($LibraryFile.FullName) } |