Importing the modules

To use the ESI PowerShell toolkits, with Windows Server 2008 or 2008 R2, you must run the toolkit launcher and then import the corresponding toolkit module each time you want to use the corresponding toolkit. With Windows Server 2012, modules are imported automatically and you can omit this step.

Run the launcher and import the ESI PowerShell Toolkit

During the core ESI installation, the ESI PowerShell Toolkit is installed on the same system in a default EMC folder.

To run the launcher and import the ESI PowerShell Toolkit module:

  1. Open a Windows PowerShell command prompt in either the interactive or scripting environment.

  2. At the PS C:\> command prompt, type the following and press Enter to run each command separately:

cd "C:\Program Files\EMC\EMC Storage Integrator\ESIPSToolKit"

.\ESIPSToolKitLauncher.ps1

import-module ESIPSToolkit

Import the ESI Service PowerShell Toolkit

During the ESI installation, when you select to install the ESI Service, the ESI Service PowerShell Toolkit is installed on the same system in a default EMC folder.

To import the ESI Service PowerShell Toolkit module:

  1. Open a Windows PowerShell command prompt in either the interactive or scripting environment.

  2. At the PS C:\> command prompt, type the following and press Enter to run each command separately:

cd "C:\Program Files\EMC\EMC Storage Integrator\ESIServicePSToolKit"

import-module ESIServicePSToolkit

Note: You must type these import commands each time you want to use both ESI PowerShell toolkits.