Hi, @Vid3al
Thank you for posting in Microsoft Q&A forum.
select
v_FullCollectionMembership.Name as Computername , COUNT(v_FullCollectionMembership.Name) as MaintenanceWindowsNumber
from v_ServiceWindow
inner join v_FullCollectionMembership on (v_FullCollectionMembership.CollectionID = v_ServiceWindow.CollectionID)
inner join v_Collection on (v_Collection.CollectionID = v_FullCollectionMembership.CollectionID)
group by v_FullCollectionMembership.Name
having COUNT(v_FullCollectionMembership.Name) >= 2
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".