How to get list of databases from multiple servers

Powershell script Batch file to call PS1 file Output file to collect list of database In “X:\Monitoring_Automation\Servers.txt” write all server name separated with enter from which you want to get database list. In “X:\Monitoring_Automation\ dblist.ps1” place below code ................
................