if – Page 2 – POFTUT

Powershell If-Elseif-Else Conditional Statement

Powershell is a really powerful scripting language. It provides  a lot of modern useful programming language features. It also have basic features like conditional statements like If . In this tutorial we will look syntax and use cases of If . If is used to check if specified condition/s are met and if the condition is … Read more

Powershell Comparison Operators Like Equal, Greater, Lesser, Contains, Regex

Comparison operator is used to compare given values and return an boolean value like true and false . These operators are generally used by if , while and similar decision making keywords. All comparison operators are case-insensitive by default. So the uppercase or lowercase expression do not changes the behaviour of these comparison operators. Equal One of the most … Read more