-
Notifications
You must be signed in to change notification settings - Fork 23
Getting Started
For the Scripts and Modules to work, please refer to the below documentation.
Note: Minimum of PowerShell 3.0 is required at this time.
Open the poshsecframework.sln in Visual Studio 2012+ and build the project (F7). This will create the bin\Release folder at {your github repodirectory}\poshsecframework\poshsecframework\bin\Release.
Copy the "\Modules" and the "\Scripts" folder from the "\Scripts and Modules" folder to the bin\Release\ directory.
For example:
C:\github\poshsecframework\poshsecframework\bin\Release\Modules\
C:\github\poshsecframework\poshsecframework\bin\Release\Scripts\
The binary folder has poshsecframework.zip.
Extact the zip file to a directory of your choosing and just run the poshsecframework.exe.
You do not need to move the Scripts\ or Modules\ folder.
Copy the Modules and the Scripts folder from the "Scripts and Modules" folder to the installation directory.
C:\Program Files\PoshSecFramework\Modules\
C:\Program Files\PoshSecFramework\Scripts\
You will need to issue the following command in a PowerShell console running as Administrator if you have never run scripts on your system previously.
Set-ExecutionPolicy RemoteSigned
Then type "Y" when prompted.
For some systems, you may need to "unblock" the files. We are working on putting this directly into psf, but for now you need only to type the following command in a PowerShell console:
Get-ChildItem -recurse <path to poshsecframework> | Unblock-File
Example:
Get-ChildItem -recurse "C:\github\poshsecframework\poshsecframework" | Unblock-File
~or~
Get-ChildItem -recurse "C:\Program Files\PoshSecFramework\ | Unblock-File"
Current Release Version: 1.1.1 - www.poshsec.com - team@poshsec.com - @PoshSec