1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
:

A template to help you create and run PowerShell module plugins

Attached PowerShell file in example must be placed in

"C:Program FilesPandora_Agentscripts"

Edit PowerShell file to fit your needs!

Module data

#Example returns PowerShell $env:COMPUTERNAME
#PowerShell Computername

module_plugin powershell.exe -command "& 'C:Program FilesPandora_Agentscriptscomputername.ps1'"

#PowerShell Template
Write-Output "<module>"
Write-Output "<name>MODULE_NAME</name>"
Write-Output "<type>generic_data_string</type>"
Write-Output "<description>MODULE_DESCRIPTION</description>"
Write-Output "<data><![CDATA["
POWERSHELL_COMMANDS_GO_HERE
Write-Output "]]></data>"
Write-Output "</module>"

Files

computername.ps1

(Visited 524 times, 2 visits today)