From 5fabddcf1d17bd2a11ded4fd4c5fc35ff1095103 Mon Sep 17 00:00:00 2001 From: mattifestation Date: Sun, 16 Mar 2014 10:09:52 -0400 Subject: Fixed error in PowerSploit ADS removal one-liner --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6db060b..20c0417 100644 --- a/README.md +++ b/README.md @@ -240,7 +240,7 @@ To see the commands imported, type `Get-Command -Module PowerSploit` If you're running PowerShell v3 and you want to remove the annoying 'Do you really want to run scripts downloaded from the Internet' warning, once you've placed PowerSploit into your module path, run the following one-liner: `$Env:PSModulePath.Split(';') | % { if ( Test-Path (Join-Path $_ PowerSploit) ) - {Get-ChildItem -Recurse | Unblock-File} }` + {Get-ChildItem $_ -Recurse | Unblock-File} }` For help on each individual command, Get-Help is your friend. -- cgit v1.2.3