Set-VBOServerComponents
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 | Required | Position | Accept | Accept |
Components | Specifies an array of Veeam Backup for Microsoft Office 365 server components. The cmdlet will enable an extended logging mode for these components. Accepts the VBOServerComponent[] object. To get this object, run the Get-VBOServerComponents cmdlet. NOTE: The extended logging mode will not be modified for components that are not specified in the VBOServerComponent[] object. | True | Named | False | False |
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. | True | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Example 1
This example shows how to enable extended logging mode for the 06b7354e-518f-4a10-b4c1-98f49d743012 backup proxy.
- Run the Get-VBOServerComponents cmdlet to get the proxy. Set proxy as the Name parameter value. Set 06b7354e-518f-4a10-b4c1-98f49d743012 as the ID parameter value. Save the result to the $proxy variable.
- Run Set-VBOServerComponents cmdlet. Set the $proxy variable as the Components parameter value. Provide the EnableExtendedLogging parameter to enable the extended logging mode for the proxy.
$proxy = Get-VBOServerComponents -Name Proxy -ID 06b7354e-518f-4a10-b4c1-98f49d743012 Set-VBOServerComponents -Components $proxy -EnableExtendedLogging |
Example 2
This example shows how to disable extended logging mode for the b8451910-672f-4eec-bfbe-6eba83b91abb backup proxy.
- Run the Get-VBOServerComponents cmdlet to get the proxy. Set proxy as the Name parameter value. Set b8451910-672f-4eec-bfbe-6eba83b91abb as the ID parameter value. Save the result to the $proxy variable.
- Run Set-VBOServerComponents cmdlet. Set the $proxy variable as the Components parameter value. Provide the EnableExtendedLogging parameter to enable the extended logging mode for the proxy.
$proxy = Get-VBOServerComponents -Name Proxy -ID b8451910-672f-4eec-bfbe-6eba83b91abb Set-VBOServerComponents -Components $proxy -EnableExtendedLogging:$false |
Related Commands