ALOps.Core.psm1

# Get-Item $PSScriptRoot | Get-ChildItem -Recurse -Filter '*.ps1' |
# Where-Object FullName -NotLike '*Tests.ps1' |
# Where-Object FullName -NotLike '*_config.ps1' |
# Where-Object FullName -NotLike '*_dependencies.ps1' |
# Where-Object Name -NotLike '_*.ps1' |
# Sort-Object Name | ForEach-Object {
# Write-Verbose "Loading $($_.Name)"
# . $_.fullname
# }

# if (Test-Path $PSScriptRoot\_config.ps1) {
# . $PSScriptRoot\_config.ps1
# }

## Load ALops Dll
#Write-Host "Import [ALOps.Core.dll]"
#Import-Module "ALOps.Core.dll" -DisableNameChecking
$ALOpsCoreDLL = Get-Item -Path "$PSScriptRoot\ALOps.Core.dll"
#Add-Type -Path $ALOpsCoreDLL.FullName
Import-Module $ALOpsCoreDLL.FullName
Write-Host "$((get-module -Name ALOps.Core).ExportedCommands | out-string)"

Export-ModuleMember -Function * -Variable *

# if (Test-Path $PSScriptRoot\_dependencies.ps1) {
# . $PSScriptRoot\_dependencies.ps1
# }