Enterprise Vault™ PowerShell Cmdlets

Last Published:
Product(s): Enterprise Vault (14.2)
  1. Introducing the Enterprise Vault PowerShell cmdlets
    1.  
      About the Enterprise Vault Management Shell
    2.  
      Getting Help for Enterprise Vault PowerShell cmdlets
    3.  
      Rules for PowerShell strings
    4. Where to get more information about Enterprise Vault
      1.  
        Enterprise Vault training modules
  2. Archiving: Exchange
    1.  
      Add-EVPstComputer
    2.  
      Add-EVPstFile
    3.  
      Get-EVExchangeMailboxPolicy
    4.  
      New-EVExchangeMailboxPolicy
    5.  
      Remove-EVExchangeFolderPolicy
    6.  
      Remove-EVExchangeMailboxPolicy
    7.  
      Set-EVExchangeMailboxPolicy
  3. Archiving: 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. Archiving: Skype for Business
    1.  
      Get-EVSkypeForBusinessTarget
    2.  
      New-EVSkypeForBusinessTarget
    3.  
      Remove-EVSkypeForBusinessTarget
    4.  
      Set-EVSkypeForBusinessTarget
  5. Archiving: 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. Backup
    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. Classification
    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. Databases
    1.  
      Get-EVDatabase
    2.  
      Get-EVDatabaseDetail
    3.  
      Get-EVDatabaseFileInfo
    4.  
      Get-EVStorageDatabase
    5.  
      Set-EVDatabaseDetail
    6.  
      Start-EVDatabaseUpgrade
  9. IMAP access
    1.  
      Get-EVIMAPUsers
    2.  
      Get-EVIMAPUserSettings
    3.  
      Set-EVIMAPServerDisabled
    4.  
      Set-EVIMAPServerEnabled
  10. Indexing
    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. Records management
    1.  
      Export-EVNARAArchive
    2.  
      Get-EVRecordSettings
  12. Retention plans
    1.  
      Get-EVRetentionPlan
    2.  
      New-EVRetentionPlan
    3.  
      Remove-EVRetentionPlan
    4.  
      Set-EVRetentionPlan
  13. Roles-based administration
    1.  
      Add-EVRBARoleMember
    2.  
      Get-EVRBAAzStoreXml
    3.  
      Get-EVRBARole
    4.  
      Get-EVRBARoleMember
    5.  
      Remove-EVRBARoleMember
    6.  
      Set-EVRBAAzStoreXml
  14. Sites and servers
    1.  
      Get-EVComputers
    2.  
      Get-EVFileLocation
    3.  
      Get-EVIISWebsite
    4.  
      Get-EVServer
    5.  
      Get-EVSite
    6.  
      Get-EVSiteInfo
  15. Tasks and services
    1.  
      Get-EVDependencyService
    2.  
      Get-EVDependencyServiceState
    3.  
      Get-EVService
    4.  
      Get-EVServiceState
    5.  
      Get-EVTask
    6.  
      Get-EVTaskState
  16. Vault stores and archives
    1.  
      Export-EVArchive
    2.  
      Get-EVArchive
    3.  
      Get-EVArchivePermission
    4.  
      Get-EVVaultStore
    5.  
      Get-EVVaultStorePartition
    6.  
      Remove-EVArchive
    7.  
      Remove-EVArchivePermission
    8.  
      Set-EVArchive
    9.  
      Set-EVArchivePermission
    10.  
      Start-PartitionRollover

Restore-EVIndexSnapshot

Restore-EVIndexSnapshot restores the specified snapshot of index data of the specified Enterprise Vault index server on the Enterprise Vault index server where command is executed.

Syntax

Restore-EVIndexSnapshot [-EVServerName <String>] -SnapshotName <String> -SnapshotServerName <String> [-IgnoreUnavailable <SwitchParameter>] [-IncludeGlobalState <SwitchParameter>] [-Confirm <SwitchParameter>] [-WhatIf <SwitchParameter>] [<CommonParameters>]

Restore-EVIndexSnapshot restores the specified snapshot of index data of the specified Enterprise Vault index server on the Enterprise Vault index server where command is executed.

Restore-EVIndexSnapshot is provided by Symantec.EnterpriseVault.PowerShell.AdminAPI.dll, which the Enterprise Vault Management Shell loads.

Parameters

Table: Restore-EVIndexSnapshot parameters

Parameter

Description

-SnapshotName

The name of the index snapshot which you want to restore.

-SnapshotServerName

The name of the Enterprise Vault index server to which the specified index snapshot belongs.

-IgnoreUnavailable

You can use IgnoreUnavailable switch to determine whether command returns an error for any data stream or index that is missing. If false, the command returns an error for any data stream or index that is missing. If true, the command ignores data streams and indices those are missing.

-IncludeGlobalState

You can use IncludeGlobalState switch to determine whether command restores the snapshot's cluster state and feature state.

If false, the snapshot's cluster state and feature state are not restored. If true, the snapshot's cluster state and feature state are also restored.

-Confirm

You can use the Confirm switch to suppress the confirmation prompt that appears by default when this cmdlet is run. To suppress the confirmation prompt, use the syntax -Confirm:$False. You must include a colon ( : ) in the syntax.

-WhatIf

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can preview the changes that would occur without applying any of those changes. You do not need to specify a value with the WhatIf switch.

Examples
  • C:\PS> Restore-EVIndexSnapshot -SnapshotName 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' -SnapshotServerName 'smtpev2.rail.com'

    Restores the index snapshot 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' of the Enterprise Vault index server 'smtpev2.rail.com' on the current Enterprise Vault index server on which this command is executed.

  • C:\PS> Restore-EVIndexSnapshot -EVServer 'smptev2.rail.com' -SnapshotName 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' -SnapshotServerName 'smtpev2.rail.com'

    Restores the index snapshot 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' of the Enterprise Vault index server 'smtpev2.rail.com' on the specified Enterprise Vault index server.

  • C:\PS> Restore-EVIndexSnapshot -SnapshotName 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' -SnapshotServerName 'smtpev2.rail.com' -IncludeGlobalState

    Restores the index snapshot 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' of the Enterprise Vault index server 'smtpev2.rail.com' on the current Enterprise Vault index server on which this command is executed.

    As IncludeGlobalState switch is specified, the command also restores the snapshot's cluster state and feature state.

  • C:\PS> Restore-EVIndexSnapshot -SnapshotName 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' -SnapshotServerName 'smtpev2.rail.com' -IgnoreUnavailable

    Restores the index snapshot 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' of the Enterprise Vault index server 'smtpev2.rail.com', on the current Enterprise Vault index server on which this command is executed.

    As IgnoreUnavailable switch is specified, the command ignores data streams and indices that are missing.

  • C:\PS> Restore-EVIndexSnapshot -SnapshotName 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' -SnapshotServerName 'smtpev2.rail.com' -IncludeGlobalState -IgnoreUnavailable

    Restores the index snapshot 'db53a04c-eb3d-4e87-b0c1-f7750191a3c4' of the Enterprise Vault index server 'smtpev2.rail.com', on the current Enterprise Vault index server on which this command is executed.

    As IncludeGlobalState switch is specified, the command also restores the snapshot's cluster state and feature state.

    As IgnoreUnavailable switch is specified, the command ignores data streams and indices that are missing.

  • C:\PS> Get-EVIndexSnapshot -Latest | Restore-EVIndexSnapshot

    Restores the latest index snapshot of the current Enterprise Vault index server on which this command is executed, on the same server.

Output

None.

Restore-EVIndexSnapshot returns no output.

Related cmdlets