Connect-SMIMEIMAPCmdlet

Parameters   Output Objects   Config Settings  

The Connect-SMIMEIMAP cmdlet is used to create a persistent connection object.

Syntax

$cnn = Connect-SMIMEIMAP [parameters]

Remarks

This cmdlet allows you to create a persistent connection object to be used with related cmdlets.

When executing the cmdlet a connection object is returned. Pass this object to the Connection parameter of related cmdlets to use the newly created connection object.

To disconnect call Disconnect-SMIMEIMAP.

Parameter List


The following is the full list of the parameters of the cmdlet with short descriptions. Click on the links for further details.

LogFileThe location of a file to which debug information is written.
AuthMechanismThe authentication mechanism to be used when connecting to the mail server.
CertPasswordThe password to the certificate store.
ConfigSpecifies one or more configuration settings.
CredentialThe PSCredential object to use for user/password authentication.
FirewallHostName or IP address of firewall.
FirewallPasswordA password if authentication is to be used when connecting through the firewall.
FirewallPortThe port of the firewall to which to connect.
FirewallTypeDetermines the type of firewall to connect through.
FirewallUserA user name if authentication is to be used connecting through a firewall.
ForceForces the component to accept the default behavior instead of querying the user.
LocalIPThe IP address of the local interface to use.
LogFileThe location of a file to which debug information is written.
PasswordThe password to use for authentication.
PortThe TCP port in the remote host to which to connect.
ServerThe address of the Server.
TimeoutThe maximum time allowed for the operation.
UserThe username to use for authentication.

Output Objects


The following is the full list of the output objects returned by the cmdlet with short descriptions. Click on the links for further details.

SMIMEIMAPConnectionThe connection object.

Config Settings


The following is a list of config settings for the cmdlet with short descriptions. Click on the links for further details.

BuildInfoInformation about the product's build.
CodePageThe system code page used for Unicode to Multibyte translations.
LicenseInfoInformation about the current license.
MaskSensitiveWhether sensitive data is masked in log messages.
UseInternalSecurityAPITells the component whether or not to use the system security libraries or an internal implementation.

LogFile Parameter (Connect-SMIMEIMAP Cmdlet)

The location of a file to which debug information is written.

Syntax

Connect-SMIMEIMAP -LogFile string

Remarks

When specified, the cmdlet will log debug information to the file. If the file exists, the information will be appended.

Default Value

null

ACL Parameter (Connect-SMIMEIMAP Cmdlet)

Indicates whether or not to list the mailbox ACLs.

Syntax

Connect-SMIMEIMAP -ACL SwitchParameter

Remarks

Default Value

false

AuthMechanism Parameter (Connect-SMIMEIMAP Cmdlet)

The authentication mechanism to be used when connecting to the mail server.

Syntax

Connect-SMIMEIMAP -AuthMechanism string

Remarks

Default Value

0

CertPassword Parameter (Connect-SMIMEIMAP Cmdlet)

The password to the certificate store.

Syntax

Connect-SMIMEIMAP -CertPassword string

Remarks

Default Value

""

Parameter Alias

CertificatePassword

CertStore Parameter (Connect-SMIMEIMAP Cmdlet)

The name of the certificate store for the decryption certificate.

Syntax

Connect-SMIMEIMAP -CertStore string

Remarks

Default Value

"MY"

CertStoreType Parameter (Connect-SMIMEIMAP Cmdlet)

The type of certificate store for the decryption certificate.

Syntax

Connect-SMIMEIMAP -CertStoreType string

Remarks

Default Value

0

CertSubject Parameter (Connect-SMIMEIMAP Cmdlet)

The subject of the certificate used for decryption.

Syntax

Connect-SMIMEIMAP -CertSubject string

Remarks

Default Value

"*"

Config Parameter (Connect-SMIMEIMAP Cmdlet)

Specifies one or more configuration settings.

Syntax

Connect-SMIMEIMAP -Config string[]

Remarks

Default Value

null

Credential Parameter (Connect-SMIMEIMAP Cmdlet)

The PSCredential object to use for user/password authentication.

Syntax

Connect-SMIMEIMAP -Credential PSCredential

Remarks

Default Value

null

Parameter Position

1

Parameter Alias

auth

FirewallHost Parameter (Connect-SMIMEIMAP Cmdlet)

Name or IP address of firewall.

Syntax

Connect-SMIMEIMAP -FirewallHost string

Remarks

Default Value

""

FirewallPassword Parameter (Connect-SMIMEIMAP Cmdlet)

A password if authentication is to be used when connecting through the firewall.

Syntax

Connect-SMIMEIMAP -FirewallPassword string

Remarks

Default Value

""

FirewallPort Parameter (Connect-SMIMEIMAP Cmdlet)

The port of the firewall to which to connect.

Syntax

Connect-SMIMEIMAP -FirewallPort int

Remarks

Default Value

0

FirewallType Parameter (Connect-SMIMEIMAP Cmdlet)

Determines the type of firewall to connect through.

Syntax

Connect-SMIMEIMAP -FirewallType string

Remarks

Default Value

0

FirewallUser Parameter (Connect-SMIMEIMAP Cmdlet)

A user name if authentication is to be used connecting through a firewall.

Syntax

Connect-SMIMEIMAP -FirewallUser string

Remarks

Default Value

""

Folder Parameter (Connect-SMIMEIMAP Cmdlet)

The IMAP folder to which to connect.

Syntax

Connect-SMIMEIMAP -Folder string

Remarks

Default Value

""

Parameter Alias

Mailbox

Force Parameter (Connect-SMIMEIMAP Cmdlet)

Forces the component to accept the default behavior instead of querying the user.

Syntax

Connect-SMIMEIMAP -Force SwitchParameter

Remarks

Default Value

false

HeadersOnly Parameter (Connect-SMIMEIMAP Cmdlet)

If true, only message headers will be fetched.

Syntax

Connect-SMIMEIMAP -HeadersOnly SwitchParameter

Remarks

Default Value

false

List Parameter (Connect-SMIMEIMAP Cmdlet)

Number of messages to list.

Syntax

Connect-SMIMEIMAP -List int

Remarks

Default Value

0

Parameter Alias

Last

ListFolders Parameter (Connect-SMIMEIMAP Cmdlet)

Indicates whether or not to perform a List Mailboxes operation on the IMAP server.

Syntax

Connect-SMIMEIMAP -ListFolders SwitchParameter

Remarks

Default Value

false

Parameter Alias

ListMailboxes

LocalFile Parameter (Connect-SMIMEIMAP Cmdlet)

Part is stored here if this property is set.

Syntax

Connect-SMIMEIMAP -LocalFile string

Remarks

Default Value

""

LocalIP Parameter (Connect-SMIMEIMAP Cmdlet)

The IP address of the local interface to use.

Syntax

Connect-SMIMEIMAP -LocalIP string

Remarks

Default Value

""

Parameter Alias

LocalAddress

LogFile Parameter (Connect-SMIMEIMAP Cmdlet)

The location of a file to which debug information is written.

Syntax

Connect-SMIMEIMAP -LogFile string

Remarks

Default Value

""

Part Parameter (Connect-SMIMEIMAP Cmdlet)

If set, the component will retrieve the content of the part from the server.

Syntax

Connect-SMIMEIMAP -Part string

Remarks

Default Value

""

Password Parameter (Connect-SMIMEIMAP Cmdlet)

The password to use for authentication.

Syntax

Connect-SMIMEIMAP -Password string

Remarks

Default Value

""

Port Parameter (Connect-SMIMEIMAP Cmdlet)

The TCP port in the remote host to which to connect.

Syntax

Connect-SMIMEIMAP -Port int

Remarks

Default Value

143

Server Parameter (Connect-SMIMEIMAP Cmdlet)

The address of the Server.

Syntax

Connect-SMIMEIMAP -Server string

Remarks

Default Value

""

Parameter Position

0

This is a required parameter.

SignerCertPassword Parameter (Connect-SMIMEIMAP Cmdlet)

The password to the certificate store.

Syntax

Connect-SMIMEIMAP -SignerCertPassword string

Remarks

Default Value

""

SignerCertStore Parameter (Connect-SMIMEIMAP Cmdlet)

The name of the certificate store for the signature verification certificate.

Syntax

Connect-SMIMEIMAP -SignerCertStore string

Remarks

Default Value

"MY"

SignerCertStoreType Parameter (Connect-SMIMEIMAP Cmdlet)

The type of certificate store for the signature verification certificate. In most cases PublicKeyFile is used.

Syntax

Connect-SMIMEIMAP -SignerCertStoreType string

Remarks

Default Value

0

SignerCertSubject Parameter (Connect-SMIMEIMAP Cmdlet)

The subject of the recipient's public certificate used for signature verification.

Syntax

Connect-SMIMEIMAP -SignerCertSubject string

Remarks

Default Value

"*"

SMIME Parameter (Connect-SMIMEIMAP Cmdlet)

Specifies the expected protection level on the received messages.

Syntax

Connect-SMIMEIMAP -SMIME string

Remarks

Default Value

0

Timeout Parameter (Connect-SMIMEIMAP Cmdlet)

The maximum time allowed for the operation.

Syntax

Connect-SMIMEIMAP -Timeout int

Remarks

Default Value

10

User Parameter (Connect-SMIMEIMAP Cmdlet)

The username to use for authentication.

Syntax

Connect-SMIMEIMAP -User string

Remarks

Default Value

""

View Parameter (Connect-SMIMEIMAP Cmdlet)

The message number to view.

Syntax

Connect-SMIMEIMAP -View int

Remarks

Default Value

0

Parameter Alias

MessageNumber

SMIMEIMAPConnection Output Object (Connect-SMIMEIMAP Cmdlet)

The connection object.

Syntax

Object SMIMEIMAPConnection {
   string AuthMechanism;
   string CertPassword;
   string[] Config;
   PSCredential Credential;
   string FirewallHost;
   string FirewallPassword;
   int FirewallPort;
   string FirewallType;
   string FirewallUser;
   SwitchParameter Force;
   string LocalIP;
   string LogFile;
   string Password;
   int Port;
   string Server;
   int Timeout;
   string User;
}

Remarks

This object holds the connection. It may be passed to the Connection parameter of related cmdlets.

Config Settings (Connect-SMIMEIMAP Cmdlet)

Base Config Settings

BuildInfo:  
CodePage: