Set-SyslogServerSet-SyslogServer

SammanfattningSynopsis

Anger syslog-serverns slut punkt.Sets the syslog server endpoint.

SyntaxSyntax

Set-SyslogServer [-Remove] [[-ServerName] <Object>] [-NoEncryption] [-SkipCertificateCheck] [-UseUDP]
 [-SkipCNCheck] [[-ServerPort] <Object>] [-AsJob]

ExempelExamples

Exempel 1Example 1

Set-SyslogServer -ServerName <FQDN or IP address of Syslog server>

Exempel 2Example 2

-NoEncryption

Exempel 3Example 3

-SkipCertificateCheck

Exempel 4Example 4

-SkipCNCheck

Exempel 5Example 5

-UseUDP

Exempel 6Example 6

Set-SyslogServer -Remove

ParametrarParameters

-ServerName-ServerName

Den fullständiga domän namnet eller IPv4-adressen för syslog-servern.The FQDN or IPv4 Address of syslog server. Utan någon annan parameter är standard protokollet TCP med aktive rad kryptering. Certifikat verifiering; Certifikat namns kontroll.Without any other parameter, default protocol is TCP with enabled encryption; Certificate validation; Certificate name check.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ServerPort-ServerPort

Server porten för syslog-servern.The server port of the Syslog server.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

– Encryption-NoEncryption

Ange Encryption om det vill inaktivera kryptering för TCP-trafik.Specify NoEncryption if desire to disable encryption for TCP traffic.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-SkipCNCheck-SkipCNCheck

Ange SkipCNCheck om det vill hoppa över att kontrol lera certifikat namnet.Specify SkipCNCheck if desire to skip checking certificate name.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-SkipCertificateCheck-SkipCertificateCheck

Ange SkipCertificateCheck om vill hoppa över kontroll av syslog-servercertifikat.Specify SkipCertificateCheck if desire to skip checking Syslog Server certificate.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-UseUDP-UseUDP

Ange UseUDP om syslog-servern använder UDP-protokoll.Specify UseUDP if Syslog server uses UDP protocol.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Remove-Remove

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

– AsJob-AsJob

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Nästa stegNext steps

Information om hur du kommer åt och använder den privilegierade slut punkten finns i använda den privilegierade slut punkten i Azure Stack Hub.For information on how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.