Extract Archive
Extracts .zip, .rar, .7z and other archive formats. Non-.zip formats require 7-Zip.
Parameters
Section titled “Parameters”Archive File Path
Section titled “Archive File Path”Required
Full path to the archive file. Supports .zip, .rar, .7z and other formats handled by 7-Zip. Remember to include the [Download Content] PowerBrick when using $PackageRoot.
Destination Directory
Section titled “Destination Directory”Required
Full path to the directory where the archive should be extracted.
Overwrite Existing Files
Section titled “Overwrite Existing Files”Required — Default: True
Enable to overwrite files that already exist in the destination. Disable to keep existing files unchanged.
Details
Section titled “Details”- Category: File and directory
- Brick ID:
Archive-Extract
Raw JSON definition
Section titled “Raw JSON definition”{ "category": "fileAndDirectory", "description": "Extracts .zip, .rar, .7z and other archive formats. Non-.zip formats require 7-Zip.", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "Archive-Extract", "name": "Extract Archive", "parameters": [ { "defaultValue": "", "defaultValueObject": null, "description": "Full path to the archive file. Supports .zip, .rar, .7z and other formats handled by 7-Zip. Remember to include the [Download Content] PowerBrick when using $PackageRoot.", "id": "ArchiveFilePath", "name": "Archive File Path", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "", "defaultValueObject": null, "description": "Full path to the directory where the archive should be extracted.", "id": "DestinationDirectory", "name": "Destination Directory", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "True", "defaultValueObject": null, "description": "Enable to overwrite files that already exist in the destination. Disable to keep existing files unchanged.", "id": "OverwriteFileIfExist", "name": "Overwrite Existing Files", "regExValidation": "", "required": true, "type": "Boolean", "value": null, "values": [], "valuesObject": null } ], "powershell": { "base64Encoded": true, "function": "ZnVuY3Rpb2..." }, "type": "powerbrick", "version": "2026.7.2.1"}