Enterprise Vault™ PowerShell Cmdlet
- Enterprise Vault PowerShell Cmdlet 简介
- 归档:Exchange
- 归档:FSA
- Get-EVFSAComputerSettings
- Get-EVFSAFileServer
- Get-EVFSAFolder
- Get-EVFSASiteSettings
- Get-EVFSAVolume
- New-EVFSAFileServer
- New-EVFSAFolder
- New-EVFSAVolume
- Remove-EVFSAFileServer
- Remove-EVFSAFolder
- Remove-EVFSAVolume
- Set-EVFSAComputerSettings
- Set-EVFSAFileServer
- Set-EVFSAFolder
- Set-EVFSASiteSettings
- Set-EVFSAVolume
- 归档:Skype for Business
- 归档:SMTP
- Get-EVSMTPHoldingFolder
- Get-EVSMTPMessageTrackingLogLocation
- Get-EVSMTPPolicy
- Get-EVSMTPServerSettings
- Get-EVSMTPTarget
- New-EVSMTPPolicy
- New-EVSMTPServerSettings
- New-EVSMTPTarget
- Remove-EVSMTPPolicy
- Remove-EVSMTPTarget
- Set-EVSMTPMessageTrackingLogLocation
- Set-EVSMTPPolicy
- Set-EVSMTPServerSettings
- Set-EVSMTPTarget
- Sync-EVSMTPServerSettings
- 备份
- Get-EVIndexSnapshotLocationBackupMode
- Set-EVIndexSnapshotLocationBackupMode
- Clear-EVIndexSnapshotLocationBackupMode
- Get-IndexLocationBackupMode
- Set-IndexLocationBackupMode
- Clear-IndexLocationBackUpMode
- Get-VaultStoreBackupMode
- Set-VaultStoreBackupMode
- Clear-VaultStoreBackupMode
- Set-EVIndexSnapshotLocation
- Get-EVIndexSnapshotLocation
- Remove-EVIndexSnapshotLocation
- New-EVIndexSnapshot
- Get-EVIndexSnapshot
- Remove-EVIndexSnapshot
- Restore-EVIndexSnapshot
- Get-EVIndexSnapshotRepository
- Remove-EVIndexSnapshotRepository
- Export-EVIndexData
- Import-EVIndexData
- 分类
- Disable-EVClassification
- Get-EVClassificationFCITags
- Get-EVClassificationPolicy
- Get-EVClassificationStatus
- Get-EVClassificationTestMode
- Get-EVClassificationVICTags
- Import-EVClassificationFCIRules
- Initialize-EVClassificationVIC
- Set-EVClassificationVICFIPSMode
- New-EVClassificationPolicy
- Publish-EVClassificationFCIRules
- Remove-EVClassificationPolicy
- Set-EVClassificationPolicy
- Set-EVClassificationTestMode
- 数据库
- IMAP 访问
- 索引
- 记录管理
- 保留计划
- 基于角色的管理
- 站点和服务器
- 任务和服务
- 保管库存储和归档
Get-EVSMTPServerSettings
Get-EVSMTPServerSettings 显示指定站点中所有 Enterprise Vault SMTP 服务器的设置。如果未指定站点 ID,Get-EVSMTPServerSettings 会使用本地 Enterprise Vault 服务器所属站点的 ID。
Get-EVSMTPServerSettings 由管理单元 Symantec.EnterpriseVault.PowerShell.AdminAPI.dll 提供。
Get-EVSMTPServerSettings [[-SiteId] <String>] [<CommonParameters>]
表:Get-EVSMTPServerSettings 参数
|
参数 |
描述 |
|---|---|
|
-SiteId |
SMTP 设置所属的站点 ID。 |
Get-EVSMTPServerSettings -SiteId 13E...example.com
返回适用于指定站点中所有 SMTP 服务器的 SMTP 服务器设置。
您可以使用以下命令序列查看站点的 SMTP 服务器设置:
$sp = Get-EVSMTPServerSettings 13E...example.com
将 SMTP 服务器设置检索至变量 $sp。
$sp
显示变量 $sp 中保存的信息。例如:
SiteId : 13E...example.com Port : 25 MaxMessageSize : 0 Authentication : EV_SMTP_AUTHENTICATION_ENABLE AuthenticationEmailAddress : user@example.com AuthenticationAllowPlainText : EV_SMTP_AUTHENTICATION _ALLOWPLAINTEXT_TLS Tls : EV_SMTP_TLS_ENCRYPTED TlsCertificateInfo : Symantec.EnterpriseVault.Admin .TlsCertificate SMTPConnectionControl : Symantec.EnterpriseVault.Admin .SMTPConnectionControlList MessageTracking : True IncludeSubjectLineInLogs : True DaysToKeepMessageTrackingLogs: 30$sp.SMTPConnectionControl.SMTPConnectionList
显示连接控制列表。该列表包含允许连接到 Enterprise Vault SMTP 服务器的主机的名称或 IP 地址。主机名应是完全限定域名。
Connections ----------- {test.example.com}$sp.SMTPConnectionControl.SMTPConnectionList.Connections
显示连接控制详细列表。类型显示 _EV_SMTP_CONNECTION 枚举的值。
Type Value ---- ----- EV_SMTP_CONNECTION_HOSTNAME test.example.com
Get-EVSMTPServerSettings 返回 Symantec.EnterpriseVault.Admin.SMTPServerSettings 类型的对象,其中包含下表中列出的属性。
表:Symantec.EnterpriseVault.Admin.SMTPServerSettings properties
|
名称 |
类型 |
描述 |
|---|---|---|
|
Authentication |
对象 |
Symantec.EnterpriseVault.Admin._EV_SMTP_AUTHENTICATION 枚举值:指定传入连接是否要求身份验证。有关枚举值的详细信息,请在 PowerShell 提示符处键入 get-help about_SMTPEnumerations。 |
|
AuthenticationAllowPlainText |
对象 |
Symantec.EnterpriseVault.Admin._EV_SMTP_AUTHENTICATION_ALLOWPLAINTEXT 枚举值:指定传入连接是否允许纯文本身份验证。如果身份验证已禁用,则此值默认为 EV_SMTP_AUTHENTICATION_ALLOWPLAINTEXT_NEVER。有关枚举值的详细信息,请在 PowerShell 提示符处键入 get-help about_SMTPEnumerations。 |
|
AuthenticationEmailAddress |
字符串 |
身份验证用户的身份(如果已启用身份验证)。 |
|
DaysToKeepMessageTrackingLogs |
整数 |
在服务器上保留 SMTP 邮件跟踪日志文件的天数。超过指定天数的报告将被删除。 |
|
IncludeSubjectLineInLogs |
布尔值 |
指定邮件的主题行是否记录在邮件跟踪日志文件和 DTrace 日志中。$true 表示主题行包括在日志中,$false 则表示不记录主题行。 |
|
MaxMessageSize |
整数 |
最大 SMTP 邮件大小 (MB)。 |
|
MessageTracking |
布尔值 |
指定是否启用邮件跟踪。$true 表示启用了 SMTP 邮件跟踪,$false 则表示禁用了邮件跟踪。 |
|
Port |
整数 |
SMTP 服务器侦听的端口号。 |
|
SiteId |
字符串 |
SMTP 服务器设置所属的站点 ID。 |
|
SMTPConnectionControl |
对象 |
Symantec.EnterpriseVault.Admin.SMTPConnectionControlList:提供允许连接到 SMTP 服务器的允许连接列表。有关管理允许连接列表的详细信息,请在 PowerShell 提示符处键入 get-help about_SMTPConnectionControlList。 |
|
Tls |
对象 |
Symantec.EnterpriseVault.Admin._EV_SMTP_TLS 枚举值:指定支持到 SMTP 服务器的加密和未加密连接的枚举值。有关枚举值的详细信息,请在 PowerShell 提示符处键入 get-help about_SMTPEnumerations。 |
|
TlsCertificateInfo |
对象 |
Symantec.EnterpriseVault.Admin.TlsCertificate:提供用于 SMTP 连接的 TLS 证书的有关信息。 |