HyperVLab.psm1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#Requires -Version 5.0 $script:configurationPath = (Join-Path -Path $env:ALLUSERSPROFILE -ChildPath 'HyperVLab') . "$PSScriptRoot\Classes.ps1" Get-ChildItem -Path "$PSScriptRoot\Internal" -Filter '*.ps1' -Recurse | ForEach-Object { . $_.FullName } Get-ChildItem -Path "$PSScriptRoot\Functions" -Filter '*.ps1' -Recurse | ForEach-Object { . $_.FullName Export-ModuleMember -Function ([System.IO.Path]::GetFileNameWithoutExtension($_.Name)) } |