equelin / 3par-powershell Goto Github PK
View Code? Open in Web Editor NEWPowershell's module for working with HP 3PAR StoreServ array
License: Apache License 2.0
Powershell's module for working with HP 3PAR StoreServ array
License: Apache License 2.0
Hi,
i stumbled upon that the Host Persona enum is different from the wsapi to the cli.
What about creating a "translationtable" for all the functions that use persona? I can do this if you want.
-Service- -State- -HTTP_State- HTTP_Port -HTTPS_State- HTTPS_Port -Version- ------------API_URL-------------
Enabled Active Enabled 8008 Enabled 8080 1.5.3 https://:8080/api/v1
Connect-3PAR $3ParArray -Username $3ParUser -Password $3ParPassword -Verbose
VERBOSE: Validating that login details were passed into username/password or credentials
VERBOSE: Build the URI
VERBOSE: Build the JSON body for Basic Auth
VERBOSE: Submit the session key request
VERBOSE: POST https://:8080/api/v1/credentials with -1-byte payload
Please verify the connectivity with the array. Retry with the parameter -Verbose for more informations
VERBOSE: Status: SendFailure
VERBOSE: Error code:
VERBOSE: Message: Unable to read data from the transport connection: An existing connection was forcibly closed by the remot
e host.
Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send.
At line:59 char:25
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Need to add pipelinning possibilities to the functions
$volumes = @('lun01','lun02')
$volumes | Get-3PARVolumes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.