Use Variable In Powershell String Comparison In Java