Skip to content

Execute PowerShell Snippet

Execute a piece of custom PowerShell code

Required — Default: #Your PowerShell Code starts here

The PowerShell code to execute

  • Category: Power brick
  • Brick ID: PowerShell-Snippet
{
"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"
}