Disable pingbacks and trackbacks on all sites on multisite network

Hi - I'm looking for a solution to disable pingbacks and trackbacks on all sites on multisite network. Plugin or SQL query or other hammer.

Thanks