--- title: "Set-VBRSecurityOptions" description: "This cmdlet modifies the following Veeam Backup & Replication security settings: Trust policy for Linux hosts Audit logs settings To modify settings, specify new values for the necessary parameters." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrsecurityoptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Veeam Backup & Replication Settings > Configuring Security Settings > Set-VBRSecurityOptions" dateModified: "2026-08-19" --- # Set-VBRSecurityOptions ## Short Description Modifies Veeam Backup & Replication security settings. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Set-VBRSecurityOptions [-HostPolicy ] [-AuditLogPath ] [-CompressAuditLogs] [-EnableFipsCompliantMode] [-Force] [] ``` ## Detailed Description This cmdlet modifies the following Veeam Backup & Replication security settings: - Trust policy for Linux hosts - Audit logs settings ::: 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

AuditLogPath

Specifies the path to the folder where Veeam Backup & Replication stores audit logs.

Default: %ProgramData%\Veeam\Backup\Audit.

String

False

Named

False

CompressAuditLogs

Defines that the cmdlet will compress the previous versions of audit logs. If you do not provide this parameter, Veeam Backup & Replication will keep all logs without compression.

Default: True.

Note: To disable this option, set the parameter value to $false. That is, parameter_name:$false.

SwitchParameter

False

Named

False

EnableFipsCompliantMode

Enables the FIPS-compliant operation mode. If you provide this parameter, the cmdlet will restrict connection to non-compliant platforms.

Default: False.

SwitchParameter

False

Named

False

Force

Defines that the cmdlet will modify the security settings without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

HostPolicy

Specifies the trust policy for Linux hosts.

Accepts the VBRLinuxTrustedHostPolicy object. To create this object, run the Get-VBRLinuxTrustedHostPolicy cmdlet.

VBRLinuxTrustedHostPolicy

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 The cmdlet returns the `VBRSecurityOptions` object that contains Veeam Backup & Replication security settings. ## Examples ::: example ### Example 1. Modifying Trust Policy for Linux Hosts This example shows how to modify the trust policy for Linux hosts. ``` $policy = Get-VBRLinuxTrustedHostPolicy Set-VBRSecurityOptions -HostPolicy $policy ``` Perform the following steps: 1. Run the [`Get-VBRLinuxTrustedHostPolicy`](get-vbrlinuxtrustedhostpolicy.md) cmdlet. Save the result to the `$policy` variable. 2. Run the `Set-VBRSecurityOptions` cmdlet. Set the `$policy` variable as the `HostPolicy` parameter value. ::: ::: example ### Example 2. Modifying Audit logs Settings This example shows how to modify audit logs settings. Veeam Backup & Replication will store logs in the `C:\Users\Administrator\Documents\Logs` folder. ``` Set-VBRSecurityOptions -AuditLogPath "C:\Users\Administrator\Documents\Logs" ``` ::: ## Related Commands - [`Get-VBRSecurityOptions`](get-vbrsecurityoptions.md) - [`Get-VBRLinuxTrustedHostPolicy`](get-vbrlinuxtrustedhostpolicy.md)