-
Notifications
You must be signed in to change notification settings - Fork 52
Get HPOVSMTPConfig
Configure appliance SMTP Reporting settings.
Get-HPOVSMTPConfig[ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet will retrieve the SMTP settings for the appliance.
-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)
None. You cannot pipe objects to this cmdlet.
System.Management.Automation.PSCustomObject `nReturns SMTP Email Configurtion object from the specified appliance(s).
-------------------------- EXAMPLE 1 --------------------------PS C:\> Get-HPOVSMTPConfig
Get SMTP Email Alert configuration from the default appliance connection.
- [Set-HPOVSMTPConfig] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVSMTPConfig)
- [Test-HPOVEmailAlert] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Test-HPOVEmailAlert)
- [Add-HPOVSmtpAlertEmailFilter] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVSmtpAlertEmailFilter)
- [Get-HPOVSmtpAlertEmailFilter] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVSmtpAlertEmailFilter)
### HPE OneView 2.00 Library
Configure appliance SMTP Reporting settings.
Get-HPOVSMTPConfig [-ApplianceConnection] <Object> [<CommonParameters>]
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.
-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)
None. You cannot pipe objects to this Cmdlet.
HPOneView.Appliance.SmtpConfiguration `nReturns SMTP Configuration object.
System.Collections.ArrayList <HPOneView.Appliance.SmtpConfiguration> `nMultiple SMTP Configuration objects, one per appliance connection.
-------------------------- 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.
- [Set-HPOVSMTPConfig] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Set-HPOVSMTPConfig)
- [Add-HPOVSmtpAlertEmailFilter] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Add-HPOVSmtpAlertEmailFilter)