<?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: Update-Entity with Multiple Baselines in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757551#M97650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very strange.&amp;nbsp; I ran it again on another host and although I got an error in the PowerShell window, the patches were applied properly.&amp;nbsp; I'll take it! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 20:49:11 GMT</pubDate>
    <dc:creator>BenLiebowitz</dc:creator>
    <dc:date>2017-10-31T20:49:11Z</dc:date>
    <item>
      <title>Update-Entity with Multiple Baselines</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757545#M97644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;I'm trying to patch some hosts via a script I wrote.&amp;nbsp; However, the syntax I used in the past isn't working here.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;get-baseline -name *critical* | update-entity -entity $HOST -ClusterEnableParallelRemediation:$false -ClusterDisableHighAvailability:$true -confirm:$false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;In the past, this picked up both the critical and non-critical host patch baselines, however this time it's only picking up the critical one.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;I read that update-entity can be passed multiple baselines, but even when I switched and tried using below, it isn't working.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Update-Entity -entity $HOST -baseline {get-baseline | where {$_.Name -match "critical"}) -ClusterEnableParallelRemediation:$false -ClusterDisableHighAvailability:$true -confirm:$false &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;I thought about creating a baseline group and putting them both in there, but when i did that and did a get-baseline for the group, it doesn't find it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Appreciate any help! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 17:27:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757545#M97644</guid>
      <dc:creator>BenLiebowitz</dc:creator>
      <dc:date>2017-10-31T17:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update-Entity with Multiple Baselines</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757546#M97645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried that, and for me it seems to work.&lt;/P&gt;&lt;P&gt;When I do&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: #0000ff;"&gt;&lt;SPAN&gt;Get-PatchBaseline&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: #8b0000;"&gt;&lt;SPAN&gt;"*critical*"&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;/P&gt;&lt;P style="font-family: Lucida Console; margin: 0 0 0 0; background-color: #ffffff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;Update-Entity&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;-Entity&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;esx1.local.lab&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;-Confirm:&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; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN&gt;-Verbose&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;P&gt;I see both baselines&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="update-entity.jpg"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/76411i8D6E9BD05F3650AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="update-entity.jpg" alt="update-entity.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You did check that both baselines are connected to the ESXi node?&lt;/P&gt;&lt;P&gt;Which PowerCLI version of the VMware.VumAutomation are you using?&lt;BR /&gt;And against which Update Manager/vSphere version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:10:07 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757546#M97645</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2017-10-31T18:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update-Entity with Multiple Baselines</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757547#M97646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vSphere 6.0 Update 2 (version for VUM). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VMware PowerCLI 6.5.1 build 5377412&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error I received.&amp;nbsp; Not very descriptive. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;update-entity : 10/31/2017 11:28:17 AM&amp;nbsp; Update-Entity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The operation for the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;entity "HOST" failed with the following message: "There&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;are errors during the remediation operation. Check the events and log files&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;for details."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;At E:\ps1\vmware\VUM_HostUpdate.ps1:85 char:53&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;+ ... ritical"} | update-entity -entity $HOST -ClusterEnableParallelRemedi ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&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;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [Update-Entity], ExtendedFault&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpda&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp; tes_OperationFailed,VMware.VumAutomation.Commands.RemediateInventory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:24:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757547#M97646</guid>
      <dc:creator>BenLiebowitz</dc:creator>
      <dc:date>2017-10-31T18:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update-Entity with Multiple Baselines</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757548#M97647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make sure, that ESXi node is in maintenance mode?&lt;BR /&gt;And the HA, provided the ESXi node is part of a cluster, is set to allow patching, and you set the &lt;SPAN style="color: #555555; font-family: proxima-nova, Verdana, Tahoma, Arial, sans-serif; font-size: 12px;"&gt;&lt;STRONG&gt;ClusterDisableHighAvailability&lt;/STRONG&gt;&lt;/SPAN&gt; switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the vpxd logs?&lt;/P&gt;&lt;P&gt;Any additional info in there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;: I just saw you used the &lt;SPAN style="color: #555555; font-family: proxima-nova, Verdana, Tahoma, Arial, sans-serif; font-size: 12px;"&gt;&lt;STRONG&gt;ClusterDisableHighAvailability&lt;/STRONG&gt;&lt;/SPAN&gt; switch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:42:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757548#M97647</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2017-10-31T18:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update-Entity with Multiple Baselines</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757549#M97648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My script puts the host into Maintenance mode first, scans the host for compliance, then remediates.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't delve into the vpxd log yet.&amp;nbsp; I've had success using this method in the past.&amp;nbsp; I'll test again in a few and check the logs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just wondering if there was a different method or a way to use Baseline Groups via PowerCLI.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:57:42 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757549#M97648</guid>
      <dc:creator>BenLiebowitz</dc:creator>
      <dc:date>2017-10-31T18:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update-Entity with Multiple Baselines</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757550#M97649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, not that I know off.&lt;BR /&gt;As I showed earlier, for me it works, but that was against a VCSA 6.5U1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:30:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757550#M97649</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2017-10-31T19:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update-Entity with Multiple Baselines</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757551#M97650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very strange.&amp;nbsp; I ran it again on another host and although I got an error in the PowerShell window, the patches were applied properly.&amp;nbsp; I'll take it! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 20:49:11 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Update-Entity-with-Multiple-Baselines/m-p/2757551#M97650</guid>
      <dc:creator>BenLiebowitz</dc:creator>
      <dc:date>2017-10-31T20:49:11Z</dc:date>
    </item>
  </channel>
</rss>

