Update: Pure Storage PowerShell SDK 1.13.1.12

We have updated the PowerShell SDK to fix a bug with a few cmdlets returning incorrect return values. One example shown below uses Get-PfaArrayAttributes cmdlet and returns the version information correctly as 5.1.1.

PS C:\> Get-Module -ListAvailable -Name *Pure*

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Binary     1.13.1.12  PureStoragePowerShellSDK            {Disable-PfaAlert, Enable-PfaAlert, Get-PfaAlert, Get-PfaA...


PS C:\> $f = New-PfaArray -EndPoint 10.21.201.57 -UserName pureuser -IgnoreCertificateError

cmdlet New-PfaArray at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Password: ********
PS C:\> $f

Disposed   : False
EndPoint   : 10.21.201.57
UserName   : pureuser
ApiVersion : 1.13
Role       : ArrayAdmin
ApiToken   : 58db6abf-1933-553f-1628-0c6e207aba1e

PS C:\> Get-PfaArrayAttributes -Array $f

version revision             array_name     id
------- --------             ----------     --
5.1.1   201806020021+e5d9845 sn1-m20-c09-29 45084f35-08bf-4614-8f61-8e9def776d88

In the PowerShell SDK 1.3.0.3 Get-PfaArrayAttribute was returning a date vs a string. The example below is taken from using the New-FlashArrayCapacityReport cmdlet from the PowerShell Toolkit.

cid:image002.png@01D3F9B5.8DF7A410

Happy Scripting!
—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.