HPE 3PAR StoreServ Storage
1827295 Members
2189 Online
109960 Solutions
New Discussion

Re: Powershell error "Path for HPE 3PAR cli was not found"

 
SOLVED
Go to solution
Chang Che-Lun
Advisor

Powershell error "Path for HPE 3PAR cli was not found"

I try to use powershell tool kit

and when I use New-CLIConnection command to connect to my 3par,

it show me a error message

Failure : Path for HPE 3PAR cli was not found. Make sure you have cli.exe file under C:\Program Files (x86)\Hewlett Packard Enterprise\HPE 3PAR CLI\bin

What is 3PAR cli ?

And where I can find it

 

Thanks

 

 

8 REPLIES 8
Mahesh202
HPE Pro

Re: Powershell error "Path for HPE 3PAR cli was not found"

Hi Chang Che-Lun

What is 3PAR cli ?
HPE 3PAR Command Line Interface (CLI) commands used to administer and maintain the HPE StoreServ storage system
here's the link for HPE 3PAR Command Line Interface reference guide: https://www.hpe.com/psnow/doc/c04204279

Also, I would like to share the PowerShell Toolkit for HPE Primera and HPE 3PAR 3.0 User Guide
here's the link: https://www.hpe.com/psnow/doc/a00085686en_us

The PowerShell Toolkit for HPE Primera and HPE 3PAR supports cmdlets, which are wrappers around the native HPE
Primera and HPE 3PAR storage CLI commands and HPE 3PAR storage Web Services API (WSAPI)

Hope this helps.!!

Regards
Mahesh.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Chang Che-Lun
Advisor

Re: Powershell error "Path for HPE 3PAR cli was not found"

Hi Mahesh

I know how to use 3par cli in 3par or primera,

but my purpose is use the powershell to automatic my job,

so I want to use the powershell tool kit,

this is my first time use HPE 3PAR powershell tool kit

I can't use the 3par cli in powershell,

I want to use the command style of powershell,

just like get-vv not 3par style just like showvv

How can I finish this task by using powershell tool kit?

Thanks

Mahesh202
HPE Pro

Re: Powershell error "Path for HPE 3PAR cli was not found"

Hi Chang Che-Lun

I request you to refer to The PowerShell Toolkit for HPE Primera and HPE 3PAR 3.0 User Guide which was already shared in the previous post.

  • Please go through the Prerequisites for installing the PowerShell Toolkit, starting from page #29
  • Install the HPE 3PAR PowerShell Toolkit
  • Connect to your 3PAR or Primera Array on Page #31
  • Explore Available Cmdlets according to your needs.


Hope this helps.!!

Regards
Mahesh.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Dardan
Trusted Contributor

Re: Powershell error "Path for HPE 3PAR cli was not found"

Hi,

What version of Powershell Tool kit are you using? It seems like it's trying to connect to an older version of CLI directory/bin.
CLI version 3.2.2 resides by default under C:\Program Files (x86)\Hewlett-Packard\HP 3PAR CLI

Either download the latest 3PAR & Primera Powershell Toolkit, or re-install CLI client and modify the Installation Location to the one requested by your current Powershell Toolkit C:\Program Files (x86)\Hewlett Packard Enterprise\HPE 3PAR CLI\bin

Hope this helps
Dardan

 

CLIInstallation.PNG

___________
Hit the Kudo's button to show appreciation or mark as solution if your question was answered.
Chang Che-Lun
Advisor

Re: Powershell error "Path for HPE 3PAR cli was not found"

Hi

I use vsersion 3.13.1.jpg

 

 

Dardan
Trusted Contributor

Re: Powershell error "Path for HPE 3PAR cli was not found"

What version of CLI are you using?

___________
Hit the Kudo's button to show appreciation or mark as solution if your question was answered.
Chang Che-Lun
Advisor

Re: Powershell error "Path for HPE 3PAR cli was not found"

I just have Powershell tool kit,

I don't have cli

Dardan
Trusted Contributor
Solution

Re: Powershell error "Path for HPE 3PAR cli was not found"

You need to have CLI software installed to be able to use CLI module of Powershell ToolKit.
Or you can use WSAPI module of Powershell Toolkit which is included in the installer.
New-WSAPIConnection

___________
Hit the Kudo's button to show appreciation or mark as solution if your question was answered.