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-EVIndexSnapshotLocationBackupMode

Get-EVIndexSnapshotLocationBackupMode 会检索指定 Enterprise Vault 站点中指定 Enterprise Vault 索引服务器上配置的指定索引快照位置或所有索引快照位置的当前备份模式设置。

语法
  • Get-EVIndexSnapshotLocationBackupMode [-EVServerName <String>] [-Path <String>] [-OnlyInBackup <SwitchParameter>] [<CommonParameters>]

  • Get-EVIndexSnapshotLocationBackupMode -SiteId <String> [-EVServerName <String>] [-Path <String>] [-OnlyInBackup <SwitchParameter>] [<CommonParameters>]

Get-EVIndexSnapshotLocationBackupMode 会检索指定 Enterprise Vault 站点中指定 Enterprise Vault 索引服务器上配置的指定索引快照位置或所有索引快照位置的当前备份模式设置。

Get-EVIndexSnapshotLocationBackupMode 由 Enterprise Vault Management Shell 加载的 Symantec.EnterpriseVault.PowerShell.AdminAPI.dll 提供。

参数

表:Get-EVIndexSnapshotLocationBackupMode 参数

参数

描述

-SiteId

Enterprise Vault 站点的 ID,您想要为该指定 Enterprise Vault 站点中 Enterprise Vault 索引服务器上配置的索引快照位置检索当前备份模式设置。

如果忽略此参数,Get-EVIndexSnapshotLocationBackupMode 会从指定为 EVServerName 参数的 Enterprise Vault 索引服务器中检索 SiteId;否则,它会使用运行该命令的 Enterprise Vault 索引服务器的站点的 ID。可以使用 Get-EVSite 命令获取 SiteId。

-EVServerName

Enterprise Vault 索引服务器的名称,您想为该索引服务器检索索引快照位置的当前备份模式设置。

如果忽略此参数,Get-EVIndexSnapshotLocationBackupMode 会使用运行该命令的 Enterprise Vault 索引服务器的主机名。可以使用 Get-EVComputers 命令获取 Enterprise Vault 索引服务器名称。

-Path

您要为其检索当前备份模式设置的索引快照位置的路径。

-OnlyInBackup

过滤列表,以仅显示那些处于备份模式的索引快照位置。

示例
  • C:\PS> Get-EVIndexSnapshotLocationBackupMode

    检索在执行此命令的 Enterprise Vault 索引服务器上配置的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -EVServerName evserver.earth.local

    检索在 Enterprise Vault 索引服务器“evserver.earth.local”上配置的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -Path e:\indexsnapshotlocation

    检索在执行此命令的 Enterprise Vault 索引服务器上配置的索引快照位置“e:\indexsnapshotlocation”的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -EVServerName evserver.earth.local -Path e:\indexsnapshotlocation

    检索在 Enterprise Vault 索引服务器“evserver.earth.local”上配置的索引快照位置“e:\indexsnapshotlocation”的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -SiteId 17EEC4C7A9E1E4540AE93FC7B20C6A7311d10000evserver.earth.local

    检索 Enterprise Vault 站点“17EEC4C7A9E1E4540AE93FC7B20C6A7311d10000evserver.earth.local”中所有 Enterprise Vault 索引服务器上配置的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -SiteId 17EEC4C7A9E1E4540AE93FC7B20C6A7311d10000evserver.earth.local -EVServerName evserver.earth.local

    检索 Enterprise Vault 站点“17EEC4C7A9E1E4540AE93FC7B20C6A7311d10000evserver.earth.local”中 Enterprise Vault 索引服务器“evserver.earth.local”上配置的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -SiteId 17EEC4C7A9E1E4540AE93FC7B20C6A7311d10000evserver.earth.local -EVServerName evserver.earth.local -Path e:\indexsnapshotlocation

    检索 Enterprise Vault 站点“17EEC4C7A9E1E4540AE93FC7B20C6A7311d10000evserver.earth.local”中 Enterprise Vault 索引服务器“evserver.earth.local”上配置的索引快照位置“e:\indexsnapshotlocation”的当前备份模式设置。

  • C:\PS> Get-EVSite | Get-EVIndexSnapshotLocationBackupMode

    检索在 Get-EVSite 命令返回的 Enterprise Vault 站点中所有 Enterprise Vault 索引服务器上配置的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVComputers | Get-EVIndexSnapshotLocationBackupMode

    检索在 Get-EVComputers 命令返回的所有 Enterprise Vault 索引服务器上配置的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocation | Get-EVIndexSnapshotLocationBackupMode

    检索 Get-EVIndexSnapshotLocation 命令返回的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocation -OnlyActive | Get-EVIndexSnapshotLocationBackupMode

    检索 Get-EVIndexSnapshotLocation 命令返回的活动索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -OnlyInBackup

    检索处于备份模式的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -OnlyInBackup:$true

    检索处于备份模式的所有索引快照位置的当前备份模式设置。

  • C:\PS> Get-EVIndexSnapshotLocationBackupMode -OnlyInBackup:$false

    检索未处于备份模式的所有索引快照位置的当前备份模式设置。

输出

Symantec.EnterpriseVault.Admin.IndexSnapshotLocationBackup

此命令返回 Symantec.EnterpriseVault.Admin.IndexSnapshotLocationBackup 类型的对象,其中包含以下属性:

表:Get-EVIndexSnapshotLocationBackupMode 属性

名称

类型

描述

SiteId

字符串

配置索引快照位置的 Enterprise Vault 站点的 ID。

SiteNameOrId

字符串

配置索引快照位置的 Enterprise Vault 站点的名称或 ID。

EVServerEntryId

字符串

配置索引快照位置的 Enterprise Vault 索引服务器的 ID。

EVServerName

字符串

配置索引快照位置的 Enterprise Vault 索引服务器的名称。

Path

字符串

索引快照位置所在的路径。

BackupMode

布尔值

指示索引快照位置是否处于备份模式。

BackupModeRefCount

整数

指示索引快照位置的备份模式引用计数。

相关的 cmdlet