Changes

Jump to: navigation, search

The Windows PowerShell 1.0 switch Statement

1 byte removed, 19:04, 3 December 2008
Wildcards, Regular Expressions and Case Sensitivity in switch Statements
</pre>
Similarly, regular expressions may be used by specifying the ''-regex'' option when constructing the switch statement. In the following statement, regular expressions are using used to detect whether the value begins and ends with specific characters:
<pre>

Navigation menu