diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fbbf89..54aa983 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.3.1]() - 2023-01-20 +### Fixed +- Another fix for column order issue in Invoke-OMEReport ([Issue #7](https://github.com/dell/OpenManage-PowerShell-Modules/issues/7)) + ## [3.3.0]() - 2023-01-19 ### Added - Get-OMEApplianceInfo diff --git a/DellOpenManage/DellOpenManage.psd1 b/DellOpenManage/DellOpenManage.psd1 index c8599ca..0fc763d 100644 --- a/DellOpenManage/DellOpenManage.psd1 +++ b/DellOpenManage/DellOpenManage.psd1 @@ -3,7 +3,7 @@ # # Generated by: Trevor Squillario # -# Generated on: 1/19/2023 +# Generated on: 1/20/2023 # @{ @@ -12,7 +12,7 @@ RootModule = 'DellOpenManage.psm1' # Version number of this module. -ModuleVersion = '3.3.0' +ModuleVersion = '3.3.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/DellOpenManage/Public/OME/Invoke-OMEReport.ps1 b/DellOpenManage/Public/OME/Invoke-OMEReport.ps1 index c6171ba..a9e799c 100644 --- a/DellOpenManage/Public/OME/Invoke-OMEReport.ps1 +++ b/DellOpenManage/Public/OME/Invoke-OMEReport.ps1 @@ -10,7 +10,7 @@ $DeetsResp = Invoke-WebRequest -Uri $ReportDeets -UseBasicParsing -Headers $Headers -Method Get -ContentType $Type if ($DeetsResp.StatusCode -eq 200){ $DeetsInfo = $DeetsResp.Content | ConvertFrom-Json - $ColumnNames = $DeetsInfo.ResultRowColumns | Sort-Object Sequence | ForEach-Object{$_.Name} + $ColumnNames = $DeetsInfo.ResultRowColumns | ForEach-Object{$_.Name} Write-Verbose "Extracting results for report ($($ReportId))" $ResultUrl = $BaseUri + "/api/ReportService/ReportDefs($($ReportId))/ReportResults/ResultRows"