Referring to the recent use case, I decided to create a very easy way to import and export Modern Dashboards. This approach does not require any additional installations or configuration and can be run locally on SolarWinds server or remotely from any location with access to SolarWinds REST API.
KMSigma created great article, which I have pasted below. However it does require installing PowerShell 7 and Orion PowerShell module.
Importing/Exporting Modern Dashboards
It can be tricky for more restricted environments, so I looked at the alternative of using HTTPS REST API. This approach only requires access to port 17774 or 17778 (legacy) and it can be run on any Windows system with built-in PowerShell. The script is ready and can be used without any additional configuration. It also includes comments.
How-To and walkthrough of the script is published on my YouTube Channel. I appreciate subscribing
Downloads are available on Thwack and in my Github repository.
https://thwack.solarwinds.com/content-exchange/the-solarwinds-platform/m/scripts/4267
https://thwack.solarwinds.com/content-exchange/the-solarwinds-platform/m/scripts/4268
https://github.com/kpmarcin/SolarWinds/blob/main/PowerShell_Scripts/ModernDashboardsExportHTTPS.ps1
https://github.com/kpmarcin/SolarWinds/blob/main/PowerShell_Scripts/ModernDashboardsImportHTTPS.ps1
If you have any questions, please reply on Thwack or YouTube.
Kind regards,
Marcin.