Get Enterprise Manager Information from VBR Database
#Query the SQL database to retrieve Enterprise Manager connection info (if any)
$info = Invoke-Sqlcmd -ServerInstance <YOUR_VBR_SQL_INSTANCE_HERE> `
-query "select value from [Veeambackup].[dbo].[Options] where name = 'EnterpriseServerInfo'"
#Parse and display the info (XML attributes / child nodes) obtained from the database
$([xml]$info.value).ChildNodes