Be aware that performing queries towards the SQL Database should always be with no locks (add 'WITH (NOLOCK)' to every table you have in your query). It is not allowed to UPDATE, ALTER or by any means change the content of the BizTalk databases as this may result in a breach of the Service Agreement with Microsoft.
Querying for messages received by the given Receive Location
This is PowerShell scripts related to maintain and use BizTalk in a better way.
Here will you find references to other scripts in other scripting languages.
This article is also available in the following languages
Great list and a very useful