Answers for "powershell select if"

3

powershell if operator

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
Posted by: Guest on December-08-2020
-9

powershell else if

if (condition) {
 # Whatever
}
elseif (condition) {
 # Whatever
}
Posted by: Guest on October-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language