Export for Documentation

0 vote

avatar

As a computer consultant I would like to export a vault into an easily manipulated format that I can integrate with my documentation. Right now I can export to CSV but this does not include application or powershell commands. It also gets interesting when trying to export asset details (CPU, RAM, IP, etc).

Is there a powershell script or method to extract this information?

Thank you.

To say can't is to fail before you begin

All Comments (2)

avatar

Hello,

The following sample script will allow you to export chosen properties in a CSV file.
https://github.com/Devolutions/RDMSamples-ps/blob/main/module/export/ExportCustomToCSV.ps1

A method to find property's name in RDM is to select an entry and go in Home - Copy - Preview. The asset details are located under MetaInformation.
forum image

So in the PowerShell script, the last line should look like this one if you want to export the OS asset property.
$sessions | Select-Object -property Name, Group, ConnectionType, @{Name="OS"; Expression={$_.MetaInformation.OS}} | export-csv $CSVFileName -NoTypeInformation

Best regards,

Érica Poirier

avatar

Awesome. Thank you!

To say can't is to fail before you begin