Execute PowerShell Snippet
Execute a piece of custom PowerShell code
Parameters
Section titled “Parameters”PowerShell Snippet
Section titled “PowerShell Snippet”Required — Default: #Your PowerShell Code starts here
The PowerShell code to execute
Details
Section titled “Details”- Category: Power brick
- Brick ID:
PowerShell-Snippet
Raw JSON definition
Section titled “Raw JSON definition”{ "category": "powerBrick", "description": "Execute a piece of custom PowerShell code", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "PowerShell-Snippet", "name": "Execute PowerShell Snippet", "parameters": [ { "defaultValue": "#Your PowerShell Code starts here\r\n", "defaultValueObject": null, "description": "The PowerShell code to execute", "id": "powershell", "name": "PowerShell Snippet", "regExValidation": "", "required": true, "type": "Powershell", "value": null, "values": null, "valuesObject": null } ], "powershell": { "base64Encoded": false, "function": "" }, "type": "powerbrick", "version": "1.0.0.0"}