Creating Module

This commit is contained in:
Torsten Brendgen
2026-04-21 13:02:51 +02:00
parent 7c9b854aec
commit e10ab48bb4
14 changed files with 493 additions and 321 deletions

View File

@@ -0,0 +1,13 @@
$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"
)