Enterprise Vault™ PowerShell Cmdlets

Last Published:
Product(s): Enterprise Vault (14.3)
  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.  
      About the imported Boolean value while using the Import-Csv cmdlet
    5. 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.  
      New-EVArchive
    8.  
      Remove-EVArchivePermission
    9.  
      Set-EVArchive
    10.  
      Set-EVArchivePermission
    11.  
      Start-PartitionRollover

Clear-IndexLocationBackUpMode

Decrements the backup mode count of Non-Elasticsearch index location by 1. When the count reaches 0, Non-Elasticsearch index location backup mode is cleared.

Clear-IndexLocationBackupMode decrements the backup mode count on one Non-Elasticsearch index location, on all the Non-Elasticsearch index locations associated with a server, or on all the Non-Elasticsearch index locations in a site.

Enterprise Vault maintains a count of backup mode requests for each Non-Elasticsearch index location. For example, if you use concurrent backup scripts in your environment, the backup mode count can be higher than 1. Backup mode is not cleared until the backup mode count reduces to 0.

Note:

Clear-IndexLocationBackupMode is not applicable for Elasticsearch index location. This command only decrements backup mode count on Non-Elasticsearch index locations.

Clear-IndexLocationBackUpMode is provided by the snap-in Symantec.EnterpriseVault.PowerShell.SnapIn.dll.

Syntax

Clear-IndexLocationBackupMode [-EVServerName] <String> [[-IndexRootPath] <String>] [-EVSiteName <String>] [-ForceClearBackupMode <Boolean>] [-SuppressConfirm] [<CommonParameters>]

Clear-IndexLocationBackupMode [-EntryId <String>] [-ForceClearBackupMode <Boolean>] [-SuppressConfirm] [<CommonParameters>]

Parameters

Table: Clear-IndexLocationBackUpMode parameters

Parameter

Description

-EVServerName (required)

The Enterprise Vault server that owns the Non-Elasticsearch index locations.

You must provide this parameter if you specify a site or Non-Elasticsearch index location by name rather than ID. This allows Clear-IndexLocationBackupMode to find the ID of the site or Non-Elasticsearch index location.

-IndexRootPath

The root path of a Non-Elasticsearch index location.

-EVSiteName

The name of the site.

-EntryId

The ID of the Non-Elasticsearch index location, service, server, or site.

-ForceClearBackupMode

Use -ForceClearBackupMode:$true to forcibly clear backup mode. Clear-IndexLocationBackupMode then ignores the existing backup mode count and sets it to 0.

-SuppressConfirm

Use -SuppressConfirm to suppress the prompt for confirmation when you use -ForceClearBackupMode:$true. This parameter is only available when you use -ForceClearBackupMode:$true.

Examples
  • C:\PS>Clear-IndexLocationBackupMode EVServer-Win2k3

    Decrements the backup mode count on all the Non-Elasticsearch index locations associated with server EVServer-Win2k3.

  • C:\PS>Clear-IndexLocationBackupMode EVServer-Win2k3 -ForceClearBackupMode:$true

    Forcibly clears backup mode from all the Non-Elasticsearch index locations associated with server EVServer-Win2k3. Clear-IndexLocationBackupMode ignores the existing backup mode count and sets it to 0. In this example, Windows PowerShell prompts for confirmation before it executes the command.

  • C:\PS>Clear-IndexLocationBackupMode EVServer-Win2k3 -ForceClearBackupMode:$true -SuppressConfirm

    Forcibly clears backup mode from all the Non-Elasticsearch index locations associated with server EVServer-Win2k3. Clear-IndexLocationBackupMode ignores the existing backup mode count and sets it to 0. In this example, Windows PowerShell does not prompt for confirmation before it executes the command.

  • C:\PS>Clear-IndexLocationBackupMode EVServer-Win2k3 -IndexRootPath f:\indexing\index0

    Decrements the backup mode count on the Non-Elasticsearch index location f:\indexing\index0.

  • C:\PS>Clear-IndexLocationBackupMode EVServer-Win2k3 -EVSiteName Site1

    Decrements the backup mode count on all Non-Elasticsearch index locations in Site1.

  • C:\PS>Clear-IndexLocationBackupMode -EntryId 1F3C7910CD579234AB8EB207F0ECEBCE912100002003SRV.Domain1.local

    Decrements the backup mode count on the object that has the specified ID. The ID can be that of an Non-Elasticsearch index location, a server, or a site.

    If you specify the ID of a Non-Elasticsearch index location, backup mode is decremented on that index location.

    If you specify the ID of a server or a site, backup mode is decremented on the Non-Elasticsearch index locations associated with the server, or in the site.

Output

Information regarding operation success.

Related cmdlets