14 lines
500 B
PowerShell
14 lines
500 B
PowerShell
$PrivatePath = Join-Path -Path $PSScriptRoot -ChildPath "Private"
|
|
$PublicPath = Join-Path -Path $PSScriptRoot -ChildPath "Public"
|
|
|
|
$Private = @(Get-ChildItem -Path $PrivatePath -Filter "*.ps1" -File -ErrorAction Stop | Sort-Object -Property FullName)
|
|
$Public = @(Get-ChildItem -Path $PublicPath -Filter "*.ps1" -File -ErrorAction Stop | Sort-Object -Property FullName)
|
|
|
|
foreach($File in @($Private + $Public)){
|
|
. $File.FullName
|
|
}
|
|
|
|
Export-ModuleMember -Function @(
|
|
"Merge-ConfigurationData"
|
|
)
|