Powershell Filter With Variable Cost