BEMCLI command fails with exception that drive does not exist


Running BEMCLI related powershell commands fail with error listed below.

Error Message

Import-Module : Cannot find drive. A drive with the name, '<DRIVER_LETTER>', does not exist.


PowerShell environmental variable PSModulePath has an incorrect path.


Change PSModulePath environmental path to point to the correct location:

Determine current PSModulePath

  1. Within the PowerShell shell type: $env:PSModulePath and press Enter.

NOTE: The default value of $env:PSModulePath is:

$home\Documents\WindowsPowerShell\Modules; $pshome\Modules

(e.g. C:\Users\Administrator\Documents\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules\)

  1. Change the PSModulePath (for most customers the default path above is sufficient) by doing the following.
    1. Right click on My Computer and choose Properties.
    2. Click on Advance System Settings.
    3. Click on Environment Variables...
    4. In the System variables section scroll up or down to locate the variable PSModulePath.
    5. Click Edit.
    6. Enter the correct path (using Default this could be %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\  -OR- $pshome\Modules).
    7. Click OK till you are out of all screens.
  2. Attempt the BEMCLI command.

If the issue persist verify that there is no a PowerShell profile setting that may be interfering. To learn more about PowerShell profiles visit: for further information.

Terms of use for this information are found in Legal Notices.



Did this article answer your question or resolve your issue?


Did this article save you the trouble of contacting technical support?


How can we make this article more helpful?

Email Address (Optional)