I´m searching for an good way to find the ContentQuery WebPart in my WebApplication. My plan is to write a PowerShell script and create a url list.
I found the following possible ways:
- SharePoint Object model, I think to slow because I must check every page
- SQL query, fast but not possible in my environment.
Are there also other ways? Is it possible to use CAML?