HewlettPackard / HPEStoragePowerShellToolkit

A PowerShell Toolkit to manage HPE Storage devices including the HPE Nimble Storage, 3PAR, Primera, Alletra 6000, and Alletra 9000 Platforms.
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

HPEStoragePowerShellToolkit

This is actually a Set of Toolkits combined into a single Download Package. The HPEStorage PowerShell Toolkit (version 3.5.0.0) and the HPE Alletra6K Nimble Storage PowerShell Toolkit (version 3.5.0.0) Since these toolkits contain no conflicting file names, they can both co-exist in the same folder structure.

When you load the HPEStorage Toolkit, it will contain a command called 'Connect-HPEStorage'. You can run this command as follows PS:> Connect-HPEStorage -ArrayNameOrIPAddress 1.2.3.4 -credential (Get-Credential) -ArrayType {3Par | Primera | Alletra9000 | Nimble | Alletra6000 | MSA}

This command will connect to the array type and then load the commands specific to that type of array.

Additionally, to get the command list for each array type run the following commands

Once connected to a Alletra9000/Primera/3Par type array, run the following command;

PS:> Get-Command -Module (Get-Module HPEAlletra9000andPrimeraand3Par_*)

Once connected to a Alletra6000/Nimble type array, run the following command;

PS:> Get-Command -Module (Get-Module HPEAlletra6000andNimbleStorage)

Once connected to a Alletra6000/Nimble type array, run the following command;

PS:> Get-Command -Module (Get-Module HPEMSA)

Each of these toolkit is being upgraded to remove duplicate or depreciated commands, fix bugs, and streamline operations. These new versions are called out below; HPEStorage version 3.5. These changes to the existing toolkits are outlined in the called Changes with the prefix depending on the class of array;

These commands were tested against PowerShell version 7.x. If you run into problems, please consider downloading PowerShell 7.x and run the commands in that version. To obtain PowerShell 7.x please use the following PowerShell Command.

PS:> iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"

Future:

  1. The next version of the Toolkit will include support for the AlletraMP
  2. The next version of the Toolkit will include a suite of Pester Tests to enhance toolkit testing