powershell if else exit code example Example: powershell else if if (condition) { # Whatever } elseif (condition) { # Whatever }