I am trying to find a way to detect if a customer has SQL Server replication on. This helps decide whether they can use Express (as they frequently request) and this is one of the blocking factors.
Preferred responses would use a Powershell or command line script and would not require anything additional to be installed as this would need to work on many different server configurations. Also, the version of SQL Server would vary.
I do not need to know status or do monitoring, just check whether it is in use.
Windows/MSSQL are not my strong suit, so if there are any incorrect assumptions in this question, please feel free to point them out.
The goal is to login via RDP, open PS or CMD, paste in a command and know right away whether customer has replication and will not be able to utilize SQL Server Express (I know there are other factors, but this one is the first I am tackling).
As a quick note, I did do a lot of research on this before I came to ask. I found tons of information on monitoring replication, but nothing to just check if it was there. I wanted to put this to make sure nobody thinks I skipped the "rtfm" or "google it" steps.