<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments for Tulips, Windmills &amp; PowerShell: Dutch Scripting Guys	</title>
	<atom:link href="https://dutchscriptingguys.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://dutchscriptingguys.com</link>
	<description></description>
	<lastBuildDate>Tue, 18 Nov 2025 12:46:53 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>
		Comment on Mastering Control Flow in PowerShell: Break, Return, Continue, and Exit by Jos Fissering		</title>
		<link>https://dutchscriptingguys.com/mastering-control-flow-in-powershell/#comment-8</link>

		<dc:creator><![CDATA[Jos Fissering]]></dc:creator>
		<pubDate>Tue, 07 Jan 2025 08:28:30 +0000</pubDate>
		<guid isPermaLink="false">https://dutchscriptingguys.com/?p=95#comment-8</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://dutchscriptingguys.com/mastering-control-flow-in-powershell/#comment-7&quot;&gt;Ferry Bodijn&lt;/a&gt;.

Thank you for noticing and reporting the error. I&#039;ve adjusted it.

Also thanks for liking the article. I hope that we can post more articles that you may find useful.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://dutchscriptingguys.com/mastering-control-flow-in-powershell/#comment-7">Ferry Bodijn</a>.</p>
<p>Thank you for noticing and reporting the error. I&#8217;ve adjusted it.</p>
<p>Also thanks for liking the article. I hope that we can post more articles that you may find useful.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Mastering Control Flow in PowerShell: Break, Return, Continue, and Exit by Ferry Bodijn		</title>
		<link>https://dutchscriptingguys.com/mastering-control-flow-in-powershell/#comment-7</link>

		<dc:creator><![CDATA[Ferry Bodijn]]></dc:creator>
		<pubDate>Mon, 06 Jan 2025 13:18:21 +0000</pubDate>
		<guid isPermaLink="false">https://dutchscriptingguys.com/?p=95#comment-7</guid>

					<description><![CDATA[Return

What’s happening? The start output is shown, then we process Apple, Pear and Banana. When we hit Carrot we exit the Function. So the Write-Host &quot;Finished &#124; End of the script&quot; line won’t run. The rest of the code will run as it normally would have.

This line must be:

What’s happening? The start output is shown, then we process Apple, Pear and Banana. When we hit Carrot we exit the Function. So the &#039;Write-Host &quot;We&#039;re outside the Foreach-loop.&quot;&#039; line won’t run. The rest of the code will run as it normally would have.

Nice article, thanks. :-)]]></description>
			<content:encoded><![CDATA[<p>Return</p>
<p>What’s happening? The start output is shown, then we process Apple, Pear and Banana. When we hit Carrot we exit the Function. So the Write-Host &#8220;Finished | End of the script&#8221; line won’t run. The rest of the code will run as it normally would have.</p>
<p>This line must be:</p>
<p>What’s happening? The start output is shown, then we process Apple, Pear and Banana. When we hit Carrot we exit the Function. So the &#8216;Write-Host &#8220;We&#8217;re outside the Foreach-loop.&#8221;&#8216; line won’t run. The rest of the code will run as it normally would have.</p>
<p>Nice article, thanks. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Foreach &#8211; Quickly get one entry by Jos Fissering		</title>
		<link>https://dutchscriptingguys.com/foreach-quickly-get-one-entry/#comment-6</link>

		<dc:creator><![CDATA[Jos Fissering]]></dc:creator>
		<pubDate>Fri, 27 Dec 2024 10:33:30 +0000</pubDate>
		<guid isPermaLink="false">https://dutchscriptingguys.com/?p=317#comment-6</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://dutchscriptingguys.com/foreach-quickly-get-one-entry/#comment-5&quot;&gt;Manas Kumar Dash&lt;/a&gt;.

Tnx for the reply and the clarification. That&#039;s exactly the purpose of the used code. But I give you that it maybe a bit misleading because in the example above I got the first entry. I edited the post to make it more clear.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://dutchscriptingguys.com/foreach-quickly-get-one-entry/#comment-5">Manas Kumar Dash</a>.</p>
<p>Tnx for the reply and the clarification. That&#8217;s exactly the purpose of the used code. But I give you that it maybe a bit misleading because in the example above I got the first entry. I edited the post to make it more clear.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Foreach &#8211; Quickly get one entry by Manas Kumar Dash		</title>
		<link>https://dutchscriptingguys.com/foreach-quickly-get-one-entry/#comment-5</link>

		<dc:creator><![CDATA[Manas Kumar Dash]]></dc:creator>
		<pubDate>Mon, 23 Dec 2024 15:35:08 +0000</pubDate>
		<guid isPermaLink="false">https://dutchscriptingguys.com/?p=317#comment-5</guid>

					<description><![CDATA[The last script only show the last value of array by default.
I like to drink Soda. Do you too?]]></description>
			<content:encoded><![CDATA[<p>The last script only show the last value of array by default.<br />
I like to drink Soda. Do you too?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Understanding PowerShell&#8217;s Common Parameters by Manas Kumar Dash		</title>
		<link>https://dutchscriptingguys.com/understanding-powershells-common-parameters/#comment-4</link>

		<dc:creator><![CDATA[Manas Kumar Dash]]></dc:creator>
		<pubDate>Mon, 23 Dec 2024 15:27:15 +0000</pubDate>
		<guid isPermaLink="false">https://dutchscriptingguys.com/?p=235#comment-4</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://dutchscriptingguys.com/understanding-powershells-common-parameters/#comment-3&quot;&gt;Harm Veenstra&lt;/a&gt;.

When I ran this, got the same like below as Harm said above.
(get-command Get-Process).Parameters
Key                                 Value                                         
---                                  -----                                         
Name                             System.Management.Automation.ParameterMetadata
Id                                    System.Management.Automation.ParameterMetadata
InputObject                   System.Management.Automation.ParameterMetadata
IncludeUserName        System.Management.Automation.ParameterMetadata
ComputerName           System.Management.Automation.ParameterMetadata
Module                         System.Management.Automation.ParameterMetadata
FileVersionInfo            System.Management.Automation.ParameterMetadata
Verbose                       System.Management.Automation.ParameterMetadata
Debug                         System.Management.Automation.ParameterMetadata
ErrorAction                 System.Management.Automation.ParameterMetadata
WarningAction          System.Management.Automation.ParameterMetadata
InformationAction     System.Management.Automation.ParameterMetadata
ErrorVariable             System.Management.Automation.ParameterMetadata
WarningVariable      System.Management.Automation.ParameterMetadata
InformationVariable System.Management.Automation.ParameterMetadata
OutVariable              System.Management.Automation.ParameterMetadata
OutBuffer                  System.Management.Automation.ParameterMetadata
PipelineVariable      System.Management.Automation.ParameterMetadata]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://dutchscriptingguys.com/understanding-powershells-common-parameters/#comment-3">Harm Veenstra</a>.</p>
<p>When I ran this, got the same like below as Harm said above.<br />
(get-command Get-Process).Parameters<br />
Key                                 Value<br />
&#8212;                                  &#8212;&#8211;<br />
Name                             System.Management.Automation.ParameterMetadata<br />
Id                                    System.Management.Automation.ParameterMetadata<br />
InputObject                   System.Management.Automation.ParameterMetadata<br />
IncludeUserName        System.Management.Automation.ParameterMetadata<br />
ComputerName           System.Management.Automation.ParameterMetadata<br />
Module                         System.Management.Automation.ParameterMetadata<br />
FileVersionInfo            System.Management.Automation.ParameterMetadata<br />
Verbose                       System.Management.Automation.ParameterMetadata<br />
Debug                         System.Management.Automation.ParameterMetadata<br />
ErrorAction                 System.Management.Automation.ParameterMetadata<br />
WarningAction          System.Management.Automation.ParameterMetadata<br />
InformationAction     System.Management.Automation.ParameterMetadata<br />
ErrorVariable             System.Management.Automation.ParameterMetadata<br />
WarningVariable      System.Management.Automation.ParameterMetadata<br />
InformationVariable System.Management.Automation.ParameterMetadata<br />
OutVariable              System.Management.Automation.ParameterMetadata<br />
OutBuffer                  System.Management.Automation.ParameterMetadata<br />
PipelineVariable      System.Management.Automation.ParameterMetadata</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Understanding PowerShell&#8217;s Common Parameters by Harm Veenstra		</title>
		<link>https://dutchscriptingguys.com/understanding-powershells-common-parameters/#comment-3</link>

		<dc:creator><![CDATA[Harm Veenstra]]></dc:creator>
		<pubDate>Mon, 11 Nov 2024 08:46:53 +0000</pubDate>
		<guid isPermaLink="false">https://dutchscriptingguys.com/?p=235#comment-3</guid>

					<description><![CDATA[[CmdletBinding()] is something you need to add to your script to use Common Parameters like Verbose, Debug, etc... But... 

C:\Users\HarmVeenstra&#062; (get-command Get-MailDomainInfo).Parameters

Key                 Value
---                 -----
DomainName          System.Management.Automation.ParameterMetadata
DNSserver           System.Management.Automation.ParameterMetadata
Verbose             System.Management.Automation.ParameterMetadata
Debug               System.Management.Automation.ParameterMetadata
ErrorAction         System.Management.Automation.ParameterMetadata
WarningAction       System.Management.Automation.ParameterMetadata
InformationAction   System.Management.Automation.ParameterMetadata
ProgressAction      System.Management.Automation.ParameterMetadata
ErrorVariable       System.Management.Automation.ParameterMetadata
WarningVariable     System.Management.Automation.ParameterMetadata
InformationVariable System.Management.Automation.ParameterMetadata
OutVariable         System.Management.Automation.ParameterMetadata
OutBuffer           System.Management.Automation.ParameterMetadata
PipelineVariable    System.Management.Automation.ParameterMetadata

My Get-MailDomainInfo Function does not have cmdletbinding :) 

function Get-MailDomainInfo {
    param(
        [parameter(Mandatory = $true)][string[]]$DomainName,
        [parameter(Mandatory = $false)][string]$DNSserver = &#039;1.1.1.1&#039;
    )
.....]]></description>
			<content:encoded><![CDATA[<p>[CmdletBinding()] is something you need to add to your script to use Common Parameters like Verbose, Debug, etc&#8230; But&#8230; </p>
<p>C:\Users\HarmVeenstra&gt; (get-command Get-MailDomainInfo).Parameters</p>
<p>Key                 Value<br />
&#8212;                 &#8212;&#8211;<br />
DomainName          System.Management.Automation.ParameterMetadata<br />
DNSserver           System.Management.Automation.ParameterMetadata<br />
Verbose             System.Management.Automation.ParameterMetadata<br />
Debug               System.Management.Automation.ParameterMetadata<br />
ErrorAction         System.Management.Automation.ParameterMetadata<br />
WarningAction       System.Management.Automation.ParameterMetadata<br />
InformationAction   System.Management.Automation.ParameterMetadata<br />
ProgressAction      System.Management.Automation.ParameterMetadata<br />
ErrorVariable       System.Management.Automation.ParameterMetadata<br />
WarningVariable     System.Management.Automation.ParameterMetadata<br />
InformationVariable System.Management.Automation.ParameterMetadata<br />
OutVariable         System.Management.Automation.ParameterMetadata<br />
OutBuffer           System.Management.Automation.ParameterMetadata<br />
PipelineVariable    System.Management.Automation.ParameterMetadata</p>
<p>My Get-MailDomainInfo Function does not have cmdletbinding 🙂 </p>
<p>function Get-MailDomainInfo {<br />
    param(<br />
        [parameter(Mandatory = $true)][string[]]$DomainName,<br />
        [parameter(Mandatory = $false)][string]$DNSserver = &#8216;1.1.1.1&#8217;<br />
    )<br />
&#8230;..</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
