Set-VBRSecurityOptions

In this article

    Short Description

    Modifies Veeam Backup & Replication security settings.

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Set-VBRSecurityOptions [-HostPolicy <VBRLinuxTrustedHostPolicy>] [-AuditLogPath <string>] [-CompressAuditLogs][-EnableFipsCompliantMode]  [<CommonParameters>]

    Detailed Description

    This cmdlet modifies the following Veeam Backup & Replication security settings:

    • Trust policy for Linux hosts
    • Audit logs settings

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    HostPolicy

    Specifies the trust policy for Linux hosts.

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

    False

    Named

    False

    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.

    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

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Output Object

    The cmdlet returns the VBRSecurityOptions object that contains Veeam Backup & Replication security settings.

    Examples

    Set-VBRSecurityOptions Example 1. Modifying Trust Policy for Linux Hosts

    This example shows how to modify the trust policy for Linux hosts.

    $options = Get-VBRSecurityOptions

    $policy = Get-VBRLinuxTrustedHostPolicy

    Set-VBRSecurityOptions -HostPolicy $policy

    Perform the following steps:

    1. Run the Get-VBRLinuxTrustedHostPolicy cmdlet. Save the result to the $options variable.
    2. Run the Get-VBRLinuxTrustedHostPolicy cmdlet. Save the result to the $policy variable.
    3. Run the Set-VBRGlobalNotificationOptions cmdlet. Set the $options variable as the GlobalNotificationOptions parameter value. Set the $policy variable as the HostPolicy parameter value.

    Set-VBRSecurityOptions 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.

    $options = Get-VBRSecurityOptions

    Set-VBRSecurityOptions -SecurityOptions $options -AuditLogPath "C:\Users\Administrator\Documents\Logs"

    Perform the following steps:.

    1. Run the Get-VBRSecurityOptions cmdlet. Save the result to the $options variable.
    2. Run the Set-VBRGlobalNotificationOptions cmdlet. Set the $options variable as the GlobalNotificationOptions parameter value. Provide the AuditLogPath parameter value.

    Related Commands

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.