I am looking for a script to get the Top 10 database based on size comparing all the SQL Servers (not individual Server databases but comparing all the databases on all the servers and bring the Top 10 DB) in my Environment. Script Category has to be like Last 7 days,1 Month, Last 3 months and Last year.
Can anyone please help me with the script.