diff options
-rw-r--r-- | PowerSploit.psm1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PowerSploit.psm1 b/PowerSploit.psm1 index 550b8be..9bc0240 100644 --- a/PowerSploit.psm1 +++ b/PowerSploit.psm1 @@ -1 +1 @@ -Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer } | % { Import-Module $_.FullName -DisableNameChecking } +Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and ($_.Name -ne 'Tests') } | % { Import-Module $_.FullName -DisableNameChecking } |