Enterprise Vault™ PowerShell Cmdlets
- Introducing the Enterprise Vault PowerShell cmdlets
- Archiving: Exchange
- Archiving: FSA
- Archiving: Skype for Business
- Archiving: SMTP
- Backup
- Classification
- Databases
- IMAP access
- Indexing
- Records management
- Retention plans
- Roles-based administration
- Sites and servers
- Tasks and services
- Vault stores and archives
Start-EVDatabaseUpgrade
Start-EVDatabaseUpgrade upgrades all the Enterprise Vault databases following an Enterprise Vault upgrade, and returns the status for each database.
You must log in using the Vault Service account to run this cmdlet. Stop all Enterprise Vault services before you start the upgrade, and ensure that an upgrade is not already running.
The timeout parameters let you adjust the time that the cmdlet allows for executing SQL Server commands and scripts. You may find that increasing the timeout periods is helpful when conducting a particularly long-running upgrade, which will eventually complete if sufficient time is allowed. However, in the unlikely event that the upgrade has hung for any reason, there is no benefit to increasing the timeout periods.
Start-EVDatabaseUpgrade is provided by the snap-in DBUpgraderPowerShell.dll
.
Start-EVDatabaseUpgrade [-CommandTimeoutSeconds <Integer>] [-ScriptTimeoutSeconds <Integer>] [<CommonParameters>]
Table: Start-EVDatabaseUpgrade parameters
Parameter | Description |
---|---|
-CommandTimeoutSeconds | Specifies a timeout in seconds for this cmdlet to execute SQL Server commands, such as SQL statements and stored procedures. The default is 210 seconds. Must be a non-zero value. |
-ScriptTimeoutSeconds | Specifies a timeout in seconds for this cmdlet to execute scripts on the SQL Server. The default is 7200 seconds. Must be a non-zero value. |
Start-EVDatabaseUpgrade
Starts an upgrade of Enterprise Vault databases, and returns the status of each.
Start-EVDatabaseUpgrade -CommandTimeoutSeconds 420 -ScriptTimeoutSeconds 14400
Gives the cmdlet more time to execute SQL Server commands and scripts by doubling the timeout values for these activities.