AdminToolbox.FileManagement.psm1
##Import Functions $FunctionPathPublic = $PSScriptRoot + "\Public\" $FunctionPathPrivate = $PSScriptRoot + "\Private\" $FunctionListPublic = Get-ChildItem $FunctionPathPublic -Name $FunctionListPrivate = Get-ChildItem $FunctionPathPrivate -Name ForEach ($Function in $FunctionListPublic) { . ($FunctionPathPublic + $Function) } ForEach ($Function in $FunctionListPrivate) { . ($FunctionPathPrivate + $Function) } |