AzDanglingDomain.psm1

1
2
3
4
5
6
7
$script:moduleRoot = Split-Path -Path $MyInvocation.MyCommand.Path
# Dot source functions
"$script:moduleRoot\Export\*.ps1" | Resolve-Path | Where-Object { $_.ProviderPath -notlike "*Workflow*"} | ForEach-Object{. $_.ProviderPath}

"$script:moduleRoot\Export\*.ps1" | Resolve-Path | Where-Object { $_.BaseName -notlike "*Workflow*"} | ForEach-Object{ Export-ModuleMember -Function $_.BaseName -Verbose}