<?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 on: ESXi host advanced configuration using PowerCLI &#8211; parameter Net.BlockGuestBPDU	</title>
	<atom:link href="https://magander.se/esxi-host-advanced-configuration-using-powercli/feed/" rel="self" type="application/rss+xml" />
	<link>https://magander.se/esxi-host-advanced-configuration-using-powercli/</link>
	<description></description>
	<lastBuildDate>Mon, 14 Nov 2016 15:28:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: magander3		</title>
		<link>https://magander.se/esxi-host-advanced-configuration-using-powercli/#comment-99742</link>

		<dc:creator><![CDATA[magander3]]></dc:creator>
		<pubDate>Mon, 14 Nov 2016 15:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=1051#comment-99742</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://magander.se/esxi-host-advanced-configuration-using-powercli/#comment-99738&quot;&gt;Steve&lt;/a&gt;.

thanks

//Magnus]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://magander.se/esxi-host-advanced-configuration-using-powercli/#comment-99738">Steve</a>.</p>
<p>thanks</p>
<p>//Magnus</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve		</title>
		<link>https://magander.se/esxi-host-advanced-configuration-using-powercli/#comment-99738</link>

		<dc:creator><![CDATA[Steve]]></dc:creator>
		<pubDate>Mon, 14 Nov 2016 15:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=1051#comment-99738</guid>

					<description><![CDATA[Thanks for this! Looks like Get-VMHostAdvancedConfiguration and Set-VMHostAdvancedConfiguration are being deprecated. I changed it to Get-AdvancedSetting and Set-AdvancedSetting.

$Body = @()
Get-VMHost &#124; Foreach {
  if (($_ &#124; Get-AdvancedSetting -name net.blockguestbpdu)[“Net.BlockGuestBPDU”] -eq 0) {
$Body = $Body + “Net.BlockGuestBPDU value for $($_) is 0 and will be changed. New Configuration for $_ is” &#124; out-string
$newBody = (set-AdvancedSetting -vmhost $_ -name Net.BlockGuestBPDU -value 1)
$Body += $newBody &#124; out-string
  } else {
$Body = $Body + “Net.BlockGuestBPDU value for $($_) is correct and does not need to be changed” &#124; out-string
  }
}]]></description>
			<content:encoded><![CDATA[<p>Thanks for this! Looks like Get-VMHostAdvancedConfiguration and Set-VMHostAdvancedConfiguration are being deprecated. I changed it to Get-AdvancedSetting and Set-AdvancedSetting.</p>
<p>$Body = @()<br />
Get-VMHost | Foreach {<br />
  if (($_ | Get-AdvancedSetting -name net.blockguestbpdu)[“Net.BlockGuestBPDU”] -eq 0) {<br />
$Body = $Body + “Net.BlockGuestBPDU value for $($_) is 0 and will be changed. New Configuration for $_ is” | out-string<br />
$newBody = (set-AdvancedSetting -vmhost $_ -name Net.BlockGuestBPDU -value 1)<br />
$Body += $newBody | out-string<br />
  } else {<br />
$Body = $Body + “Net.BlockGuestBPDU value for $($_) is correct and does not need to be changed” | out-string<br />
  }<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Configure and report the ESXi host TSM-SSH service using PowerCLI &#124; vcdx56		</title>
		<link>https://magander.se/esxi-host-advanced-configuration-using-powercli/#comment-96</link>

		<dc:creator><![CDATA[Configure and report the ESXi host TSM-SSH service using PowerCLI &#124; vcdx56]]></dc:creator>
		<pubDate>Thu, 13 Jun 2013 14:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://magander.se/?p=1051#comment-96</guid>

					<description><![CDATA[[&#8230;] service violates both the customer&#8217;s design and regulations.  I have previously written a blog post how to verify the ESXi host BPDU setting, change it if needed and send an e-mail report so i [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] service violates both the customer&#8217;s design and regulations.  I have previously written a blog post how to verify the ESXi host BPDU setting, change it if needed and send an e-mail report so i [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Object Caching 21/52 objects using Disk
Page Caching using Disk: Enhanced 

Served from: magander.se @ 2026-06-22 11:38:15 by W3 Total Cache
-->