<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.techotopia.com/index.php?action=history&amp;feed=atom&amp;title=The_Windows_PowerShell_1.0_switch_Statement</id>
		<title>The Windows PowerShell 1.0 switch Statement - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.techotopia.com/index.php?action=history&amp;feed=atom&amp;title=The_Windows_PowerShell_1.0_switch_Statement"/>
		<link rel="alternate" type="text/html" href="https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;action=history"/>
		<updated>2026-04-30T13:20:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=30666&amp;oldid=prev</id>
		<title>Neil: Text replacement - &quot;&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&quot; to &quot;&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=30666&amp;oldid=prev"/>
				<updated>2016-10-27T20:13:10Z</updated>
		
		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt; &amp;quot; to &amp;quot;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot;&amp;gt;&amp;quot;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:13, 27 October 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; width=&amp;quot;100%&lt;/ins&gt;&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;td width=&amp;quot;20%&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Looping with do and while Statements|Previous]]&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Essentials|Table of Contents]]&amp;lt;td width=&amp;quot;20%&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Functions|Next]]&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;td width=&amp;quot;20%&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Looping with do and while Statements|Previous]]&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Essentials|Table of Contents]]&amp;lt;td width=&amp;quot;20%&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Functions|Next]]&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Neil</name></author>	</entry>

	<entry>
		<id>https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=24649&amp;oldid=prev</id>
		<title>Neil: Text replacement - &quot;&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;&quot; to &quot;&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=24649&amp;oldid=prev"/>
				<updated>2016-05-05T14:42:03Z</updated>
		
		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot;&amp;gt;&amp;quot; to &amp;quot;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&amp;quot;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:42, 5 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; width=&amp;quot;100%&lt;/del&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;td width=&amp;quot;20%&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Looping with do and while Statements|Previous]]&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Essentials|Table of Contents]]&amp;lt;td width=&amp;quot;20%&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Functions|Next]]&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;td width=&amp;quot;20%&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Looping with do and while Statements|Previous]]&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Essentials|Table of Contents]]&amp;lt;td width=&amp;quot;20%&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;[[Windows PowerShell 1.0 Functions|Next]]&amp;lt;/td&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Neil</name></author>	</entry>

	<entry>
		<id>https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=21949&amp;oldid=prev</id>
		<title>Neil: Text replacement - &quot;&lt;google&gt;BUY_WPS&lt;/google&gt;&quot; to &quot;&lt;htmlet&gt;powershell&lt;/htmlet&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=21949&amp;oldid=prev"/>
				<updated>2016-02-01T21:12:13Z</updated>
		
		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&amp;lt;google&amp;gt;BUY_WPS&amp;lt;/google&amp;gt;&amp;quot; to &amp;quot;&amp;lt;htmlet&amp;gt;powershell&amp;lt;/htmlet&amp;gt;&amp;quot;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:12, 1 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BUY_WPS&lt;/del&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;htmlet&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;powershell&lt;/ins&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;htmlet&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Neil</name></author>	</entry>

	<entry>
		<id>https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=20832&amp;oldid=prev</id>
		<title>Neil: Text replacement - &quot;&lt;google&gt;ADSDAQBOX_FLOW&lt;/google&gt;&quot; to &quot;&lt;htmlet&gt;adsdaqbox_flow&lt;/htmlet&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.techotopia.com/index.php?title=The_Windows_PowerShell_1.0_switch_Statement&amp;diff=20832&amp;oldid=prev"/>
				<updated>2016-02-01T18:06:26Z</updated>
		
		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&amp;lt;google&amp;gt;ADSDAQBOX_FLOW&amp;lt;/google&amp;gt;&amp;quot; to &amp;quot;&amp;lt;htmlet&amp;gt;adsdaqbox_flow&amp;lt;/htmlet&amp;gt;&amp;quot;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:06, 1 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l56&quot; &gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; default { &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; }&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; default { &amp;#039;&amp;#039;statements&amp;#039;&amp;#039; }&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ADSDAQBOX_FLOW&lt;/del&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;htmlet&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;adsdaqbox_flow&lt;/ins&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;htmlet&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This syntax needs a little explanation before we embark on creating a &amp;#039;&amp;#039;switch&amp;#039;&amp;#039; based version of the above &amp;#039;&amp;#039;if ... elseif .. else&amp;#039;&amp;#039; construct.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This syntax needs a little explanation before we embark on creating a &amp;#039;&amp;#039;switch&amp;#039;&amp;#039; based version of the above &amp;#039;&amp;#039;if ... elseif .. else&amp;#039;&amp;#039; construct.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Neil</name></author>	</entry>

<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l11" ><!--LINE 11--></td>
<td colspan="2" class="diff-lineno"><!--LINE 11--></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>In the [[Windows PowerShell 1.0 Flow Control with if, else and elseif]] chapter of this book we looked at how to control program execution flow using the &#039;&#039;if&#039;&#039;, &#039;&#039;else&#039;&#039; and &#039;&#039;elseif&#039;&#039; statements. Whilst these statement constructs work well for testing a limited number of conditions they quickly become unwieldy when dealing with larger numbers of possible conditions. To simplify such situations, Windows PowerShell (as with most other programming and scripting <del class="diffchange diffchange-inline">langauges</del>) has inherited the &#039;&#039;switch&#039;&#039; statement from the C programming language. In this chapter we will explore the &#039;&#039;switch&#039;&#039; statement in detail. Those familiar with the &#039;&#039;switch&#039;&#039; statement from other programming languages might also be pleasantly surprised by a number of new ideas that the Windows PowerShell have added to this popular construct.</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>In the [[Windows PowerShell 1.0 Flow Control with if, else and elseif]] chapter of this book we looked at how to control program execution flow using the &#039;&#039;if&#039;&#039;, &#039;&#039;else&#039;&#039; and &#039;&#039;elseif&#039;&#039; statements. Whilst these statement constructs work well for testing a limited number of conditions they quickly become unwieldy when dealing with larger numbers of possible conditions. To simplify such situations, Windows PowerShell (as with most other programming and scripting <ins class="diffchange diffchange-inline">languages</ins>) has inherited the &#039;&#039;switch&#039;&#039; statement from the C programming language. In this chapter we will explore the &#039;&#039;switch&#039;&#039; statement in detail. Those familiar with the &#039;&#039;switch&#039;&#039; statement from other programming languages might also be pleasantly surprised by a number of new ideas that the Windows PowerShell <ins class="diffchange diffchange-inline">developers </ins>have added to this popular construct.</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== Why Use a switch Statement? ==</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== Why Use a switch Statement? ==</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l61" ><!--LINE 61--></td>
<td colspan="2" class="diff-lineno"><!--LINE 61--></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>In the above syntax outline &#039;&#039;value&#039;&#039; represents either a value, or an expression which returns a value. This is the value against which the &#039;&#039;switch&#039;&#039; operates. Using our example this would be the string representing the car model.</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>In the above syntax outline &#039;&#039;value&#039;&#039; represents either a value, or an expression which returns a value. This is the value against which the &#039;&#039;switch&#039;&#039; operates. Using our example this would be the string representing the car model.</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>For each possible match a &#039;&#039;&lt;pattern&gt;&#039;&#039; is required. This can either be a single value against which the comparison is made, a <del class="diffchange diffchange-inline">wildard</del>, regular expression or any other expression. Following on from the case lines are the Windows PowerShell statements which are to be executed in the event of the pattern match or expression evaluating to be &#039;&#039;true&#039;&#039;.</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>For each possible match a &#039;&#039;&lt;pattern&gt;&#039;&#039; is required. This can either be a single value against which the comparison is made, a <ins class="diffchange diffchange-inline">wildcard</ins>, regular expression or any other expression. Following on from the case lines are the Windows PowerShell statements which are to be executed in the event of the pattern match or expression evaluating to be &#039;&#039;true&#039;&#039;.</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>The &#039;&#039;statements&#039;&#039; block may also contain an optional &#039;&#039;break&#039;&#039; or &#039;&#039;continue&#039;&#039; statement. These statements are used either to break out of the &#039;&#039;switch&#039;&#039; statement when a match is found, or skip any remaining code in a loop and begin the next iteration. If a &#039;&#039;break&#039;&#039; or &#039;&#039;continue&#039;&#039; is not specified, the switch statement will continue to work through any remaining cases even when a match has been found, potentially reducing the performance of the script. &#160;</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>The &#039;&#039;statements&#039;&#039; block may also contain an optional &#039;&#039;break&#039;&#039; or &#039;&#039;continue&#039;&#039; statement. These statements are used either to break out of the &#039;&#039;switch&#039;&#039; statement when a match is found, or skip any remaining code in a loop and begin the next iteration. If a &#039;&#039;break&#039;&#039; or &#039;&#039;continue&#039;&#039; is not specified, the switch statement will continue to work through any remaining cases even when a match has been found, potentially reducing the performance of the script. &#160;</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l69" ><!--LINE 69--></td>
<td colspan="2" class="diff-lineno"><!--LINE 69--></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== A switch Statement Example ==</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== A switch Statement Example ==</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>With the above information in mind we may now construct a &#039;&#039;switch&#039;&#039; statement which provides the same functionality as our previous, and somewhat unwieldy &#039;&#039;if ... elseif ... else&#039;&#039; construct:</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>With the above information in mind we may now construct a &#039;&#039;switch&#039;&#039; statement which provides the same functionality as our previous, and somewhat unwieldy<ins class="diffchange diffchange-inline">, </ins>&#039;&#039;if ... elseif ... else&#039;&#039; construct:</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&lt;pre&gt;</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&lt;pre&gt;</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l133" ><!--LINE 133--></td>
<td colspan="2" class="diff-lineno"><!--LINE 133--></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&lt;/pre&gt;</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>Because there is no &#039;&#039;break&#039;&#039; after a match has been found, the switch statement moves on to other cases, resulting the following output:</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>Because there is no &#039;&#039;break&#039;&#039; after a match has been found, the switch statement moves on to other cases, resulting <ins class="diffchange diffchange-inline">in </ins>the following output:</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&lt;pre&gt;</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&lt;pre&gt;</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l255" ><!--LINE 255--></td>
<td colspan="2" class="diff-lineno"><!--LINE 255--></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>Clearly, with a case sensitive match, only one of the switch cases will result in a match (&#039;&#039;RedLine&#039;&#039;).</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>Clearly, with a case sensitive match, only one of the switch cases will result in a match (&#039;&#039;RedLine&#039;&#039;).</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>== Using switch Statements to Iterate <del class="diffchange diffchange-inline">Through </del>Ranges and Collections ==</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>== Using switch Statements to Iterate <ins class="diffchange diffchange-inline">through </ins>Ranges and Collections ==</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>So far in this chapter we have looked at using switch statements to find matches to a single value. In fact, Windows PowerShell switch statements can be used to iterate through collections of values. A simple example involves a number range:</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>So far in this chapter we have looked at using switch statements to find matches to a single value. In fact, Windows PowerShell switch statements can be used to iterate through collections of values. A simple example involves a number range:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l306" ><!--LINE 306--></td>
<td colspan="2" class="diff-lineno"><!--LINE 306--></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== Using the continue Statement ==</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== Using the continue Statement ==</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>
Exception encountered, of type &quot;Error&quot;<br />
[fcced85d] /index.php?action=history&amp;feed=atom&amp;title=The_Windows_PowerShell_1.0_switch_Statement   Error from line 434 of /var/www/techotopia/includes/diff/DairikiDiff.php: Call to undefined function each()<br />
Backtrace:<br />
#0 /var/www/techotopia/includes/diff/DairikiDiff.php(544): DiffEngine-&gt;diag()<br />
#1 /var/www/techotopia/includes/diff/DairikiDiff.php(344): DiffEngine-&gt;compareSeq()<br />
#2 /var/www/techotopia/includes/diff/DairikiDiff.php(227): DiffEngine-&gt;diffLocal()<br />
#3 /var/www/techotopia/includes/diff/DairikiDiff.php(721): DiffEngine-&gt;diff()<br />
#4 /var/www/techotopia/includes/diff/DairikiDiff.php(859): Diff-&gt;__construct()<br />
#5 /var/www/techotopia/includes/diff/DairikiDiff.php(980): MappedDiff-&gt;__construct()<br />
#6 /var/www/techotopia/includes/diff/TableDiffFormatter.php(194): WordLevelDiff-&gt;__construct()<br />
#7 /var/www/techotopia/includes/diff/DiffFormatter.php(140): TableDiffFormatter-&gt;changed()<br />
#8 /var/www/techotopia/includes/diff/DiffFormatter.php(82): DiffFormatter-&gt;block()<br />
#9 /var/www/techotopia/includes/diff/DifferenceEngine.php(881): DiffFormatter-&gt;format()<br />
#10 /var/www/techotopia/includes/diff/DifferenceEngine.php(797): DifferenceEngine-&gt;generateTextDiffBody()<br />
#11 /var/www/techotopia/includes/diff/DifferenceEngine.php(728): DifferenceEngine-&gt;generateContentDiffBody()<br />
#12 /var/www/techotopia/includes/diff/DifferenceEngine.php(662): DifferenceEngine-&gt;getDiffBody()<br />
#13 /var/www/techotopia/includes/FeedUtils.php(155): DifferenceEngine-&gt;getDiff()<br />
#14 /var/www/techotopia/includes/actions/HistoryAction.php(325): FeedUtils::formatDiffRow()<br />
#15 /var/www/techotopia/includes/actions/HistoryAction.php(290): HistoryAction-&gt;feedItem()<br />
#16 /var/www/techotopia/includes/actions/HistoryAction.php(130): HistoryAction-&gt;feed()<br />
#17 /var/www/techotopia/includes/actions/FormlessAction.php(43): HistoryAction-&gt;onView()<br />
#18 /var/www/techotopia/includes/MediaWiki.php(490): FormlessAction-&gt;show()<br />
#19 /var/www/techotopia/includes/MediaWiki.php(287): MediaWiki-&gt;performAction()<br />
#20 /var/www/techotopia/includes/MediaWiki.php(714): MediaWiki-&gt;performRequest()<br />
#21 /var/www/techotopia/includes/MediaWiki.php(508): MediaWiki-&gt;main()<br />
#22 /var/www/techotopia/index.php(41): MediaWiki-&gt;run()<br />
#23 {main}<br />

