Pure1 PowerShell Module

To help our customers I have written a module that makes it easy to connect to the Pure1 REST API with PowerShell.

The module is called Cody.PureStorage.Pure1

There are a couple of places you can download this. The best option is the PowerShell gallery! This allows you to use install-module to automatically install the module.

As of the 1.0 release of the Pure1 REST, this module is pretty much feature complete in version 1.4.0.0+ of this module. If there is something not natively supported, I made one “new-PureOneRestOperation” that makes it simple to run any REST operation you want to Pure1.

To install:

install-module Cody.PureStorage.Pure1

To load the module:

import-module Cody.PureStorage.Pure1 

To update:

update-module Cody.PureStorage.Pure1

Use either get-help or get-command to see the details:

Comment on Versioning

Versions numbering w.x.y.z (for example 1.2.0.0)

  • W is iterated for large updates
  • X is iterated for new cmdlets
  • Y is iterated for new functions to existing cmdlets
  • Z is iterated for bug fixes

Latest version 1.4.0.2 (January 23rd, 2019)

Cmdlets:

  • New-PureOneRestConnection
  • Get-PureOneArrays
  • New-PureOneRestOperation
  • Get-PureOneArrayTags
  • Set-PureOneArrayTags
  • Remove-PureOneArrayTags
  • Get-PureOneArrayNetworking
  • Get-PureOneMetricDetails
  • Get-PureOneMetrics
  • Get-PureOneVolumes
  • Get-PureOnePods
  • Get-PureOneVolumeSnapshots
  • Get-PureOneFileSystems
  • Get-PureOneFileSystemSnapshots
  • Get-PureOneArrayBusyMeter



"Remember kids, the only difference between Science and screwing around is writing it down"