I know this post is old but I had the same problem in my company to find information from RS 2017 and found no place that reported the right location so I wanted to post here!
My friend (Paulo Henrique Rodrigues Orind) and I found a place where you can get all the information about the RS 2017 and I hope the RS 2019 is the same.
1) By PowerShell + WMI:
Get-WmiObject -namespace "root\Microsoft\SqlServer\ReportServer\RS_SSRS\V14" -class MSReportServer_Instance | Select-Object -Property EditionName, Version, InstanceName
Image-powerShellCommand
2) By C# + WMI (Do you will need to import the System.Management.dll)
using System;
using System.Management;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
ConnectionOptions options = new ConnectionOptions();
options.Impersonation = System.Management.ImpersonationLevel.Impersonate;
ManagementScope scope = new ManagementScope("Root\\Microsoft\\SqlServer\\ReportServer\\RS_SSRS\\V14", options);
scope.Connect();
//Query system for Operating System information
ObjectQuery query = new ObjectQuery("SELECT * FROM MSReportServer_Instance");
ManagementObjectSearcher searcher = new ManagementObjectSearcher(scope, query);
ManagementObjectCollection queryCollection = searcher.Get();
foreach (ManagementObject m in queryCollection)
{
// Display the remote computer information
Console.WriteLine("EditionName : {0}", m["EditionName"]);
Console.WriteLine("EditionID : {0}", m["EditionID"]);
Console.WriteLine("InstanceID : {0}", m["InstanceID"]);
Console.WriteLine("InstanceName : {0}", m["InstanceName"]);
Console.WriteLine("Version : {0}", m["Version"]);
}
Console.ReadKey();
}
}
}
Image-CsharpCode-Wmi
3) WMI:
wmi_1
wmi_2
wmi_3
wmi_4
Opening the WMI:
Namespace: Root >> Microsoft >> SqlServer >> ReportServer >> RS_SSRS >> V14
Class: MSReportServer_Instance
I hope I have helped with something