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