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

Set-EVClassificationPolicy

Set-EVClassificationPolicy 设置或更新现有 Enterprise Vault 分类策略的属性。

Set-EVClassificationPolicy 由管理单元 Symantec.EnterpriseVault.PowerShell.AdminAPI.dll 提供。

语法

Set-EVClassificationPolicy [[-SiteId] <String>] [-Name] <String> [-Description <String>] [-DuringArchivingIndexing <Boolean>] [-DetermineRC <Boolean>] [-RCDuringDeletion <Boolean>] [-RCDuringExpiry <Boolean>] [-PreventRCDuringMove <Boolean>] [-AllowRCOnRecTypeChange <Boolean>] [<CommonParameters>]

参数

表:Set-EVClassificationPolicy 参数

参数

说明

-SiteId

要为其设置或更新 Enterprise Vault 分类策略详细信息的站点的 ID。如果忽略此参数,则 cmdlet 将无法通过查找注册表来确定 ID,因此 Set-EVClassificationPolicy 随后会提示您输入所需的 ID。

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

-Name(必填)

要设置或更新其属性的特定 Enterprise Vault 分类策略的名称。如果要重命名策略,那么新名称必须唯一,最多可以包含 40 个字母数字或空格字符。

-Description

要为 Enterprise Vault 分类策略设置的说明。说明最多可以包含 127 个字母数字、空格或特殊字符。

-DuringArchivingIndexing

指定 Enterprise Vault 是否应在归档/编制索引期间对项目进行分类:($true) 或 ($false)。默认值是 $true

此设置还可确定 Enterprise Vault 是否在重建索引时对项目进行重新分类。请注意,如果您已选择将已分类项目归档到智能分区,则重新分类项目不会将其从一个智能分区移动到另一个智能分区。这些项目仍保留在 Enterprise Vault 最初归档的智能分区上。

例如,假设您已将分类标签 PII 与一个智能分区关联,标签 Credit-Card 与另一个智能分区关联。即使 Enterprise Vault 随后重新分类包含 Credit-Card 标签的项目,Enterprise Vault 归档到与 PII 标签关联的分区的项目将保留在此分区上。

-DetermineRC

指定是否允许分类功能更新项目的保留类别:($true) 或 ($false)。默认值是 $true

-RCDuringDeletion

DetermineRC$true 时,指定是否对用户删除启用分类:($true) 或 ($false)。默认值为 $false

DetermineRC 设置为 $false 时,无法将 RCDuringDeletion 设置为 $true

-RCDuringExpiry

DetermineRC$true 时,指定是否对自动过期启用分类:($true) 或 ($false)。默认值为 $false

请注意下列事项:

  • DetermineRC 设置为 $false 时,无法将 RCDuringExpiry 设置为 $true

  • DuringArchivingIndexing$falseDetermineRC$true 时,必须将 RCDuringExpiry 设置为 $true

-PreventRCDuringMove

DetermineRC$true 时,指定当用户执行可能会更新已归档项目的保留类别的操作时,是否要阻止 Enterprise Vault 更新这些保留类别。例如,用户可能会在已应用不同保留类别的文件夹间移动已归档项目,或者在条件允许的情况下,更改 Enterprise Vault Search 中的项目的保留类别。两个操作都可能会导致项目的保留类别发生更改,并且可能会覆盖分类功能已设置的保留类别。

PreventRCDuringMove 的默认值为 $false。根据站点归档设置,Enterprise Vault 允许用户操作更新项目的保留类别。

-AllowRCOnRecTypeChange

在使用 Enterprise Vault 记录管理功能的环境中使用,以将所选项目标记为记录。

PreventRCDuringMove$true(阻止用户操作更新保留类别)时,AllowRCOnRecTypeChange 指定是否允许在也可能会导致项目的记录类型发生更改的实例中进行保留类别更新。AllowRCOnRecTypeChange 的默认值为 $true

PreventRCDuringMove$false 时,AllowRCOnRecTypeChange 不会有影响。

示例
  • Set-EVClassificationPolicy -SiteId 13E...EV.example.com -Name "Classification policy" -Description "Classification example policy"

    在指定的 Enterprise Vault 站点中,更新名为“Classification policy”的现有 Enterprise Vault 分类策略的说明。

  • Set-EVClassificationPolicy -SiteId 13E...EV.example.com -Name "Classification policy" -PreventRCDuringMove $true -AllowRCOnRecTypeChange $false

    配置指定的 Enterprise Vault 分类策略,以阻止用户操作更新项目的保留类别,包括该操作可能会更改应用策略的归档中的项目记录类型的情况。

输出

完成时会出现确认消息。

相关的 cmdlet