Skip to content

Create Directory

Create a directory at the specified path. This PowerBrick can be used to create directories during a package installation or for general file management tasks.

Required

This is the full path for the Directory you want to create ex. $Env:ProgramFiles\MyApplication

  • Category: File and directory
  • Brick ID: Directory-Create
{
"category": "fileAndDirectory",
"description": "Create a directory at the specified path. This PowerBrick can be used to create directories during a package installation or for general file management tasks.",
"developerVendor": "CapaSystems A/S",
"displayName": null,
"id": "Directory-Create",
"name": "Create Directory",
"parameters": [
{
"defaultValue": "",
"defaultValueObject": null,
"description": "This is the full path for the Directory you want to create ex. $Env:ProgramFiles\\MyApplication",
"id": "Directory_Path",
"name": "Directory Path",
"regExValidation": "",
"required": true,
"type": "TextBox",
"value": null,
"values": [],
"valuesObject": null
}
],
"powershell": {
"base64Encoded": true,
"function": "RnVuY3Rpb2..."
},
"type": "powerbrick",
"version": "2026.7.2.1"
}