Updated PureStoragePowerShellToolkit 1808.24

There was a formatting problem discovered by a customer with the New-FlashArrayCapacityReport which is fixed in version 1808.24.

The issue was related to output formatting with the System Data Reduction output. A “:1” was added to the end of the calculation which caused the error:

At C:\Program Files\WindowsPowerShell\Modules\PureStoragePowerShellToolkit\1808.24\PureStoragePowerShellToolkit.psm1:152 char:81
+ ... = [system.Math]::Round($FlashArraySpaceMetrics.total_reduction,1)":1"
+                                                                      ~~~~
Unexpected token '":1"' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

To get the new update perform the following:

Uninstall-Module PureStoragePowerShellToolkit
Install-Module PureStoragePowerShellToolkit -RequiredVersion 1808.24

Thanks for continuing to provide feedback for the Toolkit. 

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.