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.
Parameters
Section titled “Parameters”Directory Path
Section titled “Directory Path”Required
This is the full path for the Directory you want to create ex. $Env:ProgramFiles\MyApplication
Details
Section titled “Details”- Category: File and directory
- Brick ID:
Directory-Create
Raw JSON definition
Section titled “Raw JSON definition”{ "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"}