Skip to content

Copy Directory To All User Profile Directories

Copy a directory to all user profile directories

Required

The full path to the source directory. Example: $PackageRoot\MySubFolder or C:\Temp\MyFolder. Add the Download Content brick when using $PackageRoot.

Required

The partial path to the destination directory. Ex. AppData\Local\Adobe

Optional — Default: True

Overwrite existing files in the destination directory

Optional — Default: True

Include subdirectories in copy operation

  • Category: File and directory
  • Brick ID: Directory-CopyToAllUsersProfiles
{
"category": "fileAndDirectory",
"description": "Copy a directory to all user profile directories",
"developerVendor": "CapaSystems A/S",
"displayName": null,
"id": "Directory-CopyToAllUsersProfiles",
"name": "Copy Directory To All User Profile Directories",
"parameters": [
{
"defaultValue": "",
"defaultValueObject": null,
"description": "The full path to the source directory. Example: $PackageRoot\\MySubFolder or C:\\Temp\\MyFolder. Add the Download Content brick when using $PackageRoot.",
"id": "SourceDirectory",
"name": "Source Directory",
"regExValidation": "",
"required": true,
"type": "TextBox",
"value": null,
"values": [],
"valuesObject": null
},
{
"defaultValue": "",
"defaultValueObject": null,
"description": "The partial path to the destination directory. Ex. AppData\\Local\\Adobe",
"id": "DestinationDirectory",
"name": "Destination Directory",
"regExValidation": "",
"required": true,
"type": "TextBox",
"value": null,
"values": [],
"valuesObject": null
},
{
"defaultValue": "True",
"defaultValueObject": null,
"description": "Overwrite existing files in the destination directory",
"id": "OverwriteFile",
"name": "Overwrite Files",
"regExValidation": "",
"required": false,
"type": "Boolean",
"value": null,
"values": [],
"valuesObject": null
},
{
"defaultValue": "True",
"defaultValueObject": null,
"description": "Include subdirectories in copy operation",
"id": "IncludeSubDirectories",
"name": "Include Sub Directories",
"regExValidation": "",
"required": false,
"type": "Boolean",
"value": null,
"values": [],
"valuesObject": null
}
],
"powershell": {
"base64Encoded": true,
"function": "ZnVuY3Rpb2..."
},
"type": "powerbrick",
"version": "2026.7.2.1"
}