$Cache:OpTeams.Where({$_.opTeam -eq $team})
}
for some reason this will generate a reply X Number of time the condition are true.
and it will return the full dataset.
Whats up with that?
the opteams are a system.data.datarow object from invoke-sqlcmd (dbatools)