Set-VBRSyslogServer
Short Description
Modifies the existing syslog server settings.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRSyslogServer -Server <VBRSyslogServer> [-ServerHost <String>] [-Port <Int32>] [-Protocol <VBRSyslogServerProtocol>] [-CertificateThumbprint <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies the existing syslog server settings.
Note |
|
To modify settings, specify new values for the necessary parameters. This cmdlet will overwrite the previous parameter values with the new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CertificateThumbprint |
Specifies the certificate thumbprint. |
|
False |
Named |
False |
|
Port |
Specifies the port number that Veeam Backup & Replication will use to send messages.
Default: |
|
False |
Named |
False |
|
Protocol |
Specifies the transport that Veeam Backup & Replication will use:
Use the |
|
False |
Named |
False |
|
Server |
Specifies the syslog server you want to modify.
Accepts the |
True |
Named |
True (ByValue) |
|
|
ServerHost |
Specifies an IPv4 address or DNS name of the syslog server. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Modifying Protocol for Syslog Server
This example shows how to modify the existing syslog server settings to use Tcp protocol.
|
$server = Get-VBRSyslogServer Set-VBRSyslogServer -Server $server -Protocol Tcp |
Perform the following steps:
- Run the
Get-VBRSyslogServerReturns the syslog server added to Veeam Backup & Replication. cmdlet. Save the result to the$servervariable. - Run the
Set-VBRSyslogServercmdlet. Set the$servervariable as theServerparameter value. Specify theTcpvalue as theProtocolparameter value.
Related Commands
Get-VBRSyslogServerReturns the syslog server added to Veeam Backup & Replication.