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.
The Group-Object cmdlet can offer up lots of information if you extract that info through hash tables. Here's how. One of the greatest benefits of Windows PowerShell is how it lets us slice and dice ...