Changes

Jump to: navigation, search
no edit summary
== Windows PowerShell Comparison Operators ==
Windows PowerShell provides a range of comparison operators which that can be used to compare one value with another.
These operators work both with string and number based values assuming that you are comparing like with like (it is not meaningful, for example, to compare a string with numerical value). In terms of working with strings and characters, both case-sensitive and insensitive operators are supported.
== Windows PowerShell Containment Operators ==
In addition, to the comparison operators, a set of operators referred to as ''containment operators'' are provided for the purpose of identifying whether an array or collection contains a specific value. The containment operators provided by PowerShell are listed in the following table. As with the comparison operators, both case sensitive and insensitive options are provided.
<table border="1" cellpadding="5" cellspacing="0" id="E3B" style="border-collapse: collapse; border-color:#cccccc; border-style: solid; border-width: 1px; margin-bottom:20px">
</pre>
Conversely, the folloing following command performs a case sensitive comparison of the same two stringstrings:
<pre>
True
</pre>
 
<google>BUY_WPS_BOTTOM</google>

Navigation menu