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:
1 2 3 4 5 6 |
At C:Program FilesWindowsPowerShellModulesPureStoragePowerShellToolkit1808.24PureStoragePowerShellToolkit.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:
1 2 |
Uninstall-Module PureStoragePowerShellToolkit Install-Module PureStoragePowerShellToolkit -RequiredVersion 1808.24 |
Thanks for continuing to provide feedback for the Toolkit.
–Barkz