< Back

Set-AMEmailCondition

Sat Jan 11, 2020 3:26 am

NAME Set-AMEmailCondition



SYNOPSIS

Sets properties of an AutoMate Enterprise Email condition.





SYNTAX

Set-AMEmailCondition [-InputObject] <Object> [-Wait] [[-Timeout] <Int32>] [[-TimeoutUnit] {Seconds | Minutes |

Hours | Days | Milliseconds}] [[-TriggerAfter] <Int32>] [-AllowRedirection] [[-AuthType] <String>]

[[-AuthenticationType] <String>] [-AutoDiscover] [[-Certificate] <String>] [[-CertificatePath] <String>]

[[-ConnectionType] {System | Host | Session}] [[-CurrentFolder] <String>] [[-DomainName] <String>]

[-EWSUseDefault] [[-EmailAddress] <String>] [[-EmailFilterType] {Sent | Received}] [[-ExchangeVersion] <String>]

[[-ExternalEWSUrl] <String>] [-HasMailBoxURL] [[-HttpProtocol] {HTTPS | HTTP}] [-IgnoreCertificate]

[-IgnoreServerCertificate] [-Impersonate] [[-MailBoxURL] <String>] [[-PollingInterval] <Int32>] [[-Port] <String>]

[[-ProtocolType] {Webdav | EWS}] [[-ProxyPort] <String>] [[-ProxyServer] <String>] [[-ProxyType] {NoProxy | Socks4

| Socks4a | Socks5 | HTTP}] [[-ProxyUserName] <String>] [[-Security] {None | Explicit | Implicit}] [[-Server]

<String>] [-UseAutoDiscovery] [-UseForm] [-UseHTTP] [-UseNTLM] [[-UserAgent] <String>] [[-UserName] <String>]

[[-WebDavAuthentication] {Basic | Default | Form}] [[-Notes] <String>] [[-CompletionState] {InDevelopment |

Testing | Production | Archive}] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Set-AMEmailCondition modifies an existing Email condition.





PARAMETERS

-InputObject <Object>

The condition to modify.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Wait [<SwitchParameter>]

Wait for the condition, or evaluate immediately.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Timeout <Int32>

If wait is specified, the amount of time before the condition times out.



Required? false

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-TimeoutUnit

The unit for Timeout (Seconds by default).



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TriggerAfter <Int32>

The number of times the condition should occur before the trigger fires.



Required? false

Position? 4

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-AllowRedirection [<SwitchParameter>]

Allow redirection to occur.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-AuthType <String>

Specifies the authentication type to administer.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AuthenticationType <String>

Specifies the authentication type to administer.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AutoDiscover [<SwitchParameter>]

Automatically discover the server based on the email address entered in the EmailAddress parameter.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Certificate <String>

The certificate to use.



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CertificatePath <String>

The full path and file name of the certificate (.cer or .pfx extension) used to authenticate with.



Required? false

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ConnectionType

The connection type.



Required? false

Position? 9

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CurrentFolder <String>

Specifies the current mailbox folder that this trigger should monitor.



Required? false

Position? 10

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DomainName <String>

The domain name to authenticate with.



Required? false

Position? 11

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EWSUseDefault [<SwitchParameter>]

Use EWS.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-EmailAddress <String>

The Exchange server email address to use for email transactions.



Required? false

Position? 12

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EmailFilterType

The type of filter to use: Sent or Received.



Required? false

Position? 13

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ExchangeVersion <String>

The Exchange server version.



Required? false

Position? 14

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ExternalEWSUrl <String>

The EWS URL.



Required? false

Position? 15

Default value

Accept pipeline input? false

Accept wildcard characters? false



-HasMailBoxURL [<SwitchParameter>]

Whether mailbox URL is specified.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-HttpProtocol

HTTP or HTTPS.



Required? false

Position? 16

Default value

Accept pipeline input? false

Accept wildcard characters? false



-IgnoreCertificate [<SwitchParameter>]

Invalid or expired SSL certificates that are detected will be ignored.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-IgnoreServerCertificate [<SwitchParameter>]

Invalid or expired SSL server certificates that are detected will be ignored.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Impersonate [<SwitchParameter>]

Impersonate access as the specified user.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-MailBoxURL <String>

The URL for the mailbox.



Required? false

Position? 17

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PollingInterval <Int32>

The polling interval.



Required? false

Position? 18

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Port <String>

The port for the email server.



Required? false

Position? 19

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProtocolType

The email server type.



Required? false

Position? 20

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyPort <String>

The port used to communicate with the proxy server.



Required? false

Position? 21

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyServer <String>

The hostname of IP address of the proxy server.



Required? false

Position? 22

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyType

The proxy protocol used to accept requests from clients in your network.



Required? false

Position? 23

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProxyUserName <String>

The username used to authenticate connection to the proxy server.



Required? false

Position? 24

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Security

The security type.



Required? false

Position? 25

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Server <String>

The email server.



Required? false

Position? 26

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UseAutoDiscovery [<SwitchParameter>]

Automatically discover the server based on the email address entered in the EmailAddress parameter.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-UseForm [<SwitchParameter>]

Use form authentication.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-UseHTTP [<SwitchParameter>]

Use HTTP.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-UseNTLM [<SwitchParameter>]

Use NTLM authentication.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-UserAgent <String>

The user agent.



Required? false

Position? 27

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserName <String>

The user name.



Required? false

Position? 28

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WebDavAuthentication

The WebDAV authentication type.



Required? false

Position? 29

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Notes <String>

The new notes to set on the object.



Required? false

Position? 30

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CompletionState

The completion state (staging level) to set on the object.



Required? false

Position? 31

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS

https://github.com/AutomatePS/AutomatePS