Conditional criteria in PS Query

Sometimes you want to create a PS Query that gives you a result, based on certain criteria. Though if you keep the prompt on that criterium empty you just want to get all rows.