Fix parameter $Replica
Fix parameter $Replica

In the second line only one replica should be returned. That did not work.

Get-DbaAgReplica -SqlInstance sqlserver-0 -AvailabilityGroup ag-1 (return two or more)
Get-DbaAgReplica -SqlInstance sqlserver-0 -AvailabilityGroup ag-1 -Replica sqlserver-1 (return one)
alevyinroc/dbatools