dell / OpenManage-Enterprise

Script collateral leveraging the OME/OME-M REST APIs
Apache License 2.0
92 stars 48 forks source link

Invoke-ReportExecution script - Column order #234

Open bolous1 opened 2 years ago

bolous1 commented 2 years ago

Hello,

I'm new here and I would like to take a moment to say thank you for what you have been doing to date, excellent scripts.

I am currently executing the "Invoke-ReportExecution" script on my OME appliance against a custom report and I happen to notice the export csv file the headers don't line up what's on the report builder. This also the case with if I run the canned report "Software Components and Versions Report". Is there a way within the script to apply the headers that is being displayed within the report builder or at the very least start the headers with certain column order such as "Device Name", Device Identifier"?

Thank you

TrevorSquillario commented 1 year ago

Checkout the Invoke-OMEReport commandlet in the PowerShell module. I believe I fixed this issue over there.

https://www.powershellgallery.com/packages/DellOpenManage https://github.com/dell/OpenManage-PowerShell-Modules