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.