Connect-SMIMEPOPCmdlet
Parameters Output Objects Config Settings
The Connect-SMIMEPOP cmdlet is used to create a persistent connection object.
Syntax
$cnn = Connect-SMIMEPOP [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-SMIMEPOP.
Parameter List
The following is the full list of the parameters of the cmdlet with short descriptions. Click on the links for further details.
LogFile | The location of a file to which debug information is written. |
CertPassword | The password to the certificate store. |
Config | Specifies one or more configuration settings. |
Credential | The PSCredential object to use for user/password authentication. |
FirewallHost | Name or IP address of firewall. |
FirewallPassword | A password if authentication is to be used when connecting through the firewall. |
FirewallPort | The port of the firewall to which to connect. |
FirewallType | Determines the type of firewall to connect through. |
FirewallUser | A user name if authentication is to be used connecting through a firewall. |
Force | Forces the component to accept the default behavior instead of querying the user. |
LocalIP | The IP address of the local interface to use. |
LogFile | The location of a file to which debug information is written. |
Password | The password to use for authentication. |
Port | The TCP port in the remote host to which to connect. |
Server | The address of the Server. |
Timeout | The maximum time allowed for the operation. |
User | The 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.
SMIMEPOPConnection | The 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.
BuildInfo | Information about the product's build. |
CodePage | The system code page used for Unicode to Multibyte translations. |
LicenseInfo | Information about the current license. |
MaskSensitive | Whether sensitive data is masked in log messages. |
UseInternalSecurityAPI | Tells the component whether or not to use the system security libraries or an internal implementation. |
LogFile Parameter (Connect-SMIMEPOP Cmdlet)
The location of a file to which debug information is written.
Syntax
Connect-SMIMEPOP -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
CertPassword Parameter (Connect-SMIMEPOP Cmdlet)
The password to the certificate store.
Syntax
Connect-SMIMEPOP -CertPassword string
Remarks
Default Value
""
Parameter Alias
CertificatePassword
CertStore Parameter (Connect-SMIMEPOP Cmdlet)
The name of the certificate store for the decryption certificate.
Syntax
Connect-SMIMEPOP -CertStore string
Remarks
Default Value
"MY"
CertStoreType Parameter (Connect-SMIMEPOP Cmdlet)
The type of certificate store for the decryption certificate.
Syntax
Connect-SMIMEPOP -CertStoreType string
Remarks
Default Value
0
CertSubject Parameter (Connect-SMIMEPOP Cmdlet)
The subject of the certificate used for decryption.
Syntax
Connect-SMIMEPOP -CertSubject string
Remarks
Default Value
"*"
Config Parameter (Connect-SMIMEPOP Cmdlet)
Specifies one or more configuration settings.
Syntax
Connect-SMIMEPOP -Config string[]
Remarks
Default Value
null
Credential Parameter (Connect-SMIMEPOP Cmdlet)
The PSCredential object to use for user/password authentication.
Syntax
Connect-SMIMEPOP -Credential PSCredential
Remarks
Default Value
null
Parameter Position
1
Parameter Alias
auth
FirewallHost Parameter (Connect-SMIMEPOP Cmdlet)
Name or IP address of firewall.
Syntax
Connect-SMIMEPOP -FirewallHost string
Remarks
Default Value
""
FirewallPassword Parameter (Connect-SMIMEPOP Cmdlet)
A password if authentication is to be used when connecting through the firewall.
Syntax
Connect-SMIMEPOP -FirewallPassword string
Remarks
Default Value
""
FirewallPort Parameter (Connect-SMIMEPOP Cmdlet)
The port of the firewall to which to connect.
Syntax
Connect-SMIMEPOP -FirewallPort int
Remarks
Default Value
0
FirewallType Parameter (Connect-SMIMEPOP Cmdlet)
Determines the type of firewall to connect through.
Syntax
Connect-SMIMEPOP -FirewallType string
Remarks
Default Value
0
FirewallUser Parameter (Connect-SMIMEPOP Cmdlet)
A user name if authentication is to be used connecting through a firewall.
Syntax
Connect-SMIMEPOP -FirewallUser string
Remarks
Default Value
""
Force Parameter (Connect-SMIMEPOP Cmdlet)
Forces the component to accept the default behavior instead of querying the user.
Syntax
Connect-SMIMEPOP -Force SwitchParameter
Remarks
Default Value
false
List Parameter (Connect-SMIMEPOP Cmdlet)
Number of messages to list.
Syntax
Connect-SMIMEPOP -List int
Remarks
Default Value
0
LocalFile Parameter (Connect-SMIMEPOP Cmdlet)
Part is stored here if this property is set.
Syntax
Connect-SMIMEPOP -LocalFile string
Remarks
Default Value
""
LocalIP Parameter (Connect-SMIMEPOP Cmdlet)
The IP address of the local interface to use.
Syntax
Connect-SMIMEPOP -LocalIP string
Remarks
Default Value
""
Parameter Alias
LocalAddress
LogFile Parameter (Connect-SMIMEPOP Cmdlet)
The location of a file to which debug information is written.
Syntax
Connect-SMIMEPOP -LogFile string
Remarks
Default Value
""
Password Parameter (Connect-SMIMEPOP Cmdlet)
The password to use for authentication.
Syntax
Connect-SMIMEPOP -Password string
Remarks
Default Value
""
Port Parameter (Connect-SMIMEPOP Cmdlet)
The TCP port in the remote host to which to connect.
Syntax
Connect-SMIMEPOP -Port int
Remarks
Default Value
110
Server Parameter (Connect-SMIMEPOP Cmdlet)
The address of the Server.
Syntax
Connect-SMIMEPOP -Server string
Remarks
Default Value
""
Parameter Position
0
This is a required parameter.
SignerCertPassword Parameter (Connect-SMIMEPOP Cmdlet)
The password to the certificate store.
Syntax
Connect-SMIMEPOP -SignerCertPassword string
Remarks
Default Value
""
SignerCertStore Parameter (Connect-SMIMEPOP Cmdlet)
The name of the certificate store for the signature verification certificate.
Syntax
Connect-SMIMEPOP -SignerCertStore string
Remarks
Default Value
"MY"
SignerCertStoreType Parameter (Connect-SMIMEPOP Cmdlet)
The type of certificate store for the signature verification certificate. In most cases PublicKeyFile is used.
Syntax
Connect-SMIMEPOP -SignerCertStoreType string
Remarks
Default Value
0
SignerCertSubject Parameter (Connect-SMIMEPOP Cmdlet)
The subject of the recipient's public certificate used for signature verification.
Syntax
Connect-SMIMEPOP -SignerCertSubject string
Remarks
Default Value
"*"
SMIME Parameter (Connect-SMIMEPOP Cmdlet)
Specifies the expected protection level on the received messages.
Syntax
Connect-SMIMEPOP -SMIME string
Remarks
Default Value
0
Timeout Parameter (Connect-SMIMEPOP Cmdlet)
The maximum time allowed for the operation.
Syntax
Connect-SMIMEPOP -Timeout int
Remarks
Default Value
10
User Parameter (Connect-SMIMEPOP Cmdlet)
The username to use for authentication.
Syntax
Connect-SMIMEPOP -User string
Remarks
Default Value
""
View Parameter (Connect-SMIMEPOP Cmdlet)
The message number to view.
Syntax
Connect-SMIMEPOP -View int
Remarks
Default Value
0
Parameter Position
1
SMIMEPOPConnection Output Object (Connect-SMIMEPOP Cmdlet)
The connection object.
Syntax
Object SMIMEPOPConnection {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;
}