How-To: Installing the FlashArray PowerShell SDK using the PowerShell Gallery

Microsoft Platform Guide

Audience
Public
Source Type
Documentation

The following page provides information on how to install the FlashArray PowerShell SDK using the PowerShell Gallery.

Note:

This article applies to all versions of the PowerShell SDK.

Note:

This article contains information on installing the PowerShell SDK version 1 and version 2. Each version has its own package in the PowerShell gallery and must be installed using a different package name - PureStoragePowerShellSDK for version 1, and PureStoragePowerShellSDK2 for version 2. Both packages will continue to remain until such time that version 1 is deprecated.

Starting with the PowerShell SDK version 1.5.5.x, the Everpure PowerShell module can be installed from the PowerShell Gallery. Installing from the PowerShell Gallery allows for quicker updates, no installation package downloads (i.e MSI), and it can be deployed across a data center quickly via automation to individual server nodes.

Starting with Windows PowerShell 5.0, the PowerShellGet module was included in the base PowerShell package from Microsoft. The PowerShellGet module provides the integration with the PowerShell Gallery for remotely installing additional modules.

See Update-Module for easy updating when a new version is released.

Note:

If the module is installed using the MSI installer, by default, the module will be installed to the \Program Files\Everpure\PowerShell\Modules folder. This is configurable during the installation. When the module is installed using the PowerShell Gallery and the Install-Module cmdlet, the module is installed in the default $PSModulePath.