:
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
(Visited 1,536 times, 1 visits today)