Invoking the Enterprise Vault Management Shell

After completing the Enterprise Vault installation tasks, and before taking Enterprise Vault snapshots, you must invoke the Enterprise Vault Management Shell to register PowerShell snap-ins and set the execution policy.

The Enterprise Vault Management Shell can be invoked either prior to or after performing the Prepare operation for snapshot mirrors.

Note:

You need to invoke the Enterprise Vault Management Shell only once on a host where you are performing the snapshot command. As a best practice, it is recommended that you invoke the shell once on all the hosts in the Enterprise Vault configuration.

To invoke the Enterprise Vault Management Shell

  1. Invoke Enterprise Vault Management Shell from Start > All Programs > Enterprise Vault > Enterprise Vault Management Shell or, on Windows 2012 operating systems, from the Apps menu in the Start screen.
  2. Run the following command to set the execution policy:

    set-executionpolicy unrestricted

Warning:

When execution policy is unrestricted, PowerShell will run any PowerShell script. This is the least secure setting and has considerable security risks.