diff options
author | James McGinnigle <james@cyberstack.co.uk> | 2017-05-07 16:32:55 +0100 |
---|---|---|
committer | James McGinnigle <james@cyberstack.co.uk> | 2017-05-07 16:32:55 +0100 |
commit | f9b95c5cf2812ddf7691940b26eac89bce5e03f8 (patch) | |
tree | 277cf21389bb2a7e48bbe67eb52817ae8b854564 /PowerSploit.psm1 | |
parent | 095988269bfaafcb3cb0ab050cc782b98fd582ac (diff) | |
download | PowerSploit-f9b95c5cf2812ddf7691940b26eac89bce5e03f8.tar.gz PowerSploit-f9b95c5cf2812ddf7691940b26eac89bce5e03f8.zip |
Fix build for import and run of Invoke-PrivescAudit
Diffstat (limited to 'PowerSploit.psm1')
-rw-r--r-- | PowerSploit.psm1 | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |