Enterprise Vault™ PowerShell Cmdlet

Last Published:
Product(s): Enterprise Vault (12.3)
  1. Enterprise Vault PowerShell Cmdlet 简介
    1.  
      关于 Enterprise Vault Management Shell
    2.  
      获取 Enterprise Vault PowerShell cmdlet 的帮助
    3.  
      PowerShell 字符串规则
    4. 从何处获取有关 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-EVFSAFileServer
    2.  
      Get-EVFSAFolder
    3.  
      Get-EVFSAVolume
    4.  
      New-EVFSAFileServer
    5.  
      New-EVFSAFolder
    6.  
      New-EVFSAVolume
    7.  
      Remove-EVFSAFileServer
    8.  
      Remove-EVFSAFolder
    9.  
      Remove-EVFSAVolume
    10.  
      Set-EVFSAFileServer
    11.  
      Set-EVFSAFolder
    12.  
      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.  
      Clear-IndexLocationBackupMode
    2.  
      Clear-VaultStoreBackupMode
    3.  
      Get-IndexLocationBackupMode
    4.  
      Get-VaultStoreBackupMode
    5.  
      Set-IndexLocationBackupMode
    6.  
      Set-VaultStoreBackupMode
  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.  
      New-EVClassificationPolicy
    10.  
      Publish-EVClassificationFCIRules
    11.  
      Remove-EVClassificationPolicy
    12.  
      Set-EVClassificationPolicy
    13.  
      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
  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-EVVaultStore
    4.  
      Get-EVVaultStorePartition
    5.  
      Remove-EVArchive
    6.  
      Set-EVArchive
    7.  
      Start-PartitionRollover

Get-EVExchangeMailboxPolicy

Get-EVExchangeMailboxPolicy 会返回在 Enterprise Vault 站点中配置的所有 Exchange 邮箱策略的列表。您还可以使用 -Name 参数返回特定策略的属性。

Get-EVExchangeMailboxPolicy 由管理单元 Symantec.EnterpriseVault.PowerShell.AdminAPI.dll 提供。

语法

Get-EVExchangeMailboxPolicy [-Name <String>] [-SiteId <String>] [-EntryId <String>] [<CommonParameters>]

参数

表:Get-EVExchangeMailboxPolicy 参数

参数

说明

-Name

要返回的 Exchange 邮箱策略的名称。

-SiteId

要为其返回 Exchange 邮箱策略详细信息的 Enterprise Vault 站点的 ID。如果忽略此参数,且 cmdlet 无法通过在注册表中查找来确定 ID,Get-EVExchangeMailboxPolicy 随后会提示您输入所需的 ID。

您可以使用 Get-EVSite 获取站点 ID。

-EntryId

要检索的策略的目录条目 ID。

示例
  • Get-EVExchangeMailboxPolicy -Name "Default Exchange mailbox policy"

    返回名为 Default Exchange mailbox policy 的 Exchange 邮箱策略的属性。

  • Get-EVExchangeMailboxPolicy -SiteId 198...example.com

    列出在指定站点中配置的所有 Exchange 邮箱策略。还会返回每个策略的属性。

输出

此命令返回 Symantec.EnterpriseVault.Admin.ExchangeMailboxPolicy 类型的对象,该对象具有 表:Get-EVExchangeMailboxPolicy 属性 中列出的属性。

多个参数的值是枚举值。有关 Exchange 邮箱策略枚举的详细信息,请键入以下命令:

get-help about_ExchMbxPolicyEnumerations

表:Get-EVExchangeMailboxPolicy 属性

名称

类型

说明

ArchivingStrategy

枚举

Exchange 邮箱策略的归档策略。(ArchivingStrategyEnum)

LockArchivingStrategy

布尔值

是否要阻止用户更改此策略在 Outlook 中的归档策略。

ArchiveItemsOlderThan

整数

Exchange 邮箱任务将归档在设定的时间段内尚未修改的项目。

ArchiveItemsOlderThanUnits

枚举

ArchiveItemsOlderThan 一起使用的时间单位,例如 Days、Weeks 或 Years。(AgeUnitsEnum)

PercentageOfQuota

整数

在每个邮箱保留该百分比的邮箱可用存储限制之前,Exchange 邮箱任务会持续归档项目。

MinimumArchiveAge

整数

归档项目的最短时间。

MinimumArchiveAgeUnits

枚举

MinimumArchiveAge 一起使用的时间单位,例如 Days、Weeks 或 Years。(AgeUnitsEnum)

SizePriority

布尔值

Exchange 邮箱任务是否优先处理大于 MinimumItemSizeKB 的项目。

MinimumItemSizeKB

整数

Exchange 邮箱任务优先处理大于此大小的项目。

ArchiveMsgsWithAttachmentsOnly

布尔值

是否仅当邮箱项目含有附件时对其进行归档。

ShortcutInactivityPeriod

整数

归档任务删除早于指定时间的快捷方式。

ShortcutInactivityUnits

枚举

ShortcutInactivityPeriod 一起使用的时间单位。(AgeUnitsEnum)

DeleteAfterArchive

布尔值

成功将项目存储在归档中后,Enterprise Vault 是否从邮箱中删除这些项目。

LockDeleteAfterArchive

布尔值

是否阻止用户更改各自的个人设置中的此项设置。

CreateShortcutAfterArchive

布尔值

Enterprise Vault 是否为新归档的项目添加快捷方式。

LockCreateShortcutAfterArchive

布尔值

是否阻止用户更改各自的个人设置中的此项设置。

ArchiveUnreadItems

布尔值

Enterprise Vault 是否归档未读项目。

LockArchiveUnreadItems

布尔值

是否阻止用户更改各自的个人设置中的此项设置。

OverallLock

布尔值

是否强制用户使用策略和目标设置以归档邮箱。

IncludeRecipientInformation

布尔值

快捷方式中是否包含“收件人”和“抄送对象”收件人的详细信息。快捷方式始终包含“发件人”和“主题”信息。

ContentOfShortcutBody

枚举

用作快捷方式正文的内容。(ShortcutBodyContent)

IncludeBanner

布尔值

自定义快捷方式顶部是否包含彩色归档条。

IncludeLinkToArchivedItem

布尔值

自定义快捷方式是否包含指向归档项目的链接。

MessageCharsToInclude

整数

自定义快捷方式的邮件正文部分要包含的字符数。

DisplayAttachmentsAs

枚举

自定义快捷方式中的附件列表的类型。(AttachmentsDisplay)

IndexLevel

枚举

为用户归档设置的索引级别。(IndexingLevelEnum)

IndexPreviewLength

整数

Enterprise Vault 在搜索结果列表中为每个项目显示的文本数量。

CreateAttachmentPreview

布尔值

Enterprise Vault 是否创建附件内容的预览。请注意,在此版本的 Enterprise Vault 中无法查看这些预览。

PolicyType

枚举

策略的类型。

Name

字符串

Exchange 邮箱策略的名称。

Description

字符串

Exchange 邮箱策略的描述。

IsADefaultPolicy

布尔值

该策略是否为默认策略。

SiteId

字符串

在其中配置策略的 Enterprise Vault 站点的 ID。

SiteNameOrId

字符串

在其中配置策略的 Enterprise Vault 站点的名称或 ID。

EntryId

字符串

策略的目录条目 ID。

相关的 cmdlet