Skip to content

Extract Archive

Extracts .zip, .rar, .7z and other archive formats. Non-.zip formats require 7-Zip.

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.

Required

Full path to the directory where the archive should be extracted.

Required — Default: True

Enable to overwrite files that already exist in the destination. Disable to keep existing files unchanged.

  • Category: File and directory
  • Brick ID: Archive-Extract
{
"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"
}