Lib/Core/en-US/Mailozaurr.PowerShell.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Test-EmailAddress --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Test-EmailAddress</command:name> <command:verb>Test</command:verb> <command:noun>EmailAddress</command:noun> <maml:description> <maml:para>Validates one or more email addresses for format and standards compliance.</maml:para> <maml:para>The Test-EmailAddress cmdlet checks if one or more email addresses are valid according to standard email address rules. Supports validation for international addresses and top-level domains. Returns validation results for each address.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Test-EmailAddress</maml:name> <!-- Parameter: EmailAddress --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>EmailAddress</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AllowInternational --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>AllowInternational</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AllowTopLevelDomains --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>AllowTopLevelDomains</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: AllowInternational --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>AllowInternational</maml:name> <maml:description> <maml:para>If set, the cmdlet will use the newer international email standards to validate the email addresses.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AllowTopLevelDomains --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>AllowTopLevelDomains</maml:name> <maml:description> <maml:para>If set, the cmdlet will allow top level domains in the email addresses (such as test@email).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: EmailAddress --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>EmailAddress</maml:name> <maml:description> <maml:para>Specifies the email addresses to check. Accepts an array of strings. This parameter is mandatory.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Check if an email address is valid ----------</maml:title> <dev:code>Test-EmailAddress -EmailAddress "test@example.com"</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Check if an email address is valid using pipeline input ----------</maml:title> <dev:code>"test@example.com" | Test-EmailAddress</dev:code> </command:example> <command:example> <maml:title>---------- Example 3: Check if an email address is a valid international email address ----------</maml:title> <dev:code>Test-EmailAddress -EmailAddress "test@exámple.com" -AllowInternational</dev:code> </command:example> <command:example> <maml:title>---------- Example 4: Check if an email address is valid with a top level domain ----------</maml:title> <dev:code>Test-EmailAddress -EmailAddress "test@email" -AllowTopLevelDomains</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Send-EmailMessage --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Send-EmailMessage</command:name> <command:verb>Send</command:verb> <command:noun>EmailMessage</command:noun> <maml:description> <maml:para>Sends an email message using SMTP, SendGrid, or Microsoft Graph from within PowerShell. Replaces the deprecated Send-MailMessage.</maml:para> <maml:para>The Send-EmailMessage cmdlet sends an email message using a variety of providers and authentication methods. It supports SMTP (with or without SSL/TLS), SendGrid API, and Microsoft Graph API. The cmdlet allows for rich email composition, including HTML and text bodies, attachments, delivery notifications, and advanced logging. It is designed as a modern, secure, and flexible replacement for Send-MailMessage.</maml:para> <maml:para>Authentication can be provided via credentials, OAuth2, or provider-specific tokens. The cmdlet supports multiple parameter sets for compatibility with different authentication and provider scenarios.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: SecureString --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SmtpServer"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AsSecureString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AsSecureString</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePasswordAsSecureString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePasswordAsSecureString</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CertificatePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificateThumbprint --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificateThumbprint</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DeliveryNotificationOption --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryNotificationOption</maml:name> <command:parameterValue required="true">DeliveryNotification[]</command:parameterValue> <dev:type> <maml:name>Mailozaurr.DeliveryNotification[]</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Delay</command:parameterValue> <command:parameterValue required="false" variableLength="false">Never</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnFailure</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnSuccess</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: DeliveryStatusNotificationType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryStatusNotificationType</maml:name> <command:parameterValue required="true">DeliveryStatusNotificationType</command:parameterValue> <dev:type> <maml:name>MailKit.Net.Smtp.DeliveryStatusNotificationType</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Unspecified</command:parameterValue> <command:parameterValue required="false" variableLength="false">Full</command:parameterValue> <command:parameterValue required="false" variableLength="false">HeadersOnly</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Encoding</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Default</dev:defaultValue> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LocalDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LocalDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MimeMessagePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MimeMessagePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>587</dev:defaultValue> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureSocketOptions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SecureSocketOptions</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SignOrEncrypt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SignOrEncrypt</maml:name> <command:parameterValue required="true">EmailActionEncryption</command:parameterValue> <dev:type> <maml:name>Mailozaurr.EmailActionEncryption</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESign</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignPkcs7</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMEEncrypt</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignAndEncrypt</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="SkipCertificateValidatation"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>12000</dev:defaultValue> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Username --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Username</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseSsl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseSsl</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: oAuth --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SmtpServer"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePasswordAsSecureString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePasswordAsSecureString</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CertificatePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificateThumbprint --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificateThumbprint</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DeliveryNotificationOption --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryNotificationOption</maml:name> <command:parameterValue required="true">DeliveryNotification[]</command:parameterValue> <dev:type> <maml:name>Mailozaurr.DeliveryNotification[]</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Delay</command:parameterValue> <command:parameterValue required="false" variableLength="false">Never</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnFailure</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnSuccess</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: DeliveryStatusNotificationType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryStatusNotificationType</maml:name> <command:parameterValue required="true">DeliveryStatusNotificationType</command:parameterValue> <dev:type> <maml:name>MailKit.Net.Smtp.DeliveryStatusNotificationType</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Unspecified</command:parameterValue> <command:parameterValue required="false" variableLength="false">Full</command:parameterValue> <command:parameterValue required="false" variableLength="false">HeadersOnly</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Encoding</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Default</dev:defaultValue> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LocalDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LocalDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MimeMessagePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MimeMessagePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OAuth2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="oAuth"> <maml:name>OAuth2</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>587</dev:defaultValue> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureSocketOptions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SecureSocketOptions</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SignOrEncrypt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SignOrEncrypt</maml:name> <command:parameterValue required="true">EmailActionEncryption</command:parameterValue> <dev:type> <maml:name>Mailozaurr.EmailActionEncryption</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESign</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignPkcs7</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMEEncrypt</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignAndEncrypt</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="SkipCertificateValidatation"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>12000</dev:defaultValue> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseSsl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseSsl</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Compatibility --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SmtpServer"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePasswordAsSecureString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePasswordAsSecureString</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CertificatePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificateThumbprint --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificateThumbprint</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DeliveryNotificationOption --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryNotificationOption</maml:name> <command:parameterValue required="true">DeliveryNotification[]</command:parameterValue> <dev:type> <maml:name>Mailozaurr.DeliveryNotification[]</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Delay</command:parameterValue> <command:parameterValue required="false" variableLength="false">Never</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnFailure</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnSuccess</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: DeliveryStatusNotificationType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryStatusNotificationType</maml:name> <command:parameterValue required="true">DeliveryStatusNotificationType</command:parameterValue> <dev:type> <maml:name>MailKit.Net.Smtp.DeliveryStatusNotificationType</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Unspecified</command:parameterValue> <command:parameterValue required="false" variableLength="false">Full</command:parameterValue> <command:parameterValue required="false" variableLength="false">HeadersOnly</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Encoding</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Default</dev:defaultValue> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LocalDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LocalDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MimeMessagePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MimeMessagePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>587</dev:defaultValue> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureSocketOptions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SecureSocketOptions</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SignOrEncrypt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SignOrEncrypt</maml:name> <command:parameterValue required="true">EmailActionEncryption</command:parameterValue> <dev:type> <maml:name>Mailozaurr.EmailActionEncryption</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESign</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignPkcs7</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMEEncrypt</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignAndEncrypt</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="SkipCertificateValidatation"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>12000</dev:defaultValue> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseSsl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseSsl</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: DefaultCredentials --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SmtpServer"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePassword</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePasswordAsSecureString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePasswordAsSecureString</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CertificatePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificateThumbprint --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificateThumbprint</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DeliveryNotificationOption --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryNotificationOption</maml:name> <command:parameterValue required="true">DeliveryNotification[]</command:parameterValue> <dev:type> <maml:name>Mailozaurr.DeliveryNotification[]</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Delay</command:parameterValue> <command:parameterValue required="false" variableLength="false">Never</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnFailure</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnSuccess</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: DeliveryStatusNotificationType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryStatusNotificationType</maml:name> <command:parameterValue required="true">DeliveryStatusNotificationType</command:parameterValue> <dev:type> <maml:name>MailKit.Net.Smtp.DeliveryStatusNotificationType</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Unspecified</command:parameterValue> <command:parameterValue required="false" variableLength="false">Full</command:parameterValue> <command:parameterValue required="false" variableLength="false">HeadersOnly</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Encoding</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Default</dev:defaultValue> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LocalDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LocalDomain</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MimeMessagePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MimeMessagePath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>587</dev:defaultValue> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureSocketOptions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SecureSocketOptions</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SignOrEncrypt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SignOrEncrypt</maml:name> <command:parameterValue required="true">EmailActionEncryption</command:parameterValue> <dev:type> <maml:name>Mailozaurr.EmailActionEncryption</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESign</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignPkcs7</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMEEncrypt</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignAndEncrypt</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="SkipCertificateValidatation"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>12000</dev:defaultValue> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseDefaultCredentials --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseDefaultCredentials</maml:name> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UseSsl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseSsl</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Graph --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotSaveToSentItems --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DoNotSaveToSentItems</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Graph --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Graph</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RequestDeliveryReceipt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RequestDeliveryReceipt</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RequestReadReceipt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RequestReadReceipt</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: MgGraphRequest --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DoNotSaveToSentItems --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DoNotSaveToSentItems</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Graph --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Graph</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MgGraphRequest --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MgGraphRequest</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RequestDeliveryReceipt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RequestDeliveryReceipt</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RequestReadReceipt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RequestReadReceipt</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: SendGrid --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SendGrid --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SendGrid</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SeparateTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SeparateTo</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: EmailProviders --> <command:syntaxItem> <maml:name>Send-EmailMessage</maml:name> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: EmailProvider --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>EmailProvider</maml:name> <command:parameterValue required="true">EmailProvider</command:parameterValue> <dev:type> <maml:name>Mailozaurr.EmailProvider</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">SendGrid</command:parameterValue> <command:parameterValue required="false" variableLength="false">Mailgun</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named" aliases="SmtpServer"> <maml:name>Server</maml:name> <maml:description> <maml:para>Specifies the SMTP server to use for sending the email message. Required for SMTP scenarios.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <maml:description> <maml:para>Specifies the port to use on the SMTP server. The default is 587.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>587</dev:defaultValue> </command:parameter> <!-- Parameter: From --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>From</maml:name> <maml:description> <maml:para>Specifies the sender's email address. Can be a string or a hashtable with Name and Email keys.</maml:para> </maml:description> <command:parameterValue required="true">object</command:parameterValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ReplyTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ReplyTo</maml:name> <maml:description> <maml:para>Specifies the reply-to address for the email. If not set, defaults to the From address.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Cc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Cc</maml:name> <maml:description> <maml:para>Specifies the email addresses to which a carbon copy (CC) of the email message is sent.</maml:para> </maml:description> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Bcc --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Bcc</maml:name> <maml:description> <maml:para>Specifies the email addresses that receive a blind carbon copy (BCC) of the email message.</maml:para> </maml:description> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: To --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>To</maml:name> <maml:description> <maml:para>Specifies the recipient email addresses. Accepts a single address or an array of addresses.</maml:para> </maml:description> <command:parameterValue required="true">object[]</command:parameterValue> <dev:type> <maml:name>System.Object[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Subject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Subject</maml:name> <maml:description> <maml:para>Specifies the subject of the email message.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Priority --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Importance"> <maml:name>Priority</maml:name> <maml:description> <maml:para>Specifies the priority of the email message. Acceptable values are Normal, High, and Low.</maml:para> <maml:para>Possible values: High, Low, Normal</maml:para> </maml:description> <command:parameterValue required="true">MessagePriority</command:parameterValue> <dev:type> <maml:name>Mailozaurr.MessagePriority</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>High</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">High</command:parameterValue> <command:parameterValue required="false" variableLength="false">Low</command:parameterValue> <command:parameterValue required="false" variableLength="false">Normal</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Encoding --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Encoding</maml:name> <maml:description> <maml:para>Specifies the encoding for the email message. Recommended to leave as default. Acceptable values: ASCII, BigEndianUnicode, Default, Unicode, UTF32, UTF7, UTF8.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Default</dev:defaultValue> </command:parameter> <!-- Parameter: DeliveryNotificationOption --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryNotificationOption</maml:name> <maml:description> <maml:para>Specifies the delivery notification options for the email message. Multiple options can be chosen.</maml:para> <maml:para>Possible values: None, Delay, Never, OnFailure, OnSuccess</maml:para> </maml:description> <command:parameterValue required="true">DeliveryNotification[]</command:parameterValue> <dev:type> <maml:name>Mailozaurr.DeliveryNotification[]</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Delay</command:parameterValue> <command:parameterValue required="false" variableLength="false">Never</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnFailure</command:parameterValue> <command:parameterValue required="false" variableLength="false">OnSuccess</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: DeliveryStatusNotificationType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DeliveryStatusNotificationType</maml:name> <maml:description> <maml:para>Specifies the delivery status notification type. Options are Full, HeadersOnly, Unspecified.</maml:para> <maml:para>Possible values: Unspecified, Full, HeadersOnly</maml:para> </maml:description> <command:parameterValue required="true">DeliveryStatusNotificationType</command:parameterValue> <dev:type> <maml:name>MailKit.Net.Smtp.DeliveryStatusNotificationType</maml:name> <maml:uri /> </dev:type> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">Unspecified</command:parameterValue> <command:parameterValue required="false" variableLength="false">Full</command:parameterValue> <command:parameterValue required="false" variableLength="false">HeadersOnly</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Specifies a user account or API key/token for authentication. Used for SMTP, SendGrid, and Graph API.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Username --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Username</maml:name> <maml:description> <maml:para>Specifies the username for SMTP authentication. Used with Password.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <maml:description> <maml:para>Specifies the password for SMTP authentication. Used with Username. Can be clear text or secure string.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureSocketOptions --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SecureSocketOptions</maml:name> <maml:description> <maml:para>Specifies the secure socket options for SMTP connection. Options: None, Auto, StartTls, StartTlsWhenAvailable, SslOnConnect. Default is Auto.</maml:para> <maml:para>Possible values: None, Auto, SslOnConnect, StartTls, StartTlsWhenAvailable</maml:para> </maml:description> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: UseSsl --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseSsl</maml:name> <maml:description> <maml:para>Enables the use of SSL/TLS for the SMTP connection. Recommended to use SecureSocketOptions instead.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <maml:description> <maml:para>Skips certificate revocation check during SMTP connection.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="SkipCertificateValidatation"> <maml:name>SkipCertificateValidation</maml:name> <maml:description> <maml:para>Skips certificate validation. Useful for self-signed certificates or IP-based SMTP servers.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: HTML --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Body,HtmlBody"> <maml:name>HTML</maml:name> <maml:description> <maml:para>Specifies the HTML body of the email message. Use for rich content emails. Alias: Body, HtmlBody.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Text --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="TextBody"> <maml:name>Text</maml:name> <maml:description> <maml:para>Specifies the plain text body of the email message. Alias: TextBody.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Attachment --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="Attachments"> <maml:name>Attachment</maml:name> <maml:description> <maml:para>Specifies file paths to attach to the email message. Alias: Attachments.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timeout --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Timeout</maml:name> <maml:description> <maml:para>Specifies the maximum time (in milliseconds) to wait for the SMTP operation to complete. Default is 12000.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>12000</dev:defaultValue> </command:parameter> <!-- Parameter: OAuth2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named" aliases="oAuth"> <maml:name>OAuth2</maml:name> <maml:description> <maml:para>Enables sending email via OAuth2 authentication for SMTP.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RequestReadReceipt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RequestReadReceipt</maml:name> <maml:description> <maml:para>Requests a read receipt for the email message (Graph API only).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: RequestDeliveryReceipt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RequestDeliveryReceipt</maml:name> <maml:description> <maml:para>Requests a delivery receipt for the email message (Graph API only).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Graph --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Graph</maml:name> <maml:description> <maml:para>Enables sending email via Microsoft Graph API.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: MgGraphRequest --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MgGraphRequest</maml:name> <maml:description> <maml:para>Enables sending email via Microsoft Graph API using Invoke-MgGraphRequest (requires Connect-MgGraph authentication).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: AsSecureString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>AsSecureString</maml:name> <maml:description> <maml:para>Indicates that the provided password is a SecureString.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SendGrid --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SendGrid</maml:name> <maml:description> <maml:para>Enables sending email via SendGrid API.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SeparateTo --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SeparateTo</maml:name> <maml:description> <maml:para>Sends each recipient in the To field as a separate email (SendGrid only). BCC/CC are ignored in this mode.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: DoNotSaveToSentItems --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DoNotSaveToSentItems</maml:name> <maml:description> <maml:para>Prevents saving the email to Sent Items (Graph API only).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Suppress --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Suppress</maml:name> <maml:description> <maml:para>Suppresses output of the summary object.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogPath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogPath</maml:name> <maml:description> <maml:para>Specifies the path to save the communication log with the server.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogConsole --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogConsole</maml:name> <maml:description> <maml:para>Enables logging of communication with the server to the console.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogObject --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogObject</maml:name> <maml:description> <maml:para>Enables logging of communication with the server to an object as a message property.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimestamps --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimestamps</maml:name> <maml:description> <maml:para>Enables timestamps in the log output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogSecrets --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogSecrets</maml:name> <maml:description> <maml:para>Includes secrets in the log output.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: LogTimeStampsFormat --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogTimeStampsFormat</maml:name> <maml:description> <maml:para>Specifies the format for timestamps in the log file.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogServerPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogServerPrefix</maml:name> <maml:description> <maml:para>Sets the log prefix for the server.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LogClientPrefix --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LogClientPrefix</maml:name> <maml:description> <maml:para>Sets the log prefix for the client.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MimeMessagePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>MimeMessagePath</maml:name> <maml:description> <maml:para>Saves the email message to a file for troubleshooting purposes.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LocalDomain --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>LocalDomain</maml:name> <maml:description> <maml:para>Specifies the local domain name for the SMTP client.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UseDefaultCredentials --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>UseDefaultCredentials</maml:name> <maml:description> <maml:para>Enables the use of default credentials for SMTP authentication.</maml:para> </maml:description> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SignOrEncrypt --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SignOrEncrypt</maml:name> <maml:description> <maml:para>Specifies whether to sign or encrypt the email message. Requires certificate parameters.</maml:para> <maml:para>Possible values: None, SMIMESign, SMIMESignPkcs7, SMIMEEncrypt, SMIMESignAndEncrypt</maml:para> </maml:description> <command:parameterValue required="true">EmailActionEncryption</command:parameterValue> <dev:type> <maml:name>Mailozaurr.EmailActionEncryption</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESign</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignPkcs7</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMEEncrypt</command:parameterValue> <command:parameterValue required="false" variableLength="false">SMIMESignAndEncrypt</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: CertificatePath --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePath</maml:name> <maml:description> <maml:para>Specifies the path to the certificate used for signing or encrypting the email.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePassword --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePassword</maml:name> <maml:description> <maml:para>Specifies the password for the certificate used in signing or encrypting the email.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CertificatePasswordAsSecureString --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificatePasswordAsSecureString</maml:name> <maml:description> <maml:para>Indicates that the certificate password is provided as a SecureString.</maml:para> </maml:description> <command:parameterValue required="true">bool</command:parameterValue> <dev:type> <maml:name>System.Boolean</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: CertificateThumbprint --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>CertificateThumbprint</maml:name> <maml:description> <maml:para>Specifies the thumbprint of the certificate used for signing or encrypting the email.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: EmailProvider --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>EmailProvider</maml:name> <maml:description> <maml:para>Specifies the email provider to use (e.g., SendGrid, Mailgun, etc.).</maml:para> <maml:para>Possible values: None, SendGrid, Mailgun</maml:para> </maml:description> <command:parameterValue required="true">EmailProvider</command:parameterValue> <dev:type> <maml:name>Mailozaurr.EmailProvider</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">SendGrid</command:parameterValue> <command:parameterValue required="false" variableLength="false">Mailgun</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Send a basic email via SMTP with credentials ----------</maml:title> <maml:introduction> <maml:para>PS> </maml:para> </maml:introduction> <dev:code>Send-EmailMessage -From @{ Name = 'John Doe'; Email = 'john.doe@example.com' } -To 'recipient@example.com' -Server 'smtp.office365.com' -Credential (Get-Credential) -HTML 'Hello' -Subject 'Test Email'</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Send an email with an attachment and high priority ----------</maml:title> <maml:introduction> <maml:para>PS> </maml:para> </maml:introduction> <dev:code>Send-EmailMessage -From 'john.doe@example.com' -To 'recipient@example.com' -Subject 'Report' -Body 'See attached.' -Attachment 'C:\Reports\report.pdf' -Priority High -Server 'smtp.office365.com' -Credential (Get-Credential)</dev:code> </command:example> <command:example> <maml:title>---------- Example 3: Send an email using SendGrid API ----------</maml:title> <maml:introduction> <maml:para>PS> </maml:para> </maml:introduction> <dev:code>$cred = ConvertTo-SendGridCredential -ApiKey 'YOUR_SENDGRID_KEY' Send-EmailMessage -From 'john.doe@example.com' -To 'recipient@example.com' -Subject 'SendGrid Test' -Body 'Hello from SendGrid' -SendGrid -Credential $cred</dev:code> </command:example> <command:example> <maml:title>---------- Example 4: Send an email using Microsoft Graph API ----------</maml:title> <maml:introduction> <maml:para>PS> </maml:para> </maml:introduction> <dev:code>$cred = ConvertTo-GraphCredential -ClientID 'CLIENT_ID' -ClientSecret 'SECRET' -DirectoryID 'TENANT_ID' Send-EmailMessage -From @{ Name = 'John Doe'; Email = 'john.doe@example.com' } -To 'recipient@example.com' -Credential $cred -HTML 'Hello' -Subject 'Graph API Email' -Graph</dev:code> </command:example> </command:examples> <maml:relatedLinks> <maml:navigationLink> <maml:linkText>Mailozaurr Documentation</maml:linkText> <maml:uri>https://github.com/EvotecIT/Mailozaurr</maml:uri> </maml:navigationLink> </maml:relatedLinks> </command:command> <!-- Cmdlet: ConvertFrom-EmlToMsg --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertFrom-EmlToMsg</command:name> <command:verb>ConvertFrom</command:verb> <command:noun>EmlToMsg</command:noun> <maml:description> <maml:para>Converts EML files to MSG format for compatibility with Microsoft Outlook and other clients.</maml:para> <maml:para>The ConvertFrom-EmlToMsg cmdlet converts one or more EML files to MSG format. Specify the input EML file paths and the output folder. The cmdlet processes each EML file and saves the converted MSG file in the specified output folder. Supports overwriting existing files with the -Force parameter.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>ConvertFrom-EmlToMsg</maml:name> <!-- Parameter: InputPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>InputPath</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1" aliases="OutputPath"> <maml:name>OutputFolder</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Force --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Force</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: OutputFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1" aliases="OutputPath"> <maml:name>OutputFolder</maml:name> <maml:description> <maml:para>Specifies the folder where the converted MSG files will be saved. This parameter is mandatory.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Force --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Force</maml:name> <maml:description> <maml:para>If set, the cmdlet will overwrite existing MSG files without prompting.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: InputPath --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>InputPath</maml:name> <maml:description> <maml:para>Specifies the paths to the EML files to convert. Accepts an array of strings. This parameter is mandatory.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Convert multiple EML files to MSG format ----------</maml:title> <dev:code>ConvertFrom-EmlToMsg -InputPath "C:\Mail\mail1.eml","C:\Mail\mail2.eml" -OutputFolder "C:\Converted"</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Convert EML files and overwrite existing MSG files ----------</maml:title> <dev:code>ConvertFrom-EmlToMsg -InputPath "C:\Mail\*.eml" -OutputFolder "C:\Converted" -Force</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: ConvertTo-GraphCredential --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertTo-GraphCredential</command:name> <command:verb>ConvertTo</command:verb> <command:noun>GraphCredential</command:noun> <maml:description> <maml:para>Creates a PSCredential object for Microsoft Graph authentication from client ID, secret, and directory ID.</maml:para> <maml:para>The ConvertTo-GraphCredential cmdlet creates a PSCredential object suitable for Microsoft Graph authentication, using the provided client ID, client secret (clear or encrypted), and directory (tenant) ID. The resulting credential can be used with cmdlets that require Graph authentication.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ClearText --> <command:syntaxItem> <maml:name>ConvertTo-GraphCredential</maml:name> <!-- Parameter: ClientId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: Encrypted --> <command:syntaxItem> <maml:name>ConvertTo-GraphCredential</maml:name> <!-- Parameter: ClientId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecretEncrypted --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecretEncrypted</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ClientId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <maml:description> <maml:para>Specifies the client ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <maml:description> <maml:para>Specifies the client secret in clear text. Use only with the ClearText parameter set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecretEncrypted --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecretEncrypted</maml:name> <maml:description> <maml:para>Specifies the client secret in encrypted form. Use only with the Encrypted parameter set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <maml:description> <maml:para>Specifies the directory (tenant) ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: PSCredential --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Create a Graph credential from clear text secret ----------</maml:title> <dev:code>ConvertTo-GraphCredential -ClientId "id" -ClientSecret "secret" -DirectoryId "tenant"</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Create a Graph credential from encrypted secret ----------</maml:title> <dev:code>ConvertTo-GraphCredential -ClientId "id" -ClientSecretEncrypted "..." -DirectoryId "tenant"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Connect-IMAP --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Connect-IMAP</command:name> <command:verb>Connect</command:verb> <command:noun>IMAP</command:noun> <maml:description> <maml:para>Connects to an IMAP server and authenticates using credentials, OAuth2, or clear text.</maml:para> <maml:para>The Connect-IMAP cmdlet establishes a connection to an IMAP server using MailKit. It supports multiple authentication methods, including OAuth2, PSCredential, and clear text username/password. The cmdlet returns an ImapConnectionInfo object containing connection details and the authenticated client for further use in subsequent cmdlets.</maml:para> <maml:para>Supports advanced options such as certificate validation skipping, custom timeouts, and secure socket options. Designed for secure, flexible, and scriptable IMAP connectivity in PowerShell automation scenarios.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: oAuth2 --> <command:syntaxItem> <maml:name>Connect-IMAP</maml:name> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: oAuth2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>oAuth2</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>993</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Credential --> <command:syntaxItem> <maml:name>Connect-IMAP</maml:name> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>993</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: ClearText --> <command:syntaxItem> <maml:name>Connect-IMAP</maml:name> <!-- Parameter: Password --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>993</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <maml:description> <maml:para>Specifies the IMAP server hostname or IP address to connect to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <maml:description> <maml:para>Specifies the port to use for the IMAP connection. Default is 993 (IMAPS).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>993</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <maml:description> <maml:para>Skips certificate revocation checks during the connection. Useful for environments with limited certificate infrastructure.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <maml:description> <maml:para>Skips certificate validation. Use with caution; only for trusted/test environments or self-signed certificates.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Specifies the username for clear text authentication. Required for the ClearText parameter set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <maml:description> <maml:para>Specifies the password for clear text authentication. Required for the ClearText parameter set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Specifies a PSCredential object for authentication. Used for OAuth2 or standard credential-based authentication.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <maml:description> <maml:para>Specifies the secure socket options for the IMAP connection. Default is Auto. Options: None, Auto, SslOnConnect, StartTls, StartTlsWhenAvailable.</maml:para> <maml:para>Possible values: None, Auto, SslOnConnect, StartTls, StartTlsWhenAvailable</maml:para> </maml:description> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <maml:description> <maml:para>Specifies the connection timeout in milliseconds. Default is 120000 (2 minutes).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> <!-- Parameter: oAuth2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>oAuth2</maml:name> <maml:description> <maml:para>Enables OAuth2 authentication. Use with a PSCredential object containing the access token as the password.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Connect to an IMAP server using credentials ----------</maml:title> <dev:code>Connect-IMAP -Server "imap.example.com" -Credential (Get-Credential)</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Connect to Gmail IMAP using OAuth2 ----------</maml:title> <dev:code>$cred = Connect-OAuthGoogle -GmailAccount "user@gmail.com" -ClientID "id" -ClientSecret "secret" Connect-IMAP -Server "imap.gmail.com" -Credential $cred -oAuth2</dev:code> </command:example> <command:example> <maml:title>---------- Example 3: Connect to an IMAP server with clear text username and password ----------</maml:title> <dev:code>Connect-IMAP -Server "imap.example.com" -UserName "user" -Password "pass"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Disconnect-IMAP --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Disconnect-IMAP</command:name> <command:verb>Disconnect</command:verb> <command:noun>IMAP</command:noun> <maml:description> <maml:para>Disconnects an active IMAP connection previously established with Connect-IMAP.</maml:para> <maml:para>The Disconnect-IMAP cmdlet disconnects an active MailKit IMAP client session. Pass the ImapConnectionInfo object returned by Connect-IMAP to this cmdlet to safely close the connection and release resources.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Disconnect-IMAP</maml:name> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <command:parameterValue required="true">ImapConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful IMAP connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <maml:description> <maml:para>The ImapConnectionInfo object containing the MailKit IMAP client instance to disconnect. This is the object returned by Connect-IMAP.</maml:para> </maml:description> <command:parameterValue required="true">ImapConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful IMAP connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Disconnect an IMAP client ----------</maml:title> <dev:code>$client = Connect-IMAP ...; Disconnect-IMAP -Client $client</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-IMAPFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-IMAPFolder</command:name> <command:verb>Get</command:verb> <command:noun>IMAPFolder</command:noun> <maml:description> <maml:para>Retrieves the IMAP inbox folder and updates message counts for an active IMAP connection.</maml:para> <maml:para>The Get-IMAPFolder cmdlet opens the inbox folder for the provided ImapConnectionInfo object (from Connect-IMAP), updates message and recent counts, and returns the updated connection info. Use this to refresh folder state or after connecting to an IMAP server.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-IMAPFolder</maml:name> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <command:parameterValue required="true">ImapConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful IMAP connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: FolderAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderAccess</maml:name> <command:parameterValue required="true">FolderAccess</command:parameterValue> <dev:type> <maml:name>MailKit.FolderAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>ReadOnly</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadOnly</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadWrite</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <maml:description> <maml:para>The ImapConnectionInfo object representing the active IMAP connection. This is the object returned by Connect-IMAP.</maml:para> </maml:description> <command:parameterValue required="true">ImapConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful IMAP connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: FolderAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderAccess</maml:name> <maml:description> <maml:para>Specifies the folder access mode (ReadOnly or ReadWrite). Default is ReadOnly.</maml:para> <maml:para>Possible values: None, ReadOnly, ReadWrite</maml:para> </maml:description> <command:parameterValue required="true">FolderAccess</command:parameterValue> <dev:type> <maml:name>MailKit.FolderAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>ReadOnly</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadOnly</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadWrite</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Get the inbox folder and message counts ----------</maml:title> <dev:code>$client = Connect-IMAP ...; Get-IMAPFolder -Client $client</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-IMAPMessage --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-IMAPMessage</command:name> <command:verb>Get</command:verb> <command:noun>IMAPMessage</command:noun> <maml:description> <maml:para>Retrieves the IMAP inbox folder and prepares the client for message retrieval.</maml:para> <maml:para>The Get-IMAPMessage cmdlet opens the inbox folder for the provided ImapConnectionInfo object (from Connect-IMAP), sets up the folder for message retrieval, and returns the updated connection info. Use this before fetching messages from the IMAP server.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-IMAPMessage</maml:name> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <command:parameterValue required="true">ImapConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful IMAP connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: FolderAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderAccess</maml:name> <command:parameterValue required="true">FolderAccess</command:parameterValue> <dev:type> <maml:name>MailKit.FolderAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>ReadOnly</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadOnly</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadWrite</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <maml:description> <maml:para>The ImapConnectionInfo object representing the active IMAP connection. This is the object returned by Connect-IMAP.</maml:para> </maml:description> <command:parameterValue required="true">ImapConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful IMAP connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: FolderAccess --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>FolderAccess</maml:name> <maml:description> <maml:para>Specifies the folder access mode (ReadOnly or ReadWrite). Default is ReadOnly.</maml:para> <maml:para>Possible values: None, ReadOnly, ReadWrite</maml:para> </maml:description> <command:parameterValue required="true">FolderAccess</command:parameterValue> <dev:type> <maml:name>MailKit.FolderAccess</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>ReadOnly</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadOnly</command:parameterValue> <command:parameterValue required="false" variableLength="false">ReadWrite</command:parameterValue> </command:parameterValueGroup> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Mailozaurr.PowerShell.ImapConnectionInfo</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Prepare the IMAP client for message retrieval ----------</maml:title> <dev:code>$client = Connect-IMAP ...; Get-IMAPMessage -Client $client</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Import-MailFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Import-MailFile</command:name> <command:verb>Import</command:verb> <command:noun>MailFile</command:noun> <maml:description> <maml:para>Imports a .msg or .eml mail file and returns its contents as a message object.</maml:para> <maml:para>The Import-MailFile cmdlet loads a .msg (Outlook) or .eml (RFC822) file from disk and returns a message object for further processing, inspection, or conversion. Supports both file types and provides warnings for unsupported files or errors.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Import-MailFile</maml:name> <!-- Parameter: InputPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="FilePath,Path"> <maml:name>InputPath</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: InputPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0" aliases="FilePath,Path"> <maml:name>InputPath</maml:name> <maml:description> <maml:para>Specifies the path to the .msg or .eml file to import. Accepts aliases FilePath and Path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Import a .msg file ----------</maml:title> <dev:code>Import-MailFile -InputPath "C:\Mail\message.msg"</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Import a .eml file ----------</maml:title> <dev:code>Import-MailFile -InputPath "C:\Mail\message.eml"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-MailFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-MailFolder</command:name> <command:verb>Get</command:verb> <command:noun>MailFolder</command:noun> <maml:description> <maml:para>Retrieves mail folders for a user via Microsoft Graph API.</maml:para> <maml:para>The Get-MailFolder cmdlet retrieves mail folders for the specified user principal name (email address) using Microsoft Graph API. You can specify client credentials directly or use a PSCredential object. Returns folder objects for use in further automation or reporting.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-MailFolder</maml:name> <!-- Parameter: UserPrincipalName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserPrincipalName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserPrincipalName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> <maml:para>Specifies the user principal name (email address) whose mail folders will be retrieved.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <maml:description> <maml:para>Specifies the client ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <maml:description> <maml:para>Specifies the client secret for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <maml:description> <maml:para>Specifies the directory (tenant) ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: Object --> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Get mail folders for a user ----------</maml:title> <dev:code>Get-MailFolder -UserPrincipalName "user@domain.com" -ClientId "id" -ClientSecret "secret" -DirectoryId "tenant"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-MailMessage --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-MailMessage</command:name> <command:verb>Get</command:verb> <command:noun>MailMessage</command:noun> <maml:description> <maml:para>Retrieves mail messages for a user via Microsoft Graph API.</maml:para> <maml:para>The Get-MailMessage cmdlet retrieves mail messages for the specified user principal name (email address) using Microsoft Graph API. You can specify client credentials directly or use a PSCredential object. Supports filtering, property selection, and limiting the number of results. Returns messages as PSObjects for further automation or reporting.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-MailMessage</maml:name> <!-- Parameter: UserPrincipalName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserPrincipalName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Limit</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Property --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Property</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserPrincipalName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> <maml:para>Specifies the user principal name (email address) whose mail messages will be retrieved.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <maml:description> <maml:para>Specifies the client ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <maml:description> <maml:para>Specifies the client secret for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <maml:description> <maml:para>Specifies the directory (tenant) ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Property --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Property</maml:name> <maml:description> <maml:para>Specifies the properties to retrieve for each mail message.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Filter --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Filter</maml:name> <maml:description> <maml:para>Specifies an OData filter string to filter the mail messages.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Limit</maml:name> <maml:description> <maml:para>Specifies the maximum number of mail messages to retrieve.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Specifies a PSCredential object for Microsoft Graph authentication. Username should be in the format clientid@directoryid.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: PSObject --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSObject</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Get mail messages for a user ----------</maml:title> <dev:code>Get-MailMessage -UserPrincipalName "user@domain.com" -ClientId "id" -ClientSecret "secret" -DirectoryId "tenant"</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Get mail messages with a filter and limit ----------</maml:title> <dev:code>Get-MailMessage -UserPrincipalName "user@domain.com" -Filter "subject eq 'Test'" -Limit 10</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-MailMessage --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-MailMessage</command:name> <command:verb>Save</command:verb> <command:noun>MailMessage</command:noun> <maml:description> <maml:para>Saves Microsoft Graph email messages to disk in a specified format.</maml:para> <maml:para>The Save-MailMessage cmdlet saves one or more GraphEmailMessage objects to disk at the specified path. Use this to archive, export, or process messages retrieved from Microsoft Graph.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Save-MailMessage</maml:name> <!-- Parameter: Message --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Message</maml:name> <command:parameterValue required="true">GraphEmailMessage[]</command:parameterValue> <dev:type> <maml:name>Mailozaurr.GraphEmailMessage[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Message --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="named"> <maml:name>Message</maml:name> <maml:description> <maml:para>Specifies the GraphEmailMessage objects to save. Accepts pipeline input.</maml:para> </maml:description> <command:parameterValue required="true">GraphEmailMessage[]</command:parameterValue> <dev:type> <maml:name>Mailozaurr.GraphEmailMessage[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Path</maml:name> <maml:description> <maml:para>Specifies the path where the messages will be saved.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Mailozaurr.GraphEmailMessage[]</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Save mail messages to a folder ----------</maml:title> <dev:code>Get-MailMessage ... | Save-MailMessage -Path "C:\Archive"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-MailMessageAttachment --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-MailMessageAttachment</command:name> <command:verb>Get</command:verb> <command:noun>MailMessageAttachment</command:noun> <maml:description> <maml:para>Retrieves attachments for a specific mail message via Microsoft Graph API.</maml:para> <maml:para>The Get-MailMessageAttachment cmdlet retrieves attachments for the specified mail message ID and user principal name (email address) using Microsoft Graph API. You can specify client credentials directly. Returns attachment objects for further automation or reporting.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-MailMessageAttachment</maml:name> <!-- Parameter: MessageId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>MessageId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserPrincipalName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserPrincipalName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Property --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Property</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserPrincipalName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserPrincipalName</maml:name> <maml:description> <maml:para>Specifies the user principal name (email address) whose mail message attachments will be retrieved.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: MessageId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>MessageId</maml:name> <maml:description> <maml:para>Specifies the message ID for which attachments will be retrieved.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientId</maml:name> <maml:description> <maml:para>Specifies the client ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <maml:description> <maml:para>Specifies the client secret for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: DirectoryId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>DirectoryId</maml:name> <maml:description> <maml:para>Specifies the directory (tenant) ID for Microsoft Graph authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Property --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Property</maml:name> <maml:description> <maml:para>Specifies the properties to retrieve for each attachment.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: Attachment --> <command:returnValue> <dev:type> <maml:name>Mailozaurr.Attachment</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Get attachments for a mail message ----------</maml:title> <dev:code>Get-MailMessageAttachment -UserPrincipalName "user@domain.com" -MessageId "AAMk..." -ClientId "id" -ClientSecret "secret" -DirectoryId "tenant"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: ConvertTo-OAuth2Credential --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertTo-OAuth2Credential</command:name> <command:verb>ConvertTo</command:verb> <command:noun>OAuth2Credential</command:noun> <maml:description> <maml:para>Creates a PSCredential object for OAuth2 authentication from a username and token.</maml:para> <maml:para>The ConvertTo-OAuth2Credential cmdlet creates a PSCredential object suitable for OAuth2 authentication, using the provided username and access token. The resulting credential can be used with cmdlets that require OAuth2 authentication (such as IMAP, SMTP, or POP3 with OAuth2).</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>ConvertTo-OAuth2Credential</maml:name> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Token</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Specifies the username for OAuth2 authentication.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Token</maml:name> <maml:description> <maml:para>Specifies the OAuth2 access token.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: PSCredential --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Create an OAuth2 credential ----------</maml:title> <dev:code>ConvertTo-OAuth2Credential -UserName "user@example.com" -Token "ya29.a0Af..."</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Connect-OAuthGoogle --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Connect-OAuthGoogle</command:name> <command:verb>Connect</command:verb> <command:noun>OAuthGoogle</command:noun> <maml:description> <maml:para>Obtains an OAuth2 access token for a Google (Gmail) account for use with IMAP, SMTP, or other Google APIs.</maml:para> <maml:para>The Connect-OAuthGoogle cmdlet initiates an interactive OAuth2 authentication flow for a Gmail account, returning a PSCredential object containing the access token. This credential can be used with other cmdlets (such as Connect-IMAP) that support OAuth2 authentication.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Connect-OAuthGoogle</maml:name> <!-- Parameter: ClientID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientID</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: GmailAccount --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>GmailAccount</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Scope --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scope</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>https://mail.google.com/</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: GmailAccount --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>GmailAccount</maml:name> <maml:description> <maml:para>Specifies the Gmail account (email address) to authenticate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientID</maml:name> <maml:description> <maml:para>Specifies the OAuth2 client ID from the Google Developer Console.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientSecret</maml:name> <maml:description> <maml:para>Specifies the OAuth2 client secret from the Google Developer Console.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Scope --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scope</maml:name> <maml:description> <maml:para>Specifies the OAuth2 scopes to request. Default is "https://mail.google.com/".</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>https://mail.google.com/</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: PSCredential --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Obtain an OAuth2 credential for Gmail ----------</maml:title> <dev:code>Connect-OAuthGoogle -GmailAccount "user@gmail.com" -ClientID "id" -ClientSecret "secret"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Connect-OAuthO365 --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Connect-OAuthO365</command:name> <command:verb>Connect</command:verb> <command:noun>OAuthO365</command:noun> <maml:description> <maml:para>Obtains an OAuth2 access token for an Office 365 (Microsoft 365) account for use with IMAP, SMTP, or Microsoft Graph.</maml:para> <maml:para>The Connect-OAuthO365 cmdlet initiates an interactive OAuth2 authentication flow for an Office 365 account, returning a PSCredential object containing the access token. This credential can be used with other cmdlets (such as Connect-IMAP or Send-EmailMessage) that support OAuth2 authentication.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Connect-OAuthO365</maml:name> <!-- Parameter: ClientID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientID</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TenantID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>TenantID</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Login --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Login</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RedirectUri --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RedirectUri</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>https://login.microsoftonline.com/common/oauth2/nativeclient</dev:defaultValue> </command:parameter> <!-- Parameter: Scopes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scopes</maml:name> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>email, offline_access, https://outlook.office.com/IMAP.AccessAsUser.All, https://outlook.office.com/POP.AccessAsUser.All, https://outlook.office.com/SMTP.Send</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Login --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Login</maml:name> <maml:description> <maml:para>Specifies the login (user principal name) for the Office 365 account. Optional; if not provided, interactive login is used.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ClientID</maml:name> <maml:description> <maml:para>Specifies the OAuth2 client ID from Azure AD App Registration.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: TenantID --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>TenantID</maml:name> <maml:description> <maml:para>Specifies the Azure AD tenant ID (Directory ID).</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RedirectUri --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>RedirectUri</maml:name> <maml:description> <maml:para>Specifies the redirect URI for the OAuth2 flow. Default is the recommended Microsoft URI.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>https://login.microsoftonline.com/common/oauth2/nativeclient</dev:defaultValue> </command:parameter> <!-- Parameter: Scopes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Scopes</maml:name> <maml:description> <maml:para>Specifies the OAuth2 scopes to request. Default includes IMAP, POP, and SMTP permissions.</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>email, offline_access, https://outlook.office.com/IMAP.AccessAsUser.All, https://outlook.office.com/POP.AccessAsUser.All, https://outlook.office.com/SMTP.Send</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: PSCredential --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Obtain an OAuth2 credential for Office 365 ----------</maml:title> <dev:code>Connect-OAuthO365 -Login "user@tenant.onmicrosoft.com" -ClientID "id" -TenantID "tenant"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Connect-POP --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Connect-POP</command:name> <command:verb>Connect</command:verb> <command:noun>POP</command:noun> <maml:description> <maml:para>Connects to a POP3 server and authenticates using credentials, OAuth2, or clear text.</maml:para> <maml:para>The Connect-POP cmdlet establishes a connection to a POP3 server using MailKit. It supports multiple authentication methods, including OAuth2, PSCredential, and clear text username/password. The cmdlet returns a PopConnectionInfo object containing connection details and the authenticated client for further use in subsequent cmdlets.</maml:para> <maml:para>Supports advanced options such as certificate validation skipping, custom timeouts, and secure socket options. Designed for secure, flexible, and scriptable POP3 connectivity in PowerShell automation scenarios.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: oAuth2 --> <command:syntaxItem> <maml:name>Connect-POP</maml:name> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: oAuth2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>oAuth2</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>995</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: Credential --> <command:syntaxItem> <maml:name>Connect-POP</maml:name> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>995</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: ClearText --> <command:syntaxItem> <maml:name>Connect-POP</maml:name> <!-- Parameter: Password --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserName</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>995</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Server --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Server</maml:name> <maml:description> <maml:para>Specifies the POP3 server hostname or IP address to connect to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Port --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Port</maml:name> <maml:description> <maml:para>Specifies the port to use for the POP3 connection. Default is 995 (POPS).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>995</dev:defaultValue> </command:parameter> <!-- Parameter: UserName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>UserName</maml:name> <maml:description> <maml:para>Specifies the username for clear text authentication. Required for the ClearText parameter set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Password --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Password</maml:name> <maml:description> <maml:para>Specifies the password for clear text authentication. Required for the ClearText parameter set.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Specifies a PSCredential object for authentication. Used for OAuth2 or standard credential-based authentication.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SkipCertificateRevocation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateRevocation</maml:name> <maml:description> <maml:para>Skips certificate revocation checks during the connection. Useful for environments with limited certificate infrastructure.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: SkipCertificateValidation --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SkipCertificateValidation</maml:name> <maml:description> <maml:para>Skips certificate validation. Use with caution; only for trusted/test environments or self-signed certificates.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Options --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Options</maml:name> <maml:description> <maml:para>Specifies the secure socket options for the POP3 connection. Default is Auto. Options: None, Auto, SslOnConnect, StartTls, StartTlsWhenAvailable.</maml:para> <maml:para>Possible values: None, Auto, SslOnConnect, StartTls, StartTlsWhenAvailable</maml:para> </maml:description> <command:parameterValue required="true">SecureSocketOptions</command:parameterValue> <dev:type> <maml:name>MailKit.Security.SecureSocketOptions</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Auto</dev:defaultValue> <command:parameterValueGroup> <command:parameterValue required="false" variableLength="false">None</command:parameterValue> <command:parameterValue required="false" variableLength="false">Auto</command:parameterValue> <command:parameterValue required="false" variableLength="false">SslOnConnect</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTls</command:parameterValue> <command:parameterValue required="false" variableLength="false">StartTlsWhenAvailable</command:parameterValue> </command:parameterValueGroup> </command:parameter> <!-- Parameter: TimeOut --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>TimeOut</maml:name> <maml:description> <maml:para>Specifies the connection timeout in milliseconds. Default is 120000 (2 minutes).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>120000</dev:defaultValue> </command:parameter> <!-- Parameter: oAuth2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>oAuth2</maml:name> <maml:description> <maml:para>Enables OAuth2 authentication. Use with a PSCredential object containing the access token as the password.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Connect to a POP3 server using credentials ----------</maml:title> <dev:code>Connect-POP -Server "pop.example.com" -Credential (Get-Credential)</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Connect to Gmail POP3 using OAuth2 ----------</maml:title> <dev:code>$cred = Connect-OAuthGoogle -GmailAccount "user@gmail.com" -ClientID "id" -ClientSecret "secret" Connect-POP -Server "pop.gmail.com" -Credential $cred -oAuth2</dev:code> </command:example> <command:example> <maml:title>---------- Example 3: Connect to a POP3 server with clear text username and password ----------</maml:title> <dev:code>Connect-POP -Server "pop.example.com" -UserName "user" -Password "pass"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Disconnect-POP --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Disconnect-POP</command:name> <command:verb>Disconnect</command:verb> <command:noun>POP</command:noun> <maml:description> <maml:para>Disconnects an active POP3 connection previously established with Connect-POP.</maml:para> <maml:para>The Disconnect-POP cmdlet disconnects an active MailKit POP3 client session. Pass the PopConnectionInfo object returned by Connect-POP to this cmdlet to safely close the connection and release resources.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Disconnect-POP</maml:name> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <command:parameterValue required="true">PopConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful POP3 connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <maml:description> <maml:para>The PopConnectionInfo object containing the MailKit POP3 client instance to disconnect. This is the object returned by Connect-POP.</maml:para> </maml:description> <command:parameterValue required="true">PopConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful POP3 connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Disconnect a POP3 client ----------</maml:title> <dev:code>$client = Connect-POP ...; Disconnect-POP -Client $client</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-POPMessage --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-POPMessage</command:name> <command:verb>Get</command:verb> <command:noun>POPMessage</command:noun> <maml:description> <maml:para>Retrieves messages from a POP3 mailbox using an active POP3 connection.</maml:para> <maml:para>The Get-POPMessage cmdlet retrieves one or more messages from a POP3 mailbox using the provided PopConnectionInfo object (from Connect-POP). You can specify the message index, count, or use -All to retrieve all messages. Returns message objects for further automation or archiving.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-POPMessage</maml:name> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <command:parameterValue required="true">PopConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful POP3 connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: Index --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Index</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Count --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Count</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1</dev:defaultValue> </command:parameter> <!-- Parameter: All --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>All</maml:name> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <maml:description> <maml:para>The PopConnectionInfo object representing the active POP3 connection. This is the object returned by Connect-POP.</maml:para> </maml:description> <command:parameterValue required="true">PopConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful POP3 connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: Index --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Index</maml:name> <maml:description> <maml:para>Specifies the index of the first message to retrieve. Default is 0 (the first message).</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Count --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>Count</maml:name> <maml:description> <maml:para>Specifies the number of messages to retrieve starting from Index. Default is 1.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1</dev:defaultValue> </command:parameter> <!-- Parameter: All --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>All</maml:name> <maml:description> <maml:para>If set, retrieves all messages from the POP3 mailbox.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Get the first message from a POP3 mailbox ----------</maml:title> <dev:code>$client = Connect-POP ...; Get-POPMessage -Client $client -Index 0</dev:code> </command:example> <command:example> <maml:title>---------- Example 2: Get all messages from a POP3 mailbox ----------</maml:title> <dev:code>$client = Connect-POP ...; Get-POPMessage -Client $client -All</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-POPMessage --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-POPMessage</command:name> <command:verb>Save</command:verb> <command:noun>POPMessage</command:noun> <maml:description> <maml:para>Saves a POP3 message to disk at the specified path.</maml:para> <maml:para>The Save-POPMessage cmdlet saves a message from a POP3 mailbox (using a PopConnectionInfo object from Connect-POP) to disk at the specified path. Use this to archive, export, or process messages retrieved from a POP3 server.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Save-POPMessage</maml:name> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <command:parameterValue required="true">PopConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful POP3 connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: Index --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Index</maml:name> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Path</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Client --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue)" position="0"> <maml:name>Client</maml:name> <maml:description> <maml:para>The PopConnectionInfo object representing the active POP3 connection. This is the object returned by Connect-POP.</maml:para> </maml:description> <command:parameterValue required="true">PopConnectionInfo</command:parameterValue> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> <maml:description> <maml:para>Represents the result of a successful POP3 connection, including the client and connection details.</maml:para> </maml:description> </dev:type> </command:parameter> <!-- Parameter: Index --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Index</maml:name> <maml:description> <maml:para>Specifies the index of the message to save.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Path</maml:name> <maml:description> <maml:para>Specifies the path where the message will be saved.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Mailozaurr.PowerShell.PopConnectionInfo</maml:name> <maml:uri /> </dev:type> </command:inputType> </command:inputTypes> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- Example 1: Save a POP3 message to a file ----------</maml:title> <dev:code>$client = Connect-POP ...; Save-POPMessage -Client $client -Index 0 -Path "C:\Mail\message.eml"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: ConvertTo-SendGridCredential --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertTo-SendGridCredential</command:name> <command:verb>ConvertTo</command:verb> <command:noun>SendGridCredential</command:noun> <maml:description> <maml:para>Creates a PSCredential object for SendGrid API authentication from an API key.</maml:para> <maml:para>The ConvertTo-SendGridCredential cmdlet creates a PSCredential object suitable for SendGrid API authentication, using the provided API key. The resulting credential can be used with cmdlets that require SendGrid authentication (such as Send-EmailMessage with the -SendGrid switch).</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>ConvertTo-SendGridCredential</maml:name> <!-- Parameter: ApiKey --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ApiKey</maml:name> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ApiKey --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>ApiKey</maml:name> <maml:description> <maml:para>Specifies the SendGrid API key.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <!-- OutputType: PSCredential --> <command:returnValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:returnValue> </command:returnValues> <command:examples> <command:example> <maml:title>---------- Example 1: Create a SendGrid credential ----------</maml:title> <dev:code>ConvertTo-SendGridCredential -ApiKey "SG.xxxxx..."</dev:code> </command:example> </command:examples> </command:command> </helpItems> |