📜  powershell if 运算符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:43.260000             🧑  作者: Mango

代码示例1
if (condition1 -eq condition2) {
    //statement
} else {
    //statement
}

-eq    Equals to
-ne    Not equal to
-gt    Greater than
-ge    Greater than or equal to
-lt    Less than