Set-VBOServerComponents

In this article

    Short Description

    Enables and disables the extended logging mode for an array of Veeam Backup for Microsoft Office 365 server components.

    Syntax

    Set-VBOServerComponents -Components <VBOServerComponent[]> -EnableExtendedLogging  [<CommonParameters>]

    Detailed Description

    This cmdlet enables and disables the extended logging mode for one or several Veeam Backup for Microsoft Office 365 server components.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Components

    Specifies an array of Veeam Backup for Microsoft Office 365 server components. The cmdlet will enable an extended logging mode for these components.

    Note: The extended logging mode will not be modified for components that are not specified in the VBOServerComponent[] object.

    Accepts the VBOServerComponent[] object. To get this object, run the Get-VBOServerComponents cmdlet.

    True

    Named

    True (ByValue)

    EnableExtendedLogging

    Enables the extended logging mode for an array of Veeam Backup for Microsoft Office 365 server components.

    Note: To disable the extended logging mode for an array of components, you must set the $false value for this parameter.

    SwitchParameter

    True

    Named

    False

    <CommonParameters>

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

    Examples

    Set-VBOServerComponentsExample 1. Enabling Extended Logging Mode for Backup Proxy Server

    This example shows how to enable extended logging mode for the 06b7354e-518f-4a10-b4c1-98f49d743012 backup proxy server.

    $proxy = Get-VBOServerComponents -Name Proxy -Id 06b7354e-518f-4a10-b4c1-98f49d743012

    Set-VBOServerComponents -Components $proxy -EnableExtendedLogging

    Perform the following steps:

    1. Run the Get-VBOServerComponents cmdlet. Specify the Name parameter value. Specify the Id parameter value. Save the result to the $proxy variable.
    2. Run the Set-VBOServerComponents cmdlet. Set the $proxy variable as the Components parameter value. Provide the EnableExtendedLogging parameter.

    Set-VBOServerComponentsExample 2. Enabling Extended Logging Mode for All Backup Proxies [Using Pipelines]

    This command enables extended logging mode for all backup proxies.

    Get-VBOServerComponents | Where-Object -FilterScript {$_.Name -eq "Proxy"} | Set-VBOServerComponents -EnableExtendedLogging:$true

    Perform the following steps:

    1. Run the Get-VBOServerComponents cmdlet.
    2. Pipe the cmdlet output to the Where-Object cmdlet. Specify the script block value for the FilterScript parameter.
    3. Pipe the cmdlet output to the Set-VBOServerComponents cmdlet. Specify the EnableExtendedLogging parameter value.

    Set-VBOServerComponentsExample 3. Disabling Extended Logging Mode for Backup Proxy

    This example shows how to disable extended logging mode for the b8451910-672f-4eec-bfbe-6eba83b91abb backup proxy server.

    $proxy = Get-VBOServerComponents -Name proxy -Id b8451910-672f-4eec-bfbe-6eba83b91abb

    Set-VBOServerComponents -Components $proxy -EnableExtendedLogging:$false

    Perform the following steps:

    1. Run the Get-VBOServerComponents cmdlet. Specify the Name parameter value. Specify the Id parameter value. Save the result to the $proxy variable.
    2. Run the Set-VBOServerComponents cmdlet. Set the $proxy variable as the Components parameter value. Set the $false value for the EnableExtendedLogging parameter.

    Related Commands