Skip to content

Get HPOVSMTPConfig

Chris Lynch edited this page Nov 2, 2016 · 24 revisions

### HPE OneView 3.00 Library

Get-HPOVSMTPConfig

Configure appliance SMTP Reporting settings.

SYNTAX

Get-HPOVSMTPConfig[ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

This cmdlet will retrieve the SMTP settings for the appliance.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? false
Position? 0
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

System.Management.Automation.PSCustomObject `nReturns SMTP Email Configurtion object from the specified appliance(s).

Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Get-HPOVSMTPConfig

Get SMTP Email Alert configuration from the default appliance connection.

Related Links


### HPE OneView 2.00 Library

Get-HPOVSMTPConfig

Configure appliance SMTP Reporting settings.

SYNTAX

Get-HPOVSMTPConfig [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

This Cmdlet configures the SMTP settings for the appliance. SMTP settings include deining the Sender EMAIL Address, SMTP relay server address, SMTP relay server TCP port, optional password, and if SMTP alerting is enabled or disabled.

Currently, HPE OneView does not support Secure SMTP, even though the TCP Port can be modified. Using the SmtpPort parameter is to specify an alternate TCP Port than the default TCP/25.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? 0
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this Cmdlet.

Return Values

HPOneView.Appliance.SmtpConfiguration `nReturns SMTP Configuration object.

System.Collections.ArrayList <HPOneView.Appliance.SmtpConfiguration> `nMultiple SMTP Configuration objects, one per appliance connection.

Examples

 -------------------------- EXAMPLE 1 --------------------------

PS C:\> Get-HPOVSMTPConfig

Get current SMPT configuration of the connected appliance(s).

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> Get-HPOVSMTPConfig

Get current SMPT configuration from the MyAppliance.domain.com connected appliance.

Related Links


Wiki Table of Contents

Clone this wiki locally