--- title: "Set-VBRScriptProcessingOptions" description: "This cmdlet modifies pre-freeze and post-thaw scripts settings for the protected computer OS quiescence. To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrscriptprocessingoptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Agent Management > Working with Veeam Agent Backup Jobs and Policies > Veeam Agent Job Guest Processing Options > Set-VBRScriptProcessingOptions" dateModified: "2026-08-19" --- # Set-VBRScriptProcessingOptions ## Short Description Modifies pre-freeze and post-thaw scripts settings for Veeam Agent backup jobs. **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Set-VBRScriptProcessingOptions -Options [-Credentials ] [-ProcessingAction ] [-ScriptPrefreezeCommand ] [-ScriptPostthawCommand ] [-ScriptPreJobCommand ] [-ScriptPostJobCommand ] [] ``` ## Detailed Description This cmdlet modifies pre-freeze and post-thaw scripts settings for the protected computer OS quiescence. ::: note To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Credentials

Specifies the user account credentials with local administrator privileges on the VM guest OS. Veeam Backup & Replication will use these credentials to run pre-freeze and post-thaw scripts.

By default, Veeam Agent for Microsoft Windows will use the credentials that you specified for the protection group.

Note: This option works for Veeam Agent jobs that back up Windows computers only.

CCredentials

False

Named

False

Options

Specifies script processing options that you want to modify.

Accepts the VBRScriptProcessingOptions object. To get this object, run the New-VBRScriptProcessingOptions cmdlet.

VBRScriptProcessingOptions

True

Named

True (ByValue)

ProcessingAction

Specifies script processing settings.

  • DisableCompletely: use this option if you do not want to run scripts.
  • IgnoreFailures: use this option if you want to continue the backup process even if script errors occur.
  • RequireSuccess: use this option if you want Veeam Backup & Replication to stop the backup process if the script fails.

Note: The IgnoreFailures option does not work for Veeam Agent backup jobs that back up Linux computers. Use the RequireSuccess option to enable script execution for these types of jobs.

VBRGeneralProcessingAction

False

Named

False

ScriptPostJobCommand

Specifies a post-freeze script.

String

False

Named

False

ScriptPostthawCommand

Specifies the path on your backup server to a local folder with the post-thaw script.

String

False

Named

False

ScriptPrefreezeCommand

Specifies the path on your backup server to a local folder with the pre-freeze script.

String

False

Named

False

ScriptPreJobCommand

Specifies a post-thaw script.

String

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object This cmdlet returns the `VBRScriptProcessingOptions` object that contains pre-freeze and post-thaw scripts settings for Veeam Agent backup jobs. ## Examples ::: example ### Modifying Script Processing Settings for Veeam Agent Job (Windows) This example shows how to modify the existing script processing settings for a Veeam Agent job that backs up Windows computers. ``` $script = New-VBRScriptProcessingOptions -ProcessingAction IgnoreFailures -ScriptPrefreezeCommand "C:\script\pre-script.bat" -ScriptPostthawCommand "C:\script\post-script.bat" Set-VBRScriptProcessingOptions -Options $script -ProcessingAction RequireSuccess ``` Perform the following steps: 1. Run the [`New-VBRScriptProcessingOptions`](new-vbrscriptprocessingoptions.md) cmdlet. Set the `IgnoreFailures` option for the `ProcessingAction` parameter. Specify the `ScriptPrefreezeCommand` and `ScriptPostthawCommand` parameter values. Save the result to the `$script` variable. 2. Run the `Set-VBRScriptProcessingOptions` cmdlet. Set the `$script` variable as the `Options` parameter value. Set the `RequireSuccess` option for the `ProcessingAction` parameter. ::: ## Related Commands [`New-VBRScriptProcessingOptions`](new-vbrscriptprocessingoptions.md)