Documentation Center

Purging batches

SDL Tridion Sites contains a number of batches, which you can purge to free up space in your database.

Before you begin

To purge these batches, you must have the DLL for purging loaded in Windows PowerShell.

Procedure

From the PowerShell command prompt, enter the command Remove-TcmBatches, applying the following parameters:
All
If this parameter is specified, all batches, both completed and non-completed, are purged; if this parameter is omitted, only completed batches are purged.
SDL Tridion Sites purges the completed batches (or all batches if you used All) to which you have access: either only batches you created yourself or, if you are logged in as a system administrator user, all (completed or non-completed) batches. The return value contains the deleted batch items.