ThoughtXOps.psm1
$FunctionRoot = Join-Path -Path $PSScriptRoot -ChildPath 'Functions' -Resolve Write-Timing ('Dot-sourcing functions.') Get-ChildItem -Path $FunctionRoot -Filter '*.ps1' | ForEach-Object { Write-Verbose ("Importing function {0}." -f $_.FullName) . $_.FullName | Out-Null } |