Delete Directory From All User Profile Directories
Deletes a specified directory from all user profile directories on the local machine. This can be useful for cleaning up application data or temporary files that are stored in user profiles.
Parameters
Section titled “Parameters”Relative Directory Path
Section titled “Relative Directory Path”Required
The relative path to the directory that should be deleted from all user profiles. Ex. AppData\Local\MyApp
Details
Section titled “Details”- Category: File and directory
- Brick ID:
Directory-DeleteFromAllUsersProfiles
Raw JSON definition
Section titled “Raw JSON definition”{ "category": "fileAndDirectory", "description": "Deletes a specified directory from all user profile directories on the local machine. This can be useful for cleaning up application data or temporary files that are stored in user profiles.", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "Directory-DeleteFromAllUsersProfiles", "name": "Delete Directory From All User Profile Directories", "parameters": [ { "defaultValue": "", "defaultValueObject": null, "description": "The relative path to the directory that should be deleted from all user profiles. Ex. AppData\\Local\\MyApp", "id": "RelativeDirectoryPath", "name": "Relative Directory Path", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null } ], "powershell": { "base64Encoded": true, "function": "ZnVuY3Rpb2..." }, "type": "powerbrick", "version": "2026.7.2.1"}