Delete File From All User Profile Directories
Delete a file from all user profile directories
Parameters
Section titled “Parameters”Relative File Path
Section titled “Relative File Path”Required
The relative path to the file that should be deleted from all user profiles. Ex. Desktop\OldShortcut.lnk or AppData\Roaming\MyApp\settings.xml
Details
Section titled “Details”- Category: File and directory
- Brick ID:
File-DeleteFromAllUsersProfiles
{ "category": "fileAndDirectory", "description": "Delete a file from all user profile directories", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "File-DeleteFromAllUsersProfiles", "name": "Delete File From All User Profile Directories", "parameters": [ { "allowManualInput": null, "defaultValue": "", "defaultValueObject": null, "description": "The relative path to the file that should be deleted from all user profiles. Ex. Desktop\\OldShortcut.lnk or AppData\\Roaming\\MyApp\\settings.xml", "id": "RelativeFilePath", "name": "Relative File Path", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null } ], "powershell": { "base64Encoded": true, "function": "ZnVuY3Rpb2..." }, "type": "powerbrick", "version": "2026.7.2.1"}