Follow these instructions to configure Cortex XSOAR to
use PowerShell for D2 agents and shared agents.
You can run PowerShell commands directly from
Cortex XSOAR on common applications such as Office 365 and Active
Directory. If you want to use PowerShell, you need to configure
Cortex XSOAR.
Relevant for both D2 agents and shared agents.
Create
the PowerShell script you want to run.
In this example, we have created a PowerShell script, called
printarg
to
print an argument.
param([string]$myarg = "")
Write-Host "This is my argument: " $myarg
Zip up the file. In this example, we will
call the file