Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit 1e4dc7b

Browse files
mattifestationclymb3r
authored andcommitted
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.
1 parent 05cbdab commit 1e4dc7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ To use the module, type `Import-Module PowerSploit`
209209

210210
To see the commands imported, type `Get-Command -Module PowerSploit`
211211

212+
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} }`
213+
212214
For help on each individual command, Get-Help is your friend.
213215

214216
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.

0 commit comments

Comments
 (0)