Enterprise Vault™ PowerShell Cmdlet

Last Published:
Product(s): Enterprise Vault (15.0)
  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
    19.  
      Export-EVIndexData
    20.  
      Import-EVIndexData
  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
    7.  
      Set-EVServiceAccountPassword
  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-EVIndexVolume

Get-EVIndexVolume 返回 Enterprise Vault 站点中的索引卷的列表。

可以筛选此索引卷列表以显示以下内容:

  • 含有某个 ArchiveNameIndexServerIndexServerGroup 字符串的索引卷

  • 具有一个或多个属性的索引卷,例如 OnlineOfflineFailedExtraItemsMixedIndexingLevelMissingItemsNotYetCreated

  • 某类平台的索引卷,例如 64 位、32 位、Elasticsearch 或全部

  • 包括/排除当前正在处理的索引卷

  • 使用 PageSize 显示固定大小组/页中的索引卷,然后使用 PageIndex 遍历这些卷

其他信息:

  • PageSize - 如果 PageSize 大于系统中存在的索引卷总数,则将显示所有索引卷。如果 PageSize 小于系统中索引卷的总数,那么将只显示 1 到 PageSize 的索引卷,同时发出警告,说明发现了更多的索引卷,但没有显示。

  • PageIndex - 索引从 1 开始,而非 0。

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

语法

Get-EVIndexVolume [[-SiteId] <String>] [-FilterBy {ArchiveName | IndexServerGroup | IndexServer}] [-FilterValue <String>] [-Attributes {All | Online | Offline | Failed | ExtraItems | MixedIndexingLevel | MissingItems | NotYetCreated}] [-Platform {All | 32bit | 64bit | Elasticsearch}] [-ExcludeBeingProcessed [<SwitchParameter>]] [-PageIndex <int>] [-PageSize <int>] [<CommonParameters>]

参数

表:Get-EVIndexVolume 的参数

参数

类型

描述

-SiteId

字符串

您要为其获取索引卷的 Enterprise Vault 站点的 ID。您可以使用 Get-EVSite 获取站点 ID。

-FilterBy

字符串

可能的值:ArchiveNameIndexServerIndexServerGroup

标识将应用 FilterValue 参数中提供的搜索字符串的属性。

FilterBy 必须与 -FilterValue 一同使用 。

-FilterValue

字符串

定义搜索字符串,用于根据 FilterBy 参数提到的属性来过滤索引卷。一个由任何有效的字母数字字符组成的字符串都是有效的输入。

FilterValue 必须与 -FilterBy 一同使用 。

-Attributes

List<String>

可能的值:OnlineOfflineFailedExtraItemsMixedIndexingLevelMissingItemsNotYetCreatedAll

默认值:All

基于一个或多个预定义属性列表,根据索引卷的状态和条件过滤索引卷列表。该参数可以设置为允许值的任意组合,或者简单地设置为“All”以包括所有属性。属性列表中的重复项将被忽略。例如:“Online, Online, Failed, NotYetCreated, Failed”。

-Platform

List<String>

可能的值:32bit64bitElasticsearchAll

默认值:All

根据索引卷的平台过滤索引卷列表,无论它们是 32 位、64 位还是 Elasticsearch。该参数可以设置为允许值的任意组合,或者简单地设置为“All”以包括所有平台。平台列表中的重复项将被忽略。例如:“32bit”、“64bit”、“Elasticsearch”、“All”。

-ExcludeBeingProcessed

SwitchParameter

默认值:$false

从返回的索引卷列表中排除当前正在处理的索引卷。不引用这个参数就可以把正在处理的索引卷纳入索引卷列表。

-PageSize

整数

默认值:50000

指定此 cmdlet 一次返回的最大索引卷数。 PageSize 可以与 PageIndex 一起用于对索引卷列表执行分页。

-PageIndex

整数

默认值:1

指定需要返回的索引卷页的索引。应与 PageSize 一起使用,将索引卷划分为首选大小的组,其中大小由 PageSize 定义,组/页的索引由 PageIndex 提供。例如:在具有 1000 个索引卷的系统中,PageSize 为 100,PageIndex 1 将返回索引卷 1 - 100,PageIndex 2 将返回索引卷 101 - 200,依次类推。

输出

表:Get-EVIndexVolume 的输出

名称

类型

描述

IndexVolumeIdentity

整数

索引卷的 ID。

ArchiveName

字符串

与索引卷关联的归档的名称。

ArchiveType

EV_STG_API_ARCHIVE_TYPE

与当前索引卷关联的归档的类型。

ArchiveID

字符串

与索引卷关联的归档的 ID。

BackupMode

字符串

指示索引卷是否处于备份模式。

IndexedItems

长整型

当前由索引卷编制索引的项目的总数。

Indexer

字符串

索引卷所属的索引服务器的名称。

IndexServerGroup

字符串

索引卷所属的索引服务器组的名称。

Location

字符串

索引卷在磁盘上的物理位置。

MissingItems

长整型

从索引卷缺失的项目的总数。

Range

字符串

索引卷索引项目的范围。

Status

字符串

索引卷的当前状态。可以是 Online、Offline、Failed 或 NotYetCreated。

Platform

字符串

索引卷的平台。可以是 32 位、64 位或 Elasticsearch。

TaskName

字符串

索引卷所属的索引任务的名称。如果索引卷不是任何任务的一部分,则此字段将返回值“(None)”。

YoungestItemDate

字符串

索引卷中最近项目的归档日期。

OldestItemDate

字符串

索引卷中最早项目的归档日期。

示例
  • Get-EVIndexVolume

    列出 Enterprise Vault 站点中的所有索引卷。

  • Get-EVIndexVolume -FilterBy ArchiveName -FilterValue "SMTP"

    过滤索引卷列表,仅显示 ArchiveName 中包含字符串“SMTP”的索引卷。

  • Get-EVIndexVolume -Attributes Offline, NotYetCreated -Platform 32bit

    过滤索引卷列表,仅显示处于 Offline 或 NotYetCreated 状态且为 32 位的索引卷。

  • Get-EVIndexVolume -FilterBy IndexServerGroup -FilterValue GenericGroupName -ExcludeBeingProcessed

    过滤索引卷列表,仅显示属于特定索引服务器组(在其名称中包含字符串 GenericGroupName 并且目前尚未处理)的索引卷。

  • Get-EVIndexVolume -Attributes Online -Platform 64bit -PageSize 4 -PageIndex 3

    过滤索引卷列表,以显示第 9 至第 12 个索引卷(按 ArchiveName 排序后),这些索引卷处于 Online 状态,并且是 64 位索引卷。

相关的 cmdlet