Get-DbaRegisteredServer filter group properly for all types (#5671)
Get-DbaRegisteredServer filter group properly for all types (#5671)

* filter properly for all sections

* better support excludegroup

* do it only for azure and local groups

* bad syntax

* for real

wsmelton/dbatools,kozloski/dbatools,Splaxi/dbatools