Pure Storage PowerShell Toolkit 2.5.0.324

For those users of the PowerShell Toolkit this release has two significant changes:

  • Support for PSCredential
  • FlashArray parameter is now Optional

These two updates were a result of issues on GitHub  (Issue #7 and Issue #9). We appreciate the feedback and use of the toolkit to help deliver features that are useful. Additionally, I centralized error handling between Generic PowerShell errors and specific Pure Storage REST API errors.

PSCredential Support
Example:

$Creds = Get-Credential
$PSToken = Get-PfaApiToken -FlashArray MY-ARRAY -Credential $Creds
$PSSession = Connect-PfaController -API_Token $PSToken.api_token

FlashArray Parameter (Optional)
Example:

Get-PfaVolumes -Session $PSSession

New update can be downloaded from GitHub @ https://github.com/barkz/PureStoragePowerShellToolkit

Thanks,
barkz

Add Comment

Required fields are marked *. Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.