Microsoft Powershell
8 min
the microsoft powershell connector enables the execution of powershell scripts and commands, allowing for advanced automation and orchestration within the swimlane ecosystem microsoft powershell is a versatile scripting language and command line shell designed to automate system tasks and configuration management the microsoft powershell connector for swimlane turbine allows users to execute powershell scripts directly within the swimlane platform, enhancing automation capabilities this integration empowers security teams to perform complex scripting actions, automate repetitive tasks, and streamline incident response workflows without leaving the swimlane environment by leveraging the connector, users can dynamically run scripts, process the results, and incorporate them into their security playbooks, significantly reducing manual effort and response times limitations file input is not directly supported if passing files encode the contents in base64 and decode within the script long running scripts will be terminated after 1000 seconds script output must be serializable to json for structured response parsing—otherwise returned as plain string the powershell command is provided as a raw string input via the command parameter the connector must treat this input as a string and pass it directly to powershell using the command argument if multi line scripts or special characters are used, ensure proper escaping or use base64 encoding supported versions this microsoft powershell connector uses the latest version configuration prerequisites no login credentials are needed unless your script explicitly requires them capabilities this connector provides the following capabilities run powershell script run powershell script executes a specified powershell command provided in the json body input actions run powershell script executes a specified powershell command from the json body input, allowing for script automation input argument name type required description command string required specifies the powershell command to be executed output parameter type description output string output field output error message string response message example \[ { "output" "string", "error message" "string" } ]