Enterprise Vault™ PowerShell Cmdlet
- Enterprise Vault PowerShell Cmdlet 简介
- 归档:Exchange
- 归档:FSA
- 归档:Skype for Business
- 归档:SMTP
- 备份
- 分类
- 数据库
- IMAP 访问
- 索引
- 记录管理
- 保留计划
- 基于角色的管理
- 站点和服务器
- 任务和服务
- 保管库存储和归档
Remove-EVIndexSnapshotLocation
Remove-EVIndexSnapshotLocation 会删除指定 Enterprise Vault 站点中指定 Enterprise Vault 索引服务器上配置的指定索引快照位置。
Remove-EVIndexSnapshotLocation -SnapshotLocationPath <String> [-EVServerName <String>] [-ForceDelete <SwitchParameter>] [-Confirm <SwitchParameter>] [-WhatIf <SwitchParameter>] [<CommonParameters>]
Remove-EVIndexSnapshotLocation -SnapshotLocationPath <String> -SiteId <String> [-EVServerName <String>] [-ForceDelete <SwitchParameter>] [-Confirm <SwitchParameter>] [-WhatIf <SwitchParameter>] [<CommonParameters>]
Remove-EVIndexSnapshotLocation 会删除指定 Enterprise Vault 站点中指定 Enterprise Vault 索引服务器上配置的指定索引快照位置。
Remove-EVIndexSnapshotLocation 由 Enterprise Vault Management Shell 加载的 Symantec.EnterpriseVault.PowerShell.AdminAPI.dll
提供。
表:Get-EVIndexSnapshot 参数
参数 |
描述 |
---|---|
-SnapshotLocationPath |
要删除的索引快照位置的路径。 |
-SiteId |
Enterprise Vault 站点的 ID,您想从该站点删除指定的索引快照位置。 如果忽略此参数,Remove-EVIndexSnapshotLocation 会从指定为 EVServerName 参数的 Enterprise Vault 索引服务器中检索 SiteId;否则,它会使用运行该命令的 Enterprise Vault 索引服务器的站点的 ID。可以使用 Get-EVSite 命令获取 SiteId。 |
-EVServerName |
Enterprise Vault 索引服务器的名称,您想从该服务器上删除指定的索引快照位置。 如果忽略此参数,Remove-EVIndexSnapshotLocation 会使用运行该命令的 Enterprise Vault 索引服务器的主机名。 可以使用 Get-EVComputers 命令获取 Enterprise Vault 索引服务器名称。 |
-ForceDelete |
您可以使用此切换强制删除位置。这将绕过所有验证。 |
-Confirm |
您可以使用 Confirm 切换,用于禁止在此 cmdlet 运行时默认显示确认提示。要禁止显示确认提示,请使用语法 -Confirm:$False。必须在语法中包括冒号 (:)。 |
-WhatIf |
WhatIf 切换指示命令模拟将在对象上执行的操作。通过使用 WhatIf 切换,您可以预览将发生的变化,而不应用任何这些变化。无需为 WhatIf 切换指定任何值。 |
C:\PS> Remove-EVIndexSnapshotLocation -SnapshotLocationPath c:\location1
从执行此命令的 Enterprise Vault 索引服务器中删除路径为“c:\location1”的索引快照位置。
C:\PS> Remove-EVIndexSnapshotLocation -SnapshotLocationPath c:\location1 -ForceDelete
从执行此命令的 Enterprise Vault 索引服务器上删除路径为“c:\location1”的索引快照位置,而不运行任何验证。
C:\PS> Remove-EVIndexSnapshotLocation -SnapshotLocationPath c:\location1 -ServerName win12r2.domain.local
从 Enterprise Vault 索引服务器“win12r2.domain.local”中删除路径为“c:\location1”的索引快照位置。
C:\PS> Remove-EVIndexSnapshotLocation -SnapshotLocationPath c:\location1 -SiteId 1400222F70EEFC04AA6B63C233696BB491d10000Win12R2.domain.local
在指定的 Enterprise Vault 站点中,从 Enterprise Vault 索引服务器中删除路径为“c:\location1”的索引快照位置。
C:\PS> Get-EVSite | Remove-EVIndexSnapshotLocation -SnapshotLocationPath c:\location1 -EVServerName win12r2.domain.local
删除由 Get-EVSite 命令返回的 Enterprise Vault 站点中所有 Enterprise Vault 索引服务器的所有索引快照位置。
C:\PS> Get-EVComputers | Remove-EVIndexSnapshotLocation -SnapshotLocationPath c:\location1
删除由 Get-EVComputers 命令返回的所有 Enterprise Vault 索引服务器的所有索引快照位置。
无。
Remove-EVIndexSnapshotLocation 不返回输出。