<?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: Set-HPEBIOSSecureBootState ... not working in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013914#M8124</link>
    <description>&lt;P&gt;Thank you for reportng this issue.&lt;/P&gt;&lt;P&gt;We can able to reproduce this issue at our end. It is a bug in Set-HPEBIOSSecureBootStatus.&lt;/P&gt;&lt;P&gt;As per BIOS REST schema, the&amp;nbsp;SecureBootStatus property is readyonly, So, you cannot set the same using Set-HPEBIOSSecureBootStatus cmdlet.&lt;/P&gt;&lt;P&gt;Download and Install our REST&amp;nbsp;cmdlets from PowerShell Gallery.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Install-Module -Name HPRESTCmdlets -Verbose&lt;/P&gt;&lt;P&gt;Use RESTCmdlets to configure the Secure Boot as below.&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; $iLORESTConnection = Connect-HPREST&amp;nbsp;x.x.x.x admin admin123 -DisableCertificateAuthentication&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; $SecureBootPayload = '{ "SecureBootEnable": true }'&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; Set-HPRESTData -Session $iLORESTConnection -Href 'rest/v1/Systems/1/SecureBoot' -Setting $SecureBootPayload&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;The value for property SecureBootEnable cannot be changed while the computer system BIOS is in POST.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 09:08:27 GMT</pubDate>
    <dc:creator>B_Rajesh</dc:creator>
    <dc:date>2018-08-06T09:08:27Z</dc:date>
    <item>
      <title>Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013848#M8120</link>
      <description>&lt;P&gt;Hello, I try to&amp;nbsp;&amp;nbsp;"SecureBootState" Enabled on my HP Proliant G9 (ILO 4 2.60) using powershell&lt;/P&gt;&lt;PRE&gt;$iLOBIOSConnection  = Connect-HPEBIOS -IP xxx.xxx.xxx.xxx -Username $ILOUsername -Password $ILOPassword  -DisableCertificateAuthentication
Set-HPEBIOSSecureBootState -Connection $iLOBIOSConnection -SecureBootState Enabled &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The output seems to be ok :&lt;/P&gt;&lt;PRE&gt;VERBOSE: Performing the operation "Set-HPEBIOSSecureBootState" on target "IP: xxx.xxx.xxx.xxx".
VERBOSE: [Set-HPEBIOSSecureBootState] Executing the cmdlets with 1 task serially.
VERBOSE: xxx.xxx.xxx.xxx : Validating the connection object.
VERBOSE: xxx.xxx.xxx.xxx : Validating input parameters for Set-HPEBIOSSecureBootState.
VERBOSE: xxx.xxx.xxx.xxx : Reading BIOS firmware data.
VERBOSE: xxx.xxx.xxx.xxx : Checking whether the input parameters of Set-HPEBIOSSecureBootState are supported in xxx.xxx.xxx.xxx.
VERBOSE: xxx.xxx.xxx.xxx : Checking dependency for the input parameters of Set-HPEBIOSSecureBootState in xxx.xxx.xxx.xxx.
VERBOSE: xxx.xxx.xxx.xxx : Configuring Set-HPEBIOSSecureBootState with supplied input data in xxx.xxx.xxx.xxx.&lt;/PRE&gt;&lt;P&gt;But at the server reboot on the iLO I can see the following :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Secure Boot.PNG" style="width: 826px;"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/105128iB7C6430FDE4A946D/image-size/large?v=v2&amp;amp;px=2000" role="button" title="Secure Boot.PNG" alt="Secure Boot.PNG" /&gt;&lt;/span&gt;And as a result SecureBoot is not Enable !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PhS&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 16:29:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013848#M8120</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2018-08-02T16:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013909#M8121</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it is basic and probably you did it already, but have you tried to reset the settings to the default and or format NAND?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013909#M8121</guid>
      <dc:creator>PiterParker</dc:creator>
      <dc:date>2018-08-03T10:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013911#M8122</link>
      <description>&lt;P&gt;Hello Piotr,&lt;/P&gt;&lt;P&gt;what do you suggest I reset to default ? all the BIOS settings?&lt;/P&gt;&lt;P&gt;And about formating the NAND, no I didn't try ... how would it help, and is there a easy way to do so ?&lt;/P&gt;&lt;P&gt;Some context : we are using the command to enable Secure Boot on 52 servers DL380 Gen9 ... and none "respected" our command, they all "came back" after a reboot to SecureBoot DISABLE, without applying the " pending Bios setting "&lt;/P&gt;&lt;P&gt;PhS&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013911#M8122</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2018-08-03T10:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013914#M8124</link>
      <description>&lt;P&gt;Thank you for reportng this issue.&lt;/P&gt;&lt;P&gt;We can able to reproduce this issue at our end. It is a bug in Set-HPEBIOSSecureBootStatus.&lt;/P&gt;&lt;P&gt;As per BIOS REST schema, the&amp;nbsp;SecureBootStatus property is readyonly, So, you cannot set the same using Set-HPEBIOSSecureBootStatus cmdlet.&lt;/P&gt;&lt;P&gt;Download and Install our REST&amp;nbsp;cmdlets from PowerShell Gallery.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Install-Module -Name HPRESTCmdlets -Verbose&lt;/P&gt;&lt;P&gt;Use RESTCmdlets to configure the Secure Boot as below.&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; $iLORESTConnection = Connect-HPREST&amp;nbsp;x.x.x.x admin admin123 -DisableCertificateAuthentication&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; $SecureBootPayload = '{ "SecureBootEnable": true }'&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; Set-HPRESTData -Session $iLORESTConnection -Href 'rest/v1/Systems/1/SecureBoot' -Setting $SecureBootPayload&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;The value for property SecureBootEnable cannot be changed while the computer system BIOS is in POST.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 09:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7013914#M8124</guid>
      <dc:creator>B_Rajesh</dc:creator>
      <dc:date>2018-08-06T09:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7014134#M8126</link>
      <description>&lt;P&gt;When I try to connect to the iLO using REST&lt;/P&gt;&lt;PRE&gt;$iLORESTConnection  = Connect-HPREST -Address $IiLOREST $ILOUsername $ILOPassword  -DisableCertificateAuthentication&lt;/PRE&gt;&lt;P&gt;I get the following error&lt;/P&gt;&lt;PRE&gt;Convert-JsonToPSObject : The script failed due to call depth overflow.
At PowerShell Modules\HPRESTCmdlets\1.2.0.0\HPRESTCmdlets.psm1:1782 char:34
+ ... ertedPsobject = Convert-JsonToPSObject -JsonString $jsonStringRemProp
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (0:Int32) [Convert-JsonToPSObject], RuntimeException
    + FullyQualifiedErrorId : CallDepthOverflow,Convert-JsonToPSObject
 &lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Aug 2018 08:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7014134#M8126</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2018-08-06T08:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7017093#M8135</link>
      <description>&lt;P&gt;Any chance to get help from someone ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 06:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7017093#M8135</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2018-09-05T06:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7027861#M8250</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Have you find a solution? I have the same problem..&lt;/P&gt;&lt;P&gt;I have update to SPP2018.09, IP with 2.70B, but always this error with&amp;nbsp;Connect-HPREST:&lt;/P&gt;&lt;P&gt;Convert-JsonToPSObject : The script failed due to call depth overflow.&lt;BR /&gt;At C:\MSDEV\Powershell\ESXSAPHANA\HPRESTCmdlets\HPRESTCmdlets.psm1:1782 char:34&lt;BR /&gt;+ $convertedPsobject = Convert-JsonToPSObject -JsonString $jsonStringR ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (0:Int32) [Convert-JsonToPSObject], RuntimeException&lt;BR /&gt;+ FullyQualifiedErrorId : CallDepthOverflow,Convert-JsonToPSObject&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 10:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7027861#M8250</guid>
      <dc:creator>Mimault Philippe</dc:creator>
      <dc:date>2018-12-07T10:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7028121#M8254</link>
      <description>&lt;P&gt;Hi Philippe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have not been able to reproduce this issue in the lab. I have sent you an email to get more information about this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Vijay Bhojwani&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 04:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7028121#M8254</guid>
      <dc:creator>Vijay_B</dc:creator>
      <dc:date>2018-12-11T04:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7200855#M9906</link>
      <description>&lt;P&gt;Was there ever a solution? I've the same error too.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 22:29:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7200855#M9906</guid>
      <dc:creator>Stingrey</dc:creator>
      <dc:date>2023-11-15T22:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set-HPEBIOSSecureBootState ... not working</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7201215#M9911</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2224713"&gt;@Stingrey&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for posting!&amp;nbsp;You might want to consider creating a new topic by utilizing the "New Discussion" button, as this will not only enhance visibility compared to the old topic but also boost your chances of receiving responses from experts.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 10:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/set-hpebiossecurebootstate-not-working/m-p/7201215#M9911</guid>
      <dc:creator>Sunitha_Mod</dc:creator>
      <dc:date>2023-11-21T10:51:19Z</dc:date>
    </item>
  </channel>
</rss>

