Set-NexusEmailConfig
SYNOPSIS
Sets the email settings for Nexus
SYNTAX
Set-NexusEmailConfig [[-SmtpServer] <String>] [-SmtpPort] <Int32> [-Enabled] [[-Credential] <PSCredential>]
[[-FromAddress] <String>] [[-SubjectPrefix] <String>] [-StartTlsEnabled] [-StartTlsRequired] [-SSLOnConnect]
[-VerifyServerIdentity] [-UseNexusTrustStore] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Sets the email settings for Nexus
EXAMPLES
EXAMPLE 1
Set-NexusEmailConfig -SmtpSerer mail.foo.org -Port 25 -Enabled
EXAMPLE 2
Set-NexusEmailConfig -SmtpServer mail.foo.org -Port 427 -Enabled -StartTlsEnabled -StartTlsrequired
PARAMETERS
-SmtpServer
The hostname or IP address of your mail server
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SmtpPort
The SMTP port of your mail server
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-Enabled
Enable sending mail from Nexus
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Credential
Credentials to connect to your SMTP server if required
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FromAddress
Messages from Nexus with be sent from this email address
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SubjectPrefix
Append a prefix to messages from Nexus if desired
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StartTlsEnabled
Enable StartTLS
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-StartTlsRequired
Require TLS on the smtp connection
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-SSLOnConnect
Require SSL on the smtp connection
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-VerifyServerIdentity
Verify mail server identity before sending messages
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-UseNexusTrustStore
Use Nexus Trust Store for email certificates
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.