Feature Request- Add Cmdlet for PowerShell Module for Report generation.

Implemented

Feature Request- Add Cmdlet for PowerShell Module for Report generation.

0 vote

avatar

Not sure if this should go here or the PowerShell section.

Context: I'm looking into potentially managing our certs in RDM. It's easy enough to add certs and the dashboard shows expiring certs in the next 30 days. We currently generate all sorts of certs from different places and cert management is a bit of nightmare, but we also don't have the $$$ to buy a solution. Being able to just add certs is an awesome feature and track expiration/report on it. Of course, we need to also be able to automate reporting.

I came across: https://help.remotedesktopmanager.com/export_reports.html and it appears there's command line functionality for exporting reports. That's pretty awesome and I will be playing around w/ that. most EXEs work good enough from PS just takes some tinkering sometimes.

That got me thinking - this would be a great add-on for the PowerShell Module. A cmdlet/function named New-RDMReport that outputs a PSCustomobject that you could pipe to Export-CSV. You could have similar parameters (Datasource, optional as it should also potentially be saved to current session config, type, mandatory, could validate set on the options for tab completion,if you wanted to also export as part of the same command you could have a Path parameter, but I think writing back to console and having users use Export-CSV would be sufficient, and SettingsPath could be the path to the settings rdr file). to that of the report export feature in the exe. Basic functionality would look something like this:

#EXAMPLE

New-RDMReport -Type ConnectionExpiredEntry

#EXAMPLE

New-RDMReport -Type ConnectionExpiredSoftware | Export-CSV  -Path "$env:userprofile\documents\ExpiredSoftware.csv



For those used to PowerShell syntax and running this will feel familiar scheduled tasks this could be a really great add-on for automating report building for their bosses or team.

Thoughts?

All Comments (2)

avatar

Hello,

The Export-RDMReport cmdlet was added internally last week, it will be available in the RDM module shortly. For now, it supports the PasswordAnalyzer report, but more will be added over time.

Best regards,

Richard Boisvert

avatar

Hey Richard,

Excellent - Thanks for the FYI. Glad this is already in process, will look forward to it being GA with all the reporting functionality.

-Nick