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 <VBOServerComponent[]> [-EnableExtendedLogging] [-EnableDistributedTracing] [<CommonParameters>] |
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
Accepts the
To get this object, run the |
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 |
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 |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Example 1: Enabling Extended Logging Mode for Backup Proxy Server
|
This example shows how to enable the extended logging mode for the
Perform the following steps:
|
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.
Perform the following steps:
|
Example 3: Disabling Extended Logging Mode for Backup Proxy Server
|
This example shows how to disable the extended logging mode for the
Perform the following steps:
|
Example 4: Enabling Distributed Tracing for Backup Proxy Server
|
This example shows how to enable distributed tracing for the
Perform the following steps:
|
Related Commands
Get-VBOServerComponentsReturns components of the Veeam Backup for Microsoft 365 server.Where-Object