Fixed error in PowerSploit ADS removal one-liner

This commit is contained in:
mattifestation
2014-03-16 10:09:52 -04:00
parent 202e8f4b36
commit 5fabddcf1d
+1 -1
View File
@@ -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.