Veritas Enterprise Vault™ PowerShell Cmdlets
Get-EVMDSStatus
Get-EVMDSStatus gets the current status of the metadata store for an archive. The cmdlet can also be used to get the number of items that are missing from the metadata store for an archive.
Get-EVArchive is provided by Symantec.EnterpriseVault.PowerShell.Snapin.dll, which is loaded by the Enterprise Vault Management Shell.
Get-EVMDSStatus [[-ArchiveId] <String>] [[-VaultStoreId] <String>] [[-SiteId] <String>] [-IncludeMissingItems [<SwitchParameter>]] [<CommonParameters>]
Table: Get-EVMDSStatus parameters
Parameter | Description |
---|---|
-ArchiveId (required) | Identifies an archive. This is the default operation. |
-VaultStoreId (required) | Identifies a vault store. If this parameter is used instead of ArchiveId, the cmdlet operates on all applicable archives in the specified vault store. |
-SiteId (required) | Identifies a site. If this parameter is used the cmdlet operates on all appropriate archives in the specified site. |
-IncludeMissingItems | Whether the cmdlet should return the count of items that are present in the archive but are missing from the metadata store. This option can be slow if you have specified thousands of archives. |
Get-EVMDSStatus -ArchiveId 14B...EVSERVER.LOCAL
Gets the current status of the metadata store for the specified archive.
Get-EVMDSStatus -IncludeMissingItems -VaultStoreId 14B...EVSERVER.LOCAL
Gets the current status of the metadata store for all archives supported by metadata store in the specified vault store. Also includes a count of the number of items that are present in the archive but are missing from the metadata store.
Import-CSV example.csv | Get-EVMDSStatus
Gets the current status of the metadata store for each archive that is specified in a CSV file.
Import-CSV example.csv | Select VaultStoreEntryId | Get-EVMDSStatus
Imports a record set from a CSV file and, for each value in the VaultStoreEntryId column, returns the current status of the metadata store for each archive that is supported by metadata store.
Get-EVMDSStatus -VaultStoreId 14B...EVSERVER.LOCAL -IncludeMissingItems | Where-Object {$_.MDSStatus - ne 'EV_MDS_DISABLED' -and $_.MDSMissingItems -gt 0} | New-EVMDSBuildTask -Mode Build -Force
Creates a metadata store build task for each Fast Browsing or IMAP enabled archive in the specified vault store, if there are items missing from that archive's metadata store.
MDSStatus
MDSMissingItems
Table: Get-EVMDSStatus properties lists the properties that are available.
Table: Get-EVMDSStatus properties
Name | Type | Description |
---|---|---|
ArchiveId | String | The ArchiveId. |
MDSStatus | MDSStatus | The current status of the metadata store. Possible values: "EV_MDS_DISABLED", "EV_MDS_BUILD_PENDING", "EV_MDS_BUILDING", "EV_MDS_READY", "EV_MDS_BUILD_FAILED". |
See New-EVMDSBuildTask.