1846546 Members
2115 Online
110256 Solutions
New Discussion

Re: SSACLI

 
joselobos23
Occasional Visitor

SSACLI

Hi, my name is José and I'm from Chile.

I have a problema with a SSACLI command. I need to a ssacli command redirection to a windows path.

example: ctrl slot=1 show config

 

And then, create a script .ps1 and use it this command.

# Ruta del ejecutable de HP SSA CLI
$ssacliPath = "C:\Program Files\Smart Storage Administrator\ssacli\bin"

# Comando que deseas ejecutar en SSA
$ssaCommand = "controller slot=0 show config"

# Ruta donde guardar la salida del comando
$outputFilePath = "C:\Users\Administrador\Desktop\output.txt"
$inicia = "C:\Program Files\Smart Storage Administrator\ssacli\bin\ssacli.exe"

Start-Process -FilePath $inicia -ArgumentList "-ExecutionPolicy Bypass -Command `"$ssaCommand`"" -Wait | Out-File -FilePath $outputFilePath

 

 

1 REPLY 1
Suman_1978
HPE Pro

Re: SSACLI

Hi,

Sorry, I was not able to understand the language you typed, what I understood is, you are looking for file save path for a report.
Here is the SSACLI guide, please refer to page 114 & 115.
There are also some videos for your reference.

Thank You!
I work with HPE but opinions expressed here are mine.
HPE Tech Tips videos on How To and Troubleshooting topics



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