This PowerShell script lists all tables in a SQL server database and exports the list as CSV. Install-Module InvokeQuery Run the above command if you do not have this module.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results