Forge.Module.psm1
1 2 3 4 5 6 7 8 9 10 11 |
$ErrorActionPreference = "Stop" Set-StrictMode -Version 3 Import-Module 'Forge' # Load functions $functions = Get-ChildItem -Path $PSScriptRoot -Recurse -Include *.ps1 | Where-Object { -not ($_.Fullname -match "[/\\]Templates[/\\]") } | Sort-Object $functions | ForEach-Object { . $_.FullName } |