Enterprise Vault™ PowerShell Cmdlet

Last Published:
Product(s): Enterprise Vault (14.4)
  1. Enterprise Vault PowerShell Cmdlet 简介
    1.  
      关于 Enterprise Vault Management Shell
    2.  
      获取 Enterprise Vault PowerShell cmdlet 的帮助
    3.  
      PowerShell 字符串规则
    4.  
      关于使用 Import-Csv cmdlet 时导入的布尔值
    5. 从何处获取有关 Enterprise Vault 的详细信息
      1.  
        Enterprise Vault 培训模块
  2. 归档:Exchange
    1.  
      Add-EVPstComputer
    2.  
      Add-EVPstFile
    3.  
      Get-EVExchangeMailboxPolicy
    4.  
      New-EVExchangeMailboxPolicy
    5.  
      Remove-EVExchangeFolderPolicy
    6.  
      Remove-EVExchangeMailboxPolicy
    7.  
      Set-EVExchangeMailboxPolicy
  3. 归档:FSA
    1.  
      Get-EVFSAComputerSettings
    2.  
      Get-EVFSAFileServer
    3.  
      Get-EVFSAFolder
    4.  
      Get-EVFSASiteSettings
    5.  
      Get-EVFSAVolume
    6.  
      New-EVFSAFileServer
    7.  
      New-EVFSAFolder
    8.  
      New-EVFSAVolume
    9.  
      Remove-EVFSAFileServer
    10.  
      Remove-EVFSAFolder
    11.  
      Remove-EVFSAVolume
    12.  
      Set-EVFSAComputerSettings
    13.  
      Set-EVFSAFileServer
    14.  
      Set-EVFSAFolder
    15.  
      Set-EVFSASiteSettings
    16.  
      Set-EVFSAVolume
  4. 归档:Skype for Business
    1.  
      Get-EVSkypeForBusinessTarget
    2.  
      New-EVSkypeForBusinessTarget
    3.  
      Remove-EVSkypeForBusinessTarget
    4.  
      Set-EVSkypeForBusinessTarget
  5. 归档:SMTP
    1.  
      Get-EVSMTPHoldingFolder
    2.  
      Get-EVSMTPMessageTrackingLogLocation
    3.  
      Get-EVSMTPPolicy
    4.  
      Get-EVSMTPServerSettings
    5.  
      Get-EVSMTPTarget
    6.  
      New-EVSMTPPolicy
    7.  
      New-EVSMTPServerSettings
    8.  
      New-EVSMTPTarget
    9.  
      Remove-EVSMTPPolicy
    10.  
      Remove-EVSMTPTarget
    11.  
      Set-EVSMTPMessageTrackingLogLocation
    12.  
      Set-EVSMTPPolicy
    13.  
      Set-EVSMTPServerSettings
    14.  
      Set-EVSMTPTarget
    15.  
      Sync-EVSMTPServerSettings
  6. 备份
    1.  
      Get-EVIndexSnapshotLocationBackupMode
    2.  
      Set-EVIndexSnapshotLocationBackupMode
    3.  
      Clear-EVIndexSnapshotLocationBackupMode
    4.  
      Get-IndexLocationBackupMode
    5.  
      Set-IndexLocationBackupMode
    6.  
      Clear-IndexLocationBackUpMode
    7.  
      Get-VaultStoreBackupMode
    8.  
      Set-VaultStoreBackupMode
    9.  
      Clear-VaultStoreBackupMode
    10.  
      Set-EVIndexSnapshotLocation
    11.  
      Get-EVIndexSnapshotLocation
    12.  
      Remove-EVIndexSnapshotLocation
    13.  
      New-EVIndexSnapshot
    14.  
      Get-EVIndexSnapshot
    15.  
      Remove-EVIndexSnapshot
    16.  
      Restore-EVIndexSnapshot
    17.  
      Get-EVIndexSnapshotRepository
    18.  
      Remove-EVIndexSnapshotRepository
  7. 分类
    1.  
      Disable-EVClassification
    2.  
      Get-EVClassificationFCITags
    3.  
      Get-EVClassificationPolicy
    4.  
      Get-EVClassificationStatus
    5.  
      Get-EVClassificationTestMode
    6.  
      Get-EVClassificationVICTags
    7.  
      Import-EVClassificationFCIRules
    8.  
      Initialize-EVClassificationVIC
    9.  
      Set-EVClassificationVICFIPSMode
    10.  
      New-EVClassificationPolicy
    11.  
      Publish-EVClassificationFCIRules
    12.  
      Remove-EVClassificationPolicy
    13.  
      Set-EVClassificationPolicy
    14.  
      Set-EVClassificationTestMode
  8. 数据库
    1.  
      Get-EVDatabase
    2.  
      Get-EVDatabaseDetail
    3.  
      Get-EVDatabaseFileInfo
    4.  
      Get-EVStorageDatabase
    5.  
      Set-EVDatabaseDetail
    6.  
      Start-EVDatabaseUpgrade
  9. IMAP 访问
    1.  
      Get-EVIMAPUsers
    2.  
      Get-EVIMAPUserSettings
    3.  
      Set-EVIMAPServerDisabled
    4.  
      Set-EVIMAPServerEnabled
  10. 索引
    1.  
      Get-EVIndexLocation
    2.  
      Get-EVMDSStatus
    3.  
      Get-IndexServerForIndexLocation
    4.  
      New-EVMDSBuildTask
    5.  
      Set-IndexMetadataSyncLevel
    6.  
      Submit-EVIndexingSubTask
    7.  
      Get-EVIndexVolume
    8.  
      Get-EVElasticsearchIndex
  11. 记录管理
    1.  
      Export-EVNARAArchive
    2.  
      Get-EVRecordSettings
  12. 保留计划
    1.  
      Get-EVRetentionPlan
    2.  
      New-EVRetentionPlan
    3.  
      Remove-EVRetentionPlan
    4.  
      Set-EVRetentionPlan
  13. 基于角色的管理
    1.  
      Add-EVRBARoleMember
    2.  
      Get-EVRBAAzStoreXml
    3.  
      Get-EVRBARole
    4.  
      Get-EVRBARoleMember
    5.  
      Remove-EVRBARoleMember
    6.  
      Set-EVRBAAzStoreXml
  14. 站点和服务器
    1.  
      Get-EVComputers
    2.  
      Get-EVFileLocation
    3.  
      Get-EVIISWebsite
    4.  
      Get-EVServer
    5.  
      Get-EVSite
    6.  
      Get-EVSiteInfo
  15. 任务和服务
    1.  
      Get-EVDependencyService
    2.  
      Get-EVDependencyServiceState
    3.  
      Get-EVService
    4.  
      Get-EVServiceState
    5.  
      Get-EVTask
    6.  
      Get-EVTaskState
  16. 保管库存储和归档
    1.  
      Export-EVArchive
    2.  
      Get-EVArchive
    3.  
      Get-EVArchivePermission
    4.  
      Get-EVVaultStore
    5.  
      Get-EVVaultStorePartition
    6.  
      Remove-EVArchive
    7.  
      New-EVArchive
    8.  
      Remove-EVArchivePermission
    9.  
      Set-EVArchive
    10.  
      Set-EVArchivePermission
    11.  
      Start-PartitionRollover

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

Authentication​Allow​PlainText

对象

Symantec.​EnterpriseVault.​Admin.​_EV​_SMTP​_AUTHENTICATION​_ALLOWPLAINTEXT 枚举值:指定传入连接是否允许纯文本身份验证。如果身份验证已禁用,则此值默认为 EV​_SMTP​_AUTHENTICATION​_ALLOWPLAINTEXT​_NEVER。有关枚举值的详细信息,请在 PowerShell 提示符处键入 get-help about_SMTPEnumerations

Authentication​Email​Address

字符串

身份验证用户的身份(如果已启用身份验证)。

DaysToKeepMessage​TrackingLogs

整数

在服务器上保留 SMTP 邮件跟踪日志文件的天数。超过指定天数的报告将被删除。

IncludeSubjectLineInLogs

布尔值

指定邮件的主题行是否记录在邮件跟踪日志文件和 DTrace 日志中。$true 表示主题行包括在日志中,$false 则表示不记录主题行。

MaxMessageSize

整数

最大 SMTP 邮件大小 (MB)。

MessageTracking

布尔值

指定是否启用邮件跟踪。$true 表示启用了 SMTP 邮件跟踪,$false 则表示禁用了邮件跟踪。

Port

整数

SMTP 服务器侦听的端口号。

SiteId

字符串

SMTP 服务器设置所属的站点 ID。

SMTPConnection​Control

对象

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 证书的有关信息。

相关的 cmdlet