Skip to content

A PowerShell Toolkit to manage HPE Storage devices including the HPE Nimble Storage, 3PAR, Primera, Alletra 6000, and Alletra 9000 Platforms.

License

Notifications You must be signed in to change notification settings

HewlettPackard/HPEStoragePowerShellToolkit

Repository files navigation

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.

  • If the Array type is 3Par/Primera/Alletra9000 the command will load additional commands from the HPEAlletra9000andPrimeraand3Par_* modules.
  • If the Array type is Nimble/Alletra6000 the command will load the additional commands from the HPEALLETRA6000AndNimbleStorage module.
  • If the Array type is MSA the command will load the additional commands from the HPEMSA module.

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;

  • For the Changes to the Alletra9000/Primera/3PAR class of array is the file called 'Changes_A9.md'
  • For the Changes to the Alletra6000/Nimble class of array is the file called 'Changes_A6.md'
  • For the Changes to the MSA class of array is the file called 'Changes_MSA.md'

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

About

A PowerShell Toolkit to manage HPE Storage devices including the HPE Nimble Storage, 3PAR, Primera, Alletra 6000, and Alletra 9000 Platforms.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published