<?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>tmithilesh Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>tmithilesh Tracker</description>
    <pubDate>Wed, 15 Nov 2023 14:29:07 GMT</pubDate>
    <dc:date>2023-11-15T14:29:07Z</dc:date>
    <item>
      <title>Re: Using Get-Compliance run in script giving error.</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Using-Get-Compliance-run-in-script-with-a-service-account/m-p/2909911#M698</link>
      <description>&lt;P&gt;$comStatus2 = Get-Compliance -Entity $Cluster -Baseline $NonCriticalBaseline -ComplianceStatus Compliant&lt;BR /&gt;if($comstatus2.Status -like "Compliant")&lt;/P&gt;&lt;P&gt;for the above line i am getting this error. Please help me on.&lt;/P&gt;&lt;P&gt;Get-Compliance : 5/18/2022 7:56:37 PM Get-Compliance&lt;BR /&gt;fault.SecurityError.summary&lt;BR /&gt;At C:\vmwtest\work\vum\VMware-testware\vmqa\scripts\new3.ps1:38 char:17&lt;BR /&gt;+ ... omStatus2 = Get-Compliance -Entity $Cluster -Baseline $NonCriticalBas ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Get-Compliance], VimException&lt;BR /&gt;+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VumAutomatio&lt;BR /&gt;n.Commands.GetCompliance&lt;/P&gt;&lt;P&gt;Get-Compliance : 5/18/2022 7:56:37 PM Get-Compliance&lt;BR /&gt;fault.SecurityError.summary&lt;BR /&gt;At C:\vmwtest\work\vum\VMware-testware\vmqa\scripts\new3.ps1:38 char:17&lt;BR /&gt;+ ... omStatus2 = Get-Compliance -Entity $Cluster -Baseline $NonCriticalBas ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Get-Compliance], VimException&lt;BR /&gt;+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VumAutomatio&lt;BR /&gt;n.Commands.GetCompliance&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 06:23:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Using-Get-Compliance-run-in-script-with-a-service-account/m-p/2909911#M698</guid>
      <dc:creator>tmithilesh</dc:creator>
      <dc:date>2022-05-19T06:23:37Z</dc:date>
    </item>
  </channel>
</rss>

