From f9b95c5cf2812ddf7691940b26eac89bce5e03f8 Mon Sep 17 00:00:00 2001 From: James McGinnigle Date: Sun, 7 May 2017 16:32:55 +0100 Subject: Fix build for import and run of Invoke-PrivescAudit --- PowerSploit.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PowerSploit.psm1') diff --git a/PowerSploit.psm1 b/PowerSploit.psm1 index 9bc0240..42a9174 100644 --- a/PowerSploit.psm1 +++ b/PowerSploit.psm1 @@ -1 +1 @@ -Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and ($_.Name -ne 'Tests') } | % { Import-Module $_.FullName -DisableNameChecking } +Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer -and !('Tests','docs' -contains $_.Name) } | % { Import-Module $_.FullName -DisableNameChecking } -- cgit v1.2.3