PowerBricks
PowerBricks are the building blocks used when creating Application Manager packages in CapaOne, accessible under Applications.
When creating a package, you have two options: Script or Company App. PowerBricks are available in both scenarios.
Scripts are typically used for tasks that do not require installation files. They are well suited for configurations, maintenance tasks, custom code, or sequences built entirely with PowerBricks.
Company Apps are intended for application deployment. You can upload installation files such as EXE or MSI files and let CapaOne help create the application package automatically, or you can build the installation completely yourself using PowerBricks for full control over the installation process.
This reference lists every PowerBrick currently available in Production, grouped by category.
Browser settings
Section titled “Browser settings”| PowerBrick | Description |
|---|---|
| Add Google Chrome Extension | Adds or updates one or more Google Chrome extensions using the ExtensionSettings policy. Supports merge behavior, global default policy, optional legacy ExtensionInstallForcelist updates, and advanced extension restrictions. |
| Add Microsoft Edge Extension | Adds an extension for Microsoft Edge using the ExtensionSettings policy. This enables Edge Extensions to be installed and managed like applications, enabling extensions to be pushed to specific devices or users alongside existing GPO/Intune extension policies. |
| Add Mozilla Firefox Extension | Adds or updates a Mozilla Firefox extension using the ExtensionSettings policy stored as REG_MULTI_SZ in HKLM\SOFTWARE\Policies\Mozilla\Firefox. Supports merge behavior and optional global default policy. |
| Remove Google Chrome Extension | Removes selected extensions from Chrome ExtensionSettings and optionally cleans managed values created by the Chrome Add Extension brick, including global default and legacy forcelist entries. |
| Remove Microsoft Edge Extension | Removes an extension from Microsoft Edge ExtensionSettings policy. This removes the extension from the policy while keeping other extensions intact. If no extensions remain, the policy is removed completely. |
| Remove Mozilla Firefox Extension | Removes Firefox extensions from the ExtensionSettings policy and cleans up managed values created by the Firefox Add Extension brick, including the global default block. |
Download
Section titled “Download”| PowerBrick | Description |
|---|---|
| Download Content | Download the content of the application |
| Download File | Downloads a file from a web address to the computer. The file is only saved to the destination when the download and the optional checksum verification have both succeeded, so a half finished or wrong file is never left behind. |
File and directory
Section titled “File and directory”| PowerBrick | Description |
|---|---|
| Copy Directory | Copy a directory from source to destination. This PowerBrick can be used to copy files during a package installation or for general file management tasks. |
| Copy Directory To All User Profile Directories | Copy a directory to all user profile directories |
| Copy File | Copy a file from one location to another |
| Copy File To All User Profile Directories | Copy a file to all user profile directories |
| Create Directory | Create a directory at the specified path. This PowerBrick can be used to create directories during a package installation or for general file management tasks. |
| Create Shortcut | Creates a shortcut on the desktop for a specified target file or application, with options for customizing the shortcut’s name, icon, and arguments. |
| Delete Directory | Deletes a directory and its contents from the local file system. |
| 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. |
| Delete File | Delete a file |
| Delete File From All User Profile Directories | Delete a file from all user profile directories |
| Extract Archive | Extracts .zip, .rar, .7z and other archive formats. Non-.zip formats require 7-Zip. |
| Zip Directory | Creates a .zip archive from a source directory. |
Installer
Section titled “Installer”| PowerBrick | Description |
|---|---|
| Activate Process Execution At First User Logon | Configures Windows Active Setup so a script or program is executed once for each user at their first login |
| Deactivate Process Execution At First User Logon | Removes or disables an Active Setup entry that was created to execute a process at first user logon. You can specify the Active Setup entry by its unique identifier (ID). If you choose to disable the Active Setup entry instead of removing it, the entry will remain in the registry but will be marked as disabled, preventing the associated process from executing at user logon. This can be useful if you want to temporarily stop the execution without deleting the configuration entirely. |
| Execute Process | Executes a specified process with given arguments and options. This PowerBrick allows you to run any executable or command-line tool on the target machine, providing flexibility for various use cases such as software installation, system configuration, or running custom scripts. |
| Execute PSAppDeployToolkit Package | Execute a PSAppDeployToolKit package. The Invoke-AppDeployToolkit.exe file must be placed in the root of the folder. Remember to include the [Download Content] PowerBrick. |
| Install Driver | Installs a driver using PnPUtil. You can specify either a single .inf file or a directory containing multiple .inf files. If a directory is specified, all .inf files within it will be installed recursively. |
| Install EXE | Installs an application using an executable file. This brick allows you to specify the path to the executable, any necessary command-line arguments, and various execution options such as waiting for completion and user context. It also includes the ability to define return code handling to determine the success or failure of the installation based on the process’s exit code. |
| Install Font | Installs one or more fonts on the system. Accepts a single font file (.ttf, .otf, .ttc) or a folder where all supported font files are installed. |
| Install Microsoft 365 | Downloads setup.exe automatically if it is not present in $PackageRoot and installs Microsoft 365 Apps using the Office Deployment Tool (ODT). |
| Install MSI | Installs an application using an MSI installer. You can also define return code handling to manage different outcomes of the installation process. |
| Install MSIX | Installs an MSIX or APPX package for every user on the machine.\n\nSome packages are dependencies rather than applications, for example Microsoft.UI.Xaml and Microsoft.VCLibs. They contain no application of their own and cannot be installed per user. They are recognised automatically and installed for the machine instead, and Windows then adds them to each user that installs an application which needs them.\n\nIf the same or a newer version of the package is already on the machine, that is written to the log and the job continues.\n\nWindows cannot replace a package while applications that use it are running. The job then ends with retry later and is attempted again, rather than being reported as failed. |
| Install Windows Update | Install Windows Updates (.msu files) from a directory or a single .msu file |
| Uninstall EXE | Uninstall software using an EXE uninstaller |
| Uninstall Font | Removes one or more fonts from the system. Supports uninstall by source file or folder path, or directly by Font Registry Name. If both are provided, Font Registry Name takes precedence. |
| Uninstall MSI | Uninstalls applications installed with MSI by display name, publisher, version or product code. This PowerBrick can be used to uninstall applications installed with MSI by specifying the display name, publisher, version or product code. It is possible to use wildcards in the display name and publisher parameters to match multiple applications. If multiple applications match the specified criteria, all of them will be uninstalled. |
| Uninstall Program | Uninstall software using MSI, EXE or Appx/MSIX uninstallers. Appx and MSIX packages are also deprovisioned, so they are not installed again for users who log on to the machine for the first time afterwards. Supports DisplayName with wildcards, optional Publisher/Version filtering, or direct ProductCode uninstallation. |
| Uninstall Windows Update | Uninstall a Windows Update by KB number |
| Verify Application Installation | Verifies whether an application is installed by checking Add/Remove Programs entries and installed APPX packages, with optional version validation. |
Permissions
Section titled “Permissions”| PowerBrick | Description |
|---|---|
| Remove Directory Permissions | Removes permissions for a user or group on a specified directory. |
| Remove File Permissions | Remove permissions from a file |
| Remove Registry Permissions | Removes permissions for a user or group on a specified registry key. |
| Set Directory Permissions | Adds permissions for a specified user or group to a directory with a specified inheritance type. |
| Set File Permissions | Set permissions on a file |
| Set Registry Permissions | Adds permissions for a specified user or group to a registry key with a specified inheritance type. |
Power brick
Section titled “Power brick”| PowerBrick | Description |
|---|---|
| Execute PowerShell Snippet | Execute a piece of custom PowerShell code |
Provisioning
Section titled “Provisioning”| PowerBrick | Description |
|---|---|
| Activate Windows | Activates Windows using either the original embedded product key or a provided product key. |
| CapaInstaller Install Agent | Installs the CapaInstaller agent. If CapaInstallerAgentSetup.exe and CapaInstaller agent.xml exist in $PackageRoot they are used, otherwise they are downloaded from FrontendURLInternal or FrontendURLPublic before install. Optionally sets PCType in registry before installation. |
| Configure BitLocker | Enables and configures BitLocker on a selected volume, including encryption method, protectors, recovery information handling and optional auto unlock for data volumes. |
| Configure Network Adapter | Configures the IPv4 settings of a network adapter. Set the DNS servers on their own, switch an adapter to DHCP, or give it a static IP address, subnet, default gateway and DNS servers.\n\nThe brick changes only what you actually ask for. Addressing Mode and Register This Connection In DNS both have an Unchanged option, and both are Unchanged to begin with, so the most common fleet wide job - give every machine the same DNS servers and leave everything else exactly as it is - is a matter of filling in the DNS Servers field and nothing else.\n\nThe whole configuration is checked before anything is changed, and the address change is applied as the very last step, so a device is never left half configured. If the adapter already has the requested settings, nothing is changed.\n\nOnly IPv4 is configured. The IPv6 settings of the adapter are left untouched.\n\nBe aware that changing the address of the adapter a device uses to reach the network will interrupt its connection until the new settings work. Leaving Addressing Mode on Unchanged cannot cause that interruption.\n\nTip - one address per device: a static IP address typed in here is given to every device the workflow runs on, which is almost never what you want. When each device needs its own address, gateway or DNS servers, place an Execute PowerShell Snippet brick earlier in the same workflow, let it work out the correct values for the device it is running on, and let this brick use that result instead of a fixed value. |
| Configure OneDrive | Configures the OneDrive sync app through the OneDrive policies Microsoft documents for the Windows sync app. Use it to sign users in silently, to move the Desktop, Documents and Pictures folders into OneDrive, to control Files On-Demand, bandwidth, exclusions and the folder layout, and to block personal or external accounts.\n\nEvery setting has an Unchanged option, and every text field can be left empty. Only the settings you actually choose are written to the device, so this brick can be combined with settings you already manage elsewhere.\n\nSettings that belong to the user rather than the device are written for every user profile on the device, including the profile new users are created from.\n\nKnown Folder Move is not applied instantly. The folders are moved the next time the user signs in to OneDrive on the device. |
| Configure Start Menu Layout | Configures Start Menu layout by copying a LayoutModification.json or LayoutModification.xml file into user profile shell folders. Create or export the layout file on an existing reference device and include the file in your package (for example from C:\Users\<ReferenceUser>\AppData\Local\Microsoft\Windows\Shell\LayoutModification.json), then copy it with Download Content and reference it with $PackageRoot. |
| Configure Windows Explorer | Configures the most common File Explorer view settings, such as showing file name extensions, hidden files, protected operating system files, the full path in the title bar, and what File Explorer opens to.\n\nEvery setting has an Unchanged option, so only the settings you actually select are changed on the device.\n\nThe settings are always written to the profile template in C:\Users\Default, so users who sign in for the first time after the deployment get them. Enable Apply To Existing Users to update the user profiles that already exist on the device as well. |
| Configure Windows Keyboard Layout | Sets the keyboard layouts used by Windows itself, the sign-in screen and every user who signs in for the first time afterwards. Users who already have a profile on the machine keep their own keyboard layouts and have to change them themselves under Settings - Time and language. |
| Configure Windows Language | Installs a Windows language and makes it the language of Windows itself, the sign-in screen, and every user who signs in for the first time afterwards. Users who already have a profile on the machine keep their own language and have to change it themselves under Settings - Time and language. If you install the language from a CAB file delivered with the package, add the Download Content brick first. |
| Configure Windows Regional Format | Sets the Windows regional format - the way dates, numbers, currency and measurements are written - and copies it to the sign-in screen and to users who sign in for the first time afterwards.\n\nThis brick does not change the language Windows is displayed in. Use the Configure Windows Language brick for that. A machine can show English menus and still write dates and currency the Danish way, which is exactly what this brick is for.\n\nUsers who already have a profile on the machine keep their own regional format and have to change it themselves under Settings - Time and language. |
| Configure Windows Time Zone | Changes the Windows time zone on the device. |
| Configure Windows Update | Configures Windows Update policies, including WSUS settings, update deferral, and restart behavior. Best practice: enable Use WU Server and set WUServer/WUStatusServer when updates must come from internal WSUS instead of Microsoft Update. |
| Create Enterprise Wifi Profile | Adds a company wireless network to the device from the settings you fill in here. This is the brick for a network where each user or each device signs in with an account or a certificate instead of a shared network key - what the network team will call 802.1X, WPA2-Enterprise or WPA3-Enterprise.\n\nTwo sign-in methods are covered: a user account (PEAP-MSCHAPv2), which normally reuses the Windows sign-in so nobody is prompted, and a client certificate already on the device (EAP-TLS).\n\nFor a network where everyone shares the same network key, use the Create Wifi Profile brick instead. To reuse a profile that was exported on a reference device, use the Import Wifi Profile brick. Use the Remove Wifi Profile brick to take a network off a device again.\n\nYou will need the thumbprint of the root certificate authority that issued the network’s server certificate. Your network team has it, and without it the device has nothing to check the network against.\n\nTip - dynamic values: a value typed here is applied unchanged to every device the workflow runs on. When different offices, models or hardware need different settings, add an Execute PowerShell Snippet brick earlier in the same workflow, let it work out the right value for the device it is running on, and use that value here instead of a fixed one. One workflow then covers every site, instead of one workflow per site. The same approach works with any brick. |
| Create Wifi Profile | Adds a wireless network to the device from the settings you fill in here. Nothing has to be set up and exported on a reference device first, and no file has to be shipped with the package.\n\nThis brick covers open networks and networks where everyone shares the same network key - WPA2-Personal and WPA3-Personal. For a network where each user signs in with their own account or a certificate, use the Create Enterprise Wifi Profile brick instead. To reuse a profile that was exported on a reference device, use the Import Wifi Profile brick. Use the Remove Wifi Profile brick to take a network off a device again.\n\nThe network key is never written to the log, and the profile the brick builds is deleted from the device again as soon as the network has been added.\n\nTip - dynamic values: a value typed here is applied unchanged to every device the workflow runs on. When different offices, models or hardware need different settings, add an Execute PowerShell Snippet brick earlier in the same workflow, let it work out the right value for the device it is running on, and use that value here instead of a fixed one. One workflow then covers every site, instead of one workflow per site. The same approach works with any brick. |
| Enable Out Of Box Experience (OOBE) | Enables Windows Out Of Box Experience (OOBE) on next boot. |
| Import Wifi Profile | Adds a wireless network to the device from a profile file that was exported on a reference device. The network can be installed for all users so it is available before anyone signs in, and the device can optionally connect to it right away. Remember to include the Download Content brick when the profile file comes from $PackageRoot.\n\nExport the profile on a reference device with:\nnetsh wlan export profile name=“<Network Name>” folder=C:\Temp key=clear\n\nAn export made with key=clear holds the network key in clear text, so treat the package content as a secret. Export without key=clear when the key must not be stored in the package. The brick never writes the profile content or the network key to the log.\n\nUse the Create Wifi Profile brick instead when you would rather type the network settings directly and skip the reference device, or the Create Enterprise Wifi Profile brick for a network that signs users in with 802.1X. Use the Remove Wifi Profile brick to take a network off a device again.\n\nTip - dynamic values: a value typed here is applied unchanged to every device the workflow runs on. When different offices, models or hardware need different settings, add an Execute PowerShell Snippet brick earlier in the same workflow, let it work out the right value for the device it is running on, and use that value here instead of a fixed one. One workflow then covers every site, instead of one workflow per site. The same approach works with any brick. |
| Install All Windows Updates | Installs all applicable updates from the Windows Update Client, including optional driver updates unless you disable them. If pending reboot is detected, the brick exits with retry later. |
| Join Domain | Joins the computer to an Active Directory domain. If a computer object with the same name already exists, the computer joins it in the OU where it already is, or the object can be deleted first so the computer is created in the chosen OU. |
| Remove Background | Removes the desktop and lock screen wallpaper, reverting to default Windows background. This will set the lock screen and desktop wallpapers to the default images provided by Windows, effectively removing any custom wallpapers that were previously set. |
| Remove Built In Windows Apps | Removes the built in Windows apps that ship with the operating system, such as Solitaire, Xbox, News and Weather, so a newly deployed machine only contains the apps your organisation wants.\n\nThe app can be removed from every existing user profile and it can be deprovisioned, so users who log on to the machine for the first time afterwards do not get it back.\n\nApps that Windows protects as system components, such as the Microsoft Store, the Settings app and the shell, are never removed. Apps that Windows refuses to remove are reported in the log and do not stop the workflow. |
| Remove Wifi Profile | Removes a wireless network from the device, so it stops connecting to that network and the stored network key is gone from the machine. The network is removed from every wireless adapter on the device.\n\nUse this to retire an old network after the replacement has been deployed, or to clean a guest network off devices that should be on the company network instead.\n\nA device that never had the network is the normal case when the same workflow runs across a whole fleet, so by default that counts as a success. Change Continue If Not Found when a missing network should end the job with an error instead.\n\nUse the Import Wifi Profile, Create Wifi Profile or Create Enterprise Wifi Profile bricks to put a network on a device.\n\nTip - dynamic values: a value typed here is applied unchanged to every device the workflow runs on. When different offices, models or hardware need different settings, add an Execute PowerShell Snippet brick earlier in the same workflow, let it work out the right value for the device it is running on, and use that value here instead of a fixed one. One workflow then covers every site, instead of one workflow per site. The same approach works with any brick. |
| Rename Computer | Renames the computer. Works both before and after the computer has been joined to a domain - when the computer is already a domain member, a domain account with permission to rename the computer object must be supplied.\n\nA restart is always required before the new name takes effect. Either let this brick restart the computer, or add the Restart Computer brick as a later step in the workflow. |
| Set Background | Sets the desktop and lock screen wallpaper to specified images. Both wallpapers can be set at the same time or individually. Supported image formats are .jpg, .jpeg and .png. |
| Set Default File Associations | Sets the default application associations on a Windows device, either from an association file exported from a reference device or from a single file extension you type in.\n\nA single file extension is added to the default associations the device already has, so the default apps for every other file type are kept. An association file is applied as the complete set of default associations for the device.\n\nIMPORTANT: Default application associations only apply to user profiles that are created AFTER this brick has run. Users who have already logged on to the device keep their current default apps and are not changed by this brick. Use this brick during provisioning of new devices.\n\nExport an association file from a reference device with:\ndism /Online /Export-DefaultAppAssociations:C:\Temp\Associations.xml\n\nRemember to include the [Download Content] PowerBrick when the association file is referenced with $PackageRoot. |
| Unjoin Domain | Removes the computer from its Active Directory domain and puts it in the workgroup WORKGROUP. Optionally deletes the computer object in Active Directory. |
| Update Windows Group Policy | Performs a Group Policy update for both Computer and User targets using gpupdate /force |
| Windows Configure Right Click Menu | Configures Windows 11 right-click menu behavior. Enable classic view for Windows 10 style context menu or disable it for the default Windows 11 menu. |
| Windows Tray Icon Pin | Pins a tray icon for the selected executable name. |
Registry
Section titled “Registry”| PowerBrick | Description |
|---|---|
| Delete Registry Key | Deletes a specified registry key from the Windows registry. You can specify the root registry hive and the full path of the registry key to be deleted. This can be useful for cleaning up registry entries that are no longer needed or for removing keys that may be causing issues. |
| Delete Registry Variable | Deletes a specified registry variable from the local machine. This can be useful for cleaning up registry entries that are no longer needed or for removing sensitive information. |
| Export Registry Key | Exports a registry key, including all of its subkeys and values, to a .reg file. This is useful for taking a backup of a configuration before changing it, for collecting a configuration from a reference machine, or for producing a file that the [Import Registry File] PowerBrick can apply on other machines. |
| Import Registry File | Imports a .reg file and applies its settings to HKEY_LOCAL_MACHINE and all user profiles (HKEY_CURRENT_USER). This can be useful for deploying registry configurations across multiple user profiles. |
| Set Registry Value | Sets a registry value with specified name, value and datatype at a specified path in the registry. The registry value can be set for the current user or all users on the endpoint including new users depending on the selected registry hive. |
System
Section titled “System”| PowerBrick | Description |
|---|---|
| Add Defender Exclusion | Adds one or more exclusions to Microsoft Defender Antivirus. Exclusions that are already configured are left untouched, so the brick can be run again without creating duplicates. |
| Backup BitLocker Recovery Key | Backs up existing BitLocker recovery passwords on a volume to on-premises Active Directory and can optionally write the passwords to the job log. |
| Configure Autologon | Configures Windows to sign in automatically with a specific account, and removes that configuration again when it is no longer needed. |
| Configure Power Settings | If a .pow file exists in $PackageRoot, the file is imported and all other options are ignored. If no .pow file exists, this brick can set power scheme, sleep timeout, hibernate timeout, power button action and lid close action. |
| Configure Remote Desktop | Enables or disables Remote Desktop (RDP) on the machine and keeps every part of the configuration consistent.\n\nRemote Desktop only works when the connection setting, Network Level Authentication and the built-in Remote Desktop firewall rules all agree. This brick sets all of them in one step, so you do not end up with Remote Desktop turned on but unreachable, or turned off while the firewall is still open.\n\nIt can also give named users and groups permission to connect, by putting them in the computer’s built-in Remote Desktop Users group. That is a lasting change to who may use the computer remotely: it stays in place after Remote Desktop is turned off again, and it is only made when you fill in the list. Nothing is ever removed from the group.\n\nEnabling Remote Desktop opens a remote access path into the machine. Everything that is changed is written to the job log. |
| Create Scheduled Task | Creates a scheduled task on the computer. The task can either be built from the settings on this brick or created from a task definition file exported from Task Scheduler, which is the easiest way to create a complex task.\n\nAn existing task with the same name in the same folder is only replaced when Overwrite is enabled, so a duplicate task is never created by accident.\n\nAdd the [Download Content] PowerBrick when the task definition file is delivered with the package. |
| Disable BitLocker | Starts BitLocker decryption on a selected volume and can optionally write the current recovery password to the job log before protection is disabled. |
| Install Certificate | Installs a certificate file into a Windows certificate store, either for the whole computer or in the store belonging to the system account that runs the installation. Supports .cer, .crt, .p7b and password protected .pfx files. Add the Download Content brick when the certificate file is delivered with the package. |
| Register DLL | Registers a DLL file or all DLL files within a specified directory using the regsvr32 command. This PowerBrick can be used to register COM components during a package installation. |
| Remove Certificate | Removes a certificate from a Windows certificate store. The certificate can be selected either by its thumbprint or by its subject.\n\nBecause removing a certificate can break trust on the device, the brick only removes more than one certificate when you explicitly allow it, and it never empties a store that holds more than one certificate. |
| Remove Defender Exclusion | Removes one or more Microsoft Defender Antivirus exclusions of the selected type. Use this to clean up folder, file, process or file extension exclusions that are no longer needed, for example when an application is uninstalled. Only exclusions that are actually configured are removed, so the brick can safely run more than once. |
| Remove Environment Variable | Removes a Windows environment variable, or a single entry from a list style variable such as Path.\n\nUse it to clean up after an application, for example to remove the folder an application added to Path when it was installed. The whole Path variable can never be deleted by this brick, only single entries can be removed from it.\n\nEvery program started after the brick has run sees the variable as it is now. Programs a signed-in user already has open keep the old value until they are restarted, and signing out and back in is the reliable way to refresh all of them. |
| Remove Firewall Rule | Removes one or more Windows Firewall rules by display name or internal rule name. Use DisplayName to target rules as shown in Windows Firewall with Advanced Security, or use Name to target a rule by its internal identifier. If the specified rule does not exist, the brick completes without error. |
| Remove Scheduled Task | Removes a scheduled task from the Task Scheduler on the computer.\n\nSelect Task to remove a single scheduled task by name, or Folder to remove a complete folder in the Task Scheduler library including every task and subfolder it contains. Folder mode is useful when a product registers several scheduled tasks in its own folder and the whole folder should be cleaned up during uninstall.\n\nIn Folder mode the root of the Task Scheduler library and the complete Microsoft owned branch of the library, \Microsoft and every folder below it, can never be removed. If a single scheduled task inside that branch has to go, remove it by name with Task mode instead.\n\nBy default the brick completes without error when the task or folder is already gone, so it is safe to use in an uninstall workflow. |
| Reset Windows Update | Removes Windows Update policy registry settings and restarts the Windows Update service so Windows defaults apply again. |
| Restart Computer | Performs a controlled restart of the client as a standalone step in a workflow. The restart can be delayed, announced to the user, and limited to clients where a restart is actually pending.\n \nImportant: When the restart is started, the workflow stops here. Any brick placed after this brick is not executed, so place this brick last in the workflow.\n \nThe only exception is when “Only If Pending Reboot” is enabled and no restart is pending. Then nothing happens and the workflow continues with the next brick. |
| Restart Windows Explorer | Restarts the Windows Explorer shell so that changes to Explorer settings, the taskbar, the Start menu, the right-click menu and file associations become visible without signing the user out. Add it as the last step after those bricks.\n\nIf several users are signed in at the same time, every one of their Explorer shells is restarted, because the shell is stopped for the whole machine. Each session is listed in the log. |
| Resume BitLocker | Resumes BitLocker protection on a selected volume after a suspension period. |
| Set Environment Variable | Creates or updates a Windows environment variable for the whole endpoint. The variable is always a System variable; there is no per user option. The brick can also add a folder to a path style variable such as PATH without creating duplicates.\n\nEvery program started after the brick has run reads the new value. Programs a signed-in user already has open keep the old one until they are restarted, and signing out and back in is the reliable way to refresh all of them. |
| Set Firewall Rule | Creates a Windows Firewall rule if it does not exist, or updates the existing rule when found by Name. You can use Get-NetFirewallRule -All to see all rules. |
| Set Hosts File Entry | Adds or removes a single entry in the Windows hosts file, so a hostname can be pointed at a specific IP address on the endpoint.\n\nAdding an entry that is already present changes nothing, and removing an entry leaves every other line in the file untouched.\n\nIf the hostname already points at another IP address, that entry is replaced so the hostname resolves to the IP address specified here. |
| Sleep Script | Executes a PowerShell script that causes the system to pause or sleep for a specified number of seconds, allowing you to introduce a delay in your automation workflows or scripts. |
| Suspend BitLocker | Suspends BitLocker protection on a selected volume for a configurable number of reboots. |
| Terminate Process | This brick will terminate a process on the local system. |
| Unregister DLL | Unregisters a DLL file or all DLL files within a specified directory using the regsvr32 command. This PowerBrick can be used to unregister COM components during a package uninstallation. |
| Verify System Requirements | Verifies that the device meets specified system requirements such as operating system version, free disk space, installed updates, power supply connection, network connection, and presence of specific Windows services. The brick can be configured to either fail or retry execution later if the requirements are not met. |
| Wait For Process To End | Waits for a specified process to exit before proceeding. This can be useful in scenarios where you need to ensure that a particular application or service has completed its tasks before moving on to the next step in your workflow. |
| Wait For Process To Start | Waits for a specified process to start within a given timeout period. This can be useful in scenarios where you need to ensure that a particular application or service is running before proceeding with further actions. |
User management
Section titled “User management”| PowerBrick | Description |
|---|---|
| Add User To Local Group | Adds a user account (local or domain) to one or more local groups. |
| Change Local User Password | Changes the password for an existing local user account. |
| Create Local User | Creates a local user account, or updates the password if the user already exists. Optionally ensures the user is added to one or more local groups. |
| Delete Local User Account | Deletes a local user account if it exists. |
| Local Group Remove All Except | Removes all members from a local group except those whose account name matches one or more wildcard patterns. |
| Remove User From Local Group | Removes a user, group or built-in account from a local group. |
| Set Local Account State | Enables or disables a local account on the computer.\n\nThe built-in Administrator and Guest accounts are found by their well-known account identifier, so the brick also works on non-English Windows and on computers where the accounts have been renamed.\n\nIf the account is already in the wanted state, nothing is changed. The brick refuses to disable an account when that would leave the computer without any administrator. |
Windows service
Section titled “Windows service”| PowerBrick | Description |
|---|---|
| Configure Windows Service | Configures a Windows service by changing its display name, description, startup type, status, and logon account |
| Restart Windows Service | Restart a Windows service by stopping it and then starting it again |
| Start Windows Service | Start a Windows service |
| Stop Windows Service | Stop a Windows service |