Skip to content

Developing Scripts For PoshSec Framework

Matt Johnson edited this page May 30, 2018 · 1 revision

Developing Scripts for PoshSec Framework

PoshSec Framwork scrips are written like any other PowerShell script. The addition that PoshSec Framework adds are methods to control the GUI and send events to the log.

Script Placement

Scripts are placed in the Scripts folder that is specified in Tools -> Settings -> General ->Script Directory. The default location is a subfolder under the directory you launched the PoshSec Framework from.

Once you create the directory or change the directory. Hit the refresh button in the Scripts pane and your scripts should show up.

Exposed Methods

We have a list of current exposed methods that you can use to extend your PowerShell scripts to utilize the features of the PoshSec Framework. You can find the list of exposed methods can be found on this wiki.