Custom Powershell If Statement