Use Stringbuilder In Powershell If Statement