PowerShell SDK2

Microsoft Platform Guide

Audience
Public
Source Type
Documentation

The Everpure PowerShell SDK2 enables easy automation without having to directly call Rest APIs as over 400 cmdlets are available. The -Array parameter is needed if the PowerShell session is connected to more than 1 FlashArray, else it can be omitted.

  1. Install the PowerShell SDK if necessary.

    Install-Module PureStoragePowerShellSDK2
  2. Connect to the FlashArray.

    $fa30 = Connect-Pfa2Array -Endpoint <IP or FQDN> -IgnoreCertificateError -Credential (Get-Credential)
  3. Provision a Volume.

  4. Connect the Volume to the Host or Host Group.