--- title: "Set-VBOServerComponents" description: "This cmdlet enables or disables the extended logging mode and distributed tracing for one or several Veeam Backup for Microsoft 365 server components." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/set-vboservercomponents.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Veeam Backup for Microsoft 365 Server Components Logs > Set-VBOServerComponents" dateModified: "2026-08-21" --- # Set-VBOServerComponents ## Short Description Enables or disables the extended logging mode and distributed tracing for an array of the Veeam Backup for Microsoft 365 server components. ## Syntax ``` Set-VBOServerComponents -Components [-EnableExtendedLogging] [-EnableDistributedTracing] [] ``` ## Detailed Description This cmdlet enables or disables the extended logging mode and distributed tracing for one or several Veeam Backup for Microsoft 365 server components. Extended log records contain additional information such as more detailed description of operations performed during the backup and restore processes, as well as more detailed description of items processed during backup and restore. Distributed tracing tracks requests to the Veeam Backup for Microsoft 365 backup infrastructure components and allows you to analyze the activity of services. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Components

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

Note: The extended logging mode and distributed tracing 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.

VBOServerComponent[]

True

Named

True (ByValue)

EnableDistributedTracing

Enables distributed tracing for an array of the Veeam Backup for Microsoft 365 server components.

Default: False

Note: To disable distributed tracing for an array of components, you must set the false value for this parameter.

SwitchParameter

False

Named

False

EnableExtendedLogging

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

Default: False

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

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Examples ::: example ### Example 1: Enabling Extended Logging Mode for Backup Proxy Server This example shows how to enable the 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:$true ``` Perform the following steps: 1. Run the [`Get-VBOServerComponents`](get-vboservercomponents.md) 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 `true` value for the `EnableExtendedLogging` parameter. ::: ::: example ### Example 2: Enabling Extended Logging Mode for All Backup Proxy Servers [Using Pipeline] This example shows how to enable the extended logging mode for all backup proxy servers. ``` Get-VBOServerComponents | Where-Object -FilterScript {$_.Name -eq "Proxy"} | Set-VBOServerComponents -EnableExtendedLogging:$true ``` Perform the following steps: 1. Run the [`Get-VBOServerComponents`](get-vboservercomponents.md) cmdlet. 2. Pipe the cmdlet output to the [`Where-Object`](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/where-object) cmdlet. Specify the script block value for the `FilterScript` parameter. 3. Pipe the cmdlet output to the `Set-VBOServerComponents` cmdlet. Set the `true` value for the `EnableExtendedLogging` parameter. ::: ::: example ### Example 3: Disabling Extended Logging Mode for Backup Proxy Server This example shows how to disable the 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`](get-vboservercomponents.md) 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. ::: ::: example ### Example 4: Enabling Distributed Tracing for Backup Proxy Server This example shows how to enable distributed tracing 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 -EnableDistributedTracing:$true ``` Perform the following steps: 1. Run the [`Get-VBOServerComponents`](get-vboservercomponents.md) 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 `true` value for the `EnableDistributedTracing` parameter. ::: ## Related Commands - [`Get-VBOServerComponents`](get-vboservercomponents.md) - [``Where-Object``](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/where-object)