<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Remove Port Mirroring in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2846743#M101463</link>
    <description>&lt;P&gt;You have to give some more details than "... &lt;EM&gt;did not work for me&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;Any error messages?&lt;BR /&gt;Anything in the vpxd log?&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 06:50:53 GMT</pubDate>
    <dc:creator>LucD</dc:creator>
    <dc:date>2021-05-12T06:50:53Z</dc:date>
    <item>
      <title>Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250195#M76877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to automate adding VM to port mirroring session and remove it after given time. I found the script &lt;A _jive_internal="true" data-avatarid="1194" data-externalid="" data-online="false" data-presence="null" data-userid="79448" data-username="LucD" href="https://communities.vmware.com/people/LucD" style="font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #8ca9cd;"&gt;LucD&lt;/A&gt; posted for "&lt;SPAN style="font-size: 10pt; color: #4d4e53;"&gt;Add VM to a Port Mirroring Session" but I cannot figure out how can I remove them. Anyone has any suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14864070932597781 jive_text_macro" jivemacro_uid="_14864070932597781"&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$dvSwName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'dvSw1'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSessionName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'Test'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8b0000;"&gt;'VM2'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$Ingress&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$false&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$Egress&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$dvSw&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-VDSwitch&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #000080;"&gt;-Name&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$dvSwName&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;Get-VM&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #000080;"&gt;-Name&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmName&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmNic&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vm&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Config&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Hardware&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Device &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Backing &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-is&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #008080;"&gt;VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.VMwareDVSConfigSpec&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #00008b;"&gt;foreach&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSession&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #00008b;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$dvSw&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Config&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;VspanSession){&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #00008b;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSession&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Name &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-eq&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSessionName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;){&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vspan&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;New-Object&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #8a2be2;"&gt;VMware.Vim.VMwareDVSVspanConfigSpec&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vspan&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Operation &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #008080;"&gt;VMware.Vim.ConfigSpecOperation&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;]::&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;edit&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmInRc&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSession&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;SourcePortReceived &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-contains&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmNic&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Backing&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Port&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #00008b;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$Ingress&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-and&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmInRc&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;){&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSession&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;SourcePortReceived&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;+=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmNic&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Backing&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Port&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmInTx&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSession&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;SourcePortTRansmitted &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #0000ff;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-contains&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmNic&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Backing&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Port&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #00008b;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$Egress&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;-and&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmInTx&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;){&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSession&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;SourcePortTransmitted&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;+=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vmNic&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Backing&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Port&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;PortKey&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vspan&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;vspanSession &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$mirrorSession&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;vspanConfigSpec &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;+=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$vspan&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ConfigVersion &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$dvSw&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;Config&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ConfigVersion&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 14px; font-family: 'Lucida Console'; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$dvSw&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;ReconfigureDvs(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit; color: #ff4500;"&gt;$spec&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: inherit !important; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 18:52:26 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250195#M76877</guid>
      <dc:creator>Halukkocaman</dc:creator>
      <dc:date>2017-02-06T18:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250196#M76878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="text-align: Left; font-family: Segoe UI; font-style: normal; font-weight: normal; font-size: 12; color: #000000;"&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 16;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSwName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&lt;SPAN&gt;'dvSw1'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSessionName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&lt;SPAN&gt;'Test'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&lt;SPAN&gt;'VM2'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;Get-VDSwitch&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSwName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;Get-VM&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;New-Object&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8a2be2;"&gt;&lt;SPAN&gt;VMware.Vim.VMwareDVSConfigSpec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;foreach&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Config&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;VspanSession){&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Name &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-eq&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSessionName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;New-Object&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8a2be2;"&gt;&lt;SPAN&gt;VMware.Vim.VMwareDVSVspanConfigSpec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Operation &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&lt;SPAN&gt;VMware.Vim.ConfigSpecOperation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;]::&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;remove&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;VspanSession &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;+=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;vspanConfigSpec &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;+=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ConfigVersion &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Config&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ConfigVersion&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ReconfigureDvs(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 19:31:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250196#M76878</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2017-02-06T19:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250197#M76879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great if you would like to remove the whole port mirroring session. I was looking to remove a vm out of session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:02:07 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250197#M76879</guid>
      <dc:creator>Halukkocaman</dc:creator>
      <dc:date>2017-02-06T20:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250198#M76880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it, try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="text-align: Left; font-family: Segoe UI; font-style: normal; font-weight: normal; font-size: 12; color: #000000;"&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 16;"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSwName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&lt;SPAN&gt;'dvSw1'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSessionName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&lt;SPAN&gt;'Test'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&lt;SPAN&gt;'VM2'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$Ingress&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$false&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$Egress&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$true&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;Get-VDSwitch&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSwName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;Get-VM&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmNic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Config&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hardware&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Device &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Backing &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-is&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&lt;SPAN&gt;VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;New-Object&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8a2be2;"&gt;&lt;SPAN&gt;VMware.Vim.VMwareDVSConfigSpec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;foreach&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Config&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;VspanSession){&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Name &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-eq&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSessionName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;New-Object&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8a2be2;"&gt;&lt;SPAN&gt;VMware.Vim.VMwareDVSVspanConfigSpec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Operation &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&lt;SPAN&gt;VMware.Vim.ConfigSpecOperation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;]::&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;edit&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmInRc&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;SourcePortReceived &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-contains&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmNic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Backing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Port&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey}&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$Ingress&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-and&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmInRc&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;){&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;SourcePortReceived&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;SourcePortReceived&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-ne&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmNic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Backing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Port&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmInTx&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;SourcePortTRansmitted &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-contains&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmNic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Backing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Port&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey}&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$Egress&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-and&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmInTx&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;){&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;SourcePortTransmitted&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;SourcePortTransmitted&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;where&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;-ne&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vmNic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Backing&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Port&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PortKey}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;VspanSession &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;+=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$mirrorSession&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;vspanConfigSpec &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;+=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$vspan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ConfigVersion &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Config&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ConfigVersion &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$dvSw&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ExtensionData&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;ReconfigureDvs(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;&lt;SPAN&gt;$spec&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:47:19 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250198#M76880</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2017-02-06T20:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250199#M76881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. This is what exactly what I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:55:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2250199#M76881</guid>
      <dc:creator>Halukkocaman</dc:creator>
      <dc:date>2017-02-06T20:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2846696#M101462</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/256147"&gt;@LucD&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First of all, thanks for sharing such a useful function. I was able to add the VM at the session without any problem, however, this function for removing the VM from the Session did not work for me. I have tried some modifications on the code but no success.&lt;BR /&gt;&lt;BR /&gt;A workaround for me would be: Remove the whole Session ( I was able to do it ) and then recreate it with the new VMs... that would work for me, however, through PowerCLI seems there's not a possibility to recreate it, ( at least I could not find a way to do it) so I have to insist in removing the VM only and add a new desired VM. ( probably better than messing up with session re-creation.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 23:02:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2846696#M101462</guid>
      <dc:creator>mhops</dc:creator>
      <dc:date>2021-05-11T23:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2846743#M101463</link>
      <description>&lt;P&gt;You have to give some more details than "... &lt;EM&gt;did not work for me&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;Any error messages?&lt;BR /&gt;Anything in the vpxd log?&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 06:50:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2846743#M101463</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2021-05-12T06:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848867#M101619</link>
      <description>&lt;P&gt;Hello LucD, I apologize for the late answer, I have investigated and tried to modify the code you provided, but I had no success. There's no error either, just info saying the configuration was completed, but nothing has changed on the&amp;nbsp;vspanSession.&lt;BR /&gt;&lt;BR /&gt;In Taks Events GUI:---------------------------------------------------------&lt;BR /&gt;&lt;SPAN&gt;Task: Reconfigure vSphere Distributed Switch&lt;/SPAN&gt;&lt;BR /&gt;05/25/2021, 3:22:42 PM The vSphere Distributed Switch FE-LAB-VDS01 in LAB was reconfigured. Modified: config.configVersion: "244" -&amp;gt; "245"; Added: Deleted:&amp;nbsp;&lt;/P&gt;&lt;P&gt;In vpxd log:-------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;BEGIN task-340194 -- dvs-1426 -- vim.DistributedVirtualSwitch.reconfigure -- 525030df-85d6-6884-ecde-731f47070f12(52ef6c61-8e71-1f06-4c06-337154a72fbd)&lt;BR /&gt;2021-05-25T13:22:42.806Z info vpxd[07339] [Originator@6876 sub=vspan opID=53f92c34] Updating vspanSession config in VDS [FE-LAB-VDS01] from configSpec&lt;BR /&gt;2021-05-25T13:22:42.811Z info vpxd[07339] [Originator@6876 sub=ipfix opID=53f92c34] [Ipfix::ApplySpecToConfigInfo] updating ipfixConfig in VDS [FE-LAB-VDS01] configInfo based on what is set in the configSpec.&lt;BR /&gt;2021-05-25T13:22:42.858Z info vpxd[07612] [Originator@6876 sub=MoCluster opID=HB-host-7344@32208-243b5ee3] Host [vim.HostSystem:host-7344,vsan-lab-esx01.ubisoft.org] has 1 HDCS&lt;BR /&gt;resources&lt;BR /&gt;2021-05-25T13:22:42.873Z info vpxd[07333] [Originator@6876 sub=vpxLro opID=klkrlhvw-dcdn-h5:70218441-ea] [VpxLRO] -- FINISH lro-54326244&lt;BR /&gt;2021-05-25T13:22:42.926Z info vpxd[07339] [Originator@6876 sub=vpxLro opID=53f92c34] [VpxLRO] -- FINISH task-340194&lt;/P&gt;&lt;P&gt;---------------------------------&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To give a bit of context if it helps, the VM has 2 NetowrkDevices, but only one of them was configured in the PortMirroring session, which is the one I would like to remove whit this script.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your time.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 13:39:27 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848867#M101619</guid>
      <dc:creator>mhops</dc:creator>
      <dc:date>2021-05-25T13:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848876#M101620</link>
      <description>&lt;P&gt;The script will definitely not work when there is more than 1 vNIC.&lt;BR /&gt;You could try to extend the following line to only select the vNIC that was connected to the session.&lt;BR /&gt;That could for example be based on the vNIC name.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$vmNic = $vm.ExtensionData.Config.Hardware.Device | where{$_.Backing -is [VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo]} &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 13:55:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848876#M101620</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2021-05-25T13:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848905#M101622</link>
      <description>&lt;P&gt;Thanks a lot LucD.&amp;nbsp; Do you mean something like this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$vmNicInfo = $vm.ExtensionData.Config.Hardware.Device | where{$_.Backing -is [VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo]} 
$vmNic = $vmNicInfo.DeviceInfo | where "label" -eq "Network adapter 1"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$vmNicInfo = $vm.ExtensionData.Config.Hardware.Device | where{$_.Backing -is [VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo]} 
$vmNic = $vmNicInfo.Backing.Port.PortKey | Sort-Object | Select-Object -First 1&lt;/LI-CODE&gt;&lt;P&gt;I'm not sure if I'm selecting the object " Network adapter 1" in a proper way. Did not work for me so far.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 15:23:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848905#M101622</guid>
      <dc:creator>mhops</dc:creator>
      <dc:date>2021-05-25T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848906#M101623</link>
      <description>&lt;P&gt;You could do&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$vmNicInfo = $vm.ExtensionData.Config.Hardware.Device | 
    where{$_.Backing -is [VMware.Vim.VirtualEthernetCardDistributedVirtualPortBackingInfo] -and $_.DeviceInfo.Label -eq 'Network adapter 1'} &lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 May 2021 15:24:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848906#M101623</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2021-05-25T15:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Port Mirroring</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848907#M101624</link>
      <description>&lt;P&gt;It works perfectly!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now I see where I was making a mistake.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciated your time. Thank you again &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@EB1C36C83B60DA106C72E758A9DFC24B/emoticons/1f64f.png" alt=":folded_hands:" title=":folded_hands:" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 15:31:34 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Remove-Port-Mirroring/m-p/2848907#M101624</guid>
      <dc:creator>mhops</dc:creator>
      <dc:date>2021-05-25T15:31:34Z</dc:date>
    </item>
  </channel>
</rss>

