The PBIX Tools is an Open Source utility tool for Power BI report files.
The latest version allows you to remove all the unused custom visual from multiple files at once.
Discussion
Source Code
PBIX Tools is a free and open source component (released under the MIT license).