PowerForensicsPortable.psm1

1
2
3
4
5
6
# Read in all ps1 files in the Cmdlets Directory
$Global:UprootPath = $PSScriptRoot
Get-ChildItem $PSScriptRoot |
    ? {$_.PSIsContainer -and ($_.Name -eq 'Cmdlets')} |
    % {Get-ChildItem "$($_.FullName)\*" -Include '*.ps1'} |
    % {. $_.FullName}