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 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 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 |
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 |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Examples
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.
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 b8451910-672f-4eec-bfbe-6eba83b91abb backup proxy server.
Perform the following steps:
|
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.
Perform the following steps:
|
Related Commands