Skip to content

Add-vRLISmtpConfiguration

Synopsis

Configure SMTP settings in VMware Aria Operations for Logs.

Syntax

Add-vRLISmtpConfiguration [-server] <String> [-user] <String> [-pass] <String> [-smtpServer] <String> [-port] <String> [-sender] <String> [[-smtpUser] <String>] [[-smtpPass] <String>] [<CommonParameters>]

Description

The Add-vRLISmtpConfiguration cmdlet configures the SMTP sever settings in VMware Aria Operations for Logs. The cmdlet connects to SDDC Manager using the -server, -user, and -password values.

  • Validates that network connectivity and authentication is possible to SDDC Manager
  • Validates that VMware Aria Operations for Logs has been deployed in VCF-aware mode and retrieves its details
  • Validates that network connectivity and authentication is possible to VMware Aria Operations for Logs
  • Validates that network connectivity is possible to the SMTP server
  • Configures SMTP server settings in VMware Aria Operations for Logs if not already configured

Examples

Example 1

Add-vRLISmtpConfiguration -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -smtpServer smtp.rainpole.io -port 25 -sender aria-operations-for-logs-no-reply@rainpole.io

This example configures the SMTP server settings on VMware Aria Operations for Logs where no authentication is required.

Example 2

Add-vRLISmtpConfiguration -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -smtpServer smtp.rainpole.io -port 25 -sender aria-operations-for-logs-no-reply@rainpole.io -smtpUser administrator@rainpole.io -smtpPass VMw@re1!

This example configures the SMTP server settings on VMware Aria Operations for Logs where authentication to the SMTP server is required.

Parameters

-server

The fully qualified domain name of the SDDC Manager.

Type: String
Parameter Sets: (All)
Aliases:

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

-user

The username to authenticate to the SDDC Manager.

Type: String
Parameter Sets: (All)
Aliases:

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

-pass

The password to authenticate to the SDDC Manager.

Type: String
Parameter Sets: (All)
Aliases:

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

-smtpServer

The SMTP server FQDN or IP Address.

Type: String
Parameter Sets: (All)
Aliases:

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

-port

The SMTP server port.

Type: String
Parameter Sets: (All)
Aliases:

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

-sender

The sender email address.

Type: String
Parameter Sets: (All)
Aliases:

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

-smtpUser

The SMTP server username.

Type: String
Parameter Sets: (All)
Aliases:

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

-smtpPass

The SMTP server password.

Type: String
Parameter Sets: (All)
Aliases:

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

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.