Skip to content

Commit 5fabddc

Browse files
author
mattifestation
committed
Fixed error in PowerSploit ADS removal one-liner
1 parent 202e8f4 commit 5fabddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ To see the commands imported, type `Get-Command -Module PowerSploit`
240240
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:
241241
`$Env:PSModulePath.Split(';') |
242242
% { if ( Test-Path (Join-Path $_ PowerSploit) )
243-
{Get-ChildItem -Recurse | Unblock-File} }`
243+
{Get-ChildItem $_ -Recurse | Unblock-File} }`
244244

245245
For help on each individual command, Get-Help is your friend.
246246

0 commit comments

Comments
 (0)