aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattifestation <mattgraeber@gmail.com>2013-10-05 08:35:48 -0400
committerclymb3r <bialek.joseph@gmail.com>2013-11-03 22:48:50 -0800
commit1e4dc7b49fd5554679e99ca01074f7d3c5155766 (patch)
treee9c90fd3185cf15f80c332a2f2ac9a579c7ddfdb
parent05cbdab96efe07c56a6e3bde6263fa4561724cc5 (diff)
downloadPowerSploit-1e4dc7b49fd5554679e99ca01074f7d3c5155766.tar.gz
PowerSploit-1e4dc7b49fd5554679e99ca01074f7d3c5155766.zip
Added a usage tip
Added a one-liner for PSv3 that will remove the annoying warnings that are displayed when importing scripts downloaded from the Internet.
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1988a6a..93d2d0f 100644
--- a/README.md
+++ b/README.md
@@ -209,6 +209,8 @@ To use the module, type `Import-Module PowerSploit`
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} }`
+
For help on each individual command, Get-Help is your friend.
Note: The tools contained within this module were all designed such that they can be run individually. Including them in a module simply lends itself to increased portability.