<?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: HPrest:  command example required in BladeSystem - General</title>
    <link>https://community.hpe.com/t5/bladesystem-general/hprest-command-example-required/m-p/6846131#M20163</link>
    <description>&lt;P&gt;It seems the set Image="" doesn't work with this tool so, try creating a file and copy the below JSON into it.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;{
	"path": "/rest/v1/Managers/1/VirtualMedia/2/",
	"body": {
		"Image": null
	}
}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then, send the JSON file to iLO4 using the following command:&lt;/P&gt;&lt;P&gt;hprest --nologo rawpatch {your_filename_here}&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2016 19:52:18 GMT</pubDate>
    <dc:creator>Oscar A. Perez</dc:creator>
    <dc:date>2016-03-29T19:52:18Z</dc:date>
    <item>
      <title>HPrest:  command example required</title>
      <link>https://community.hpe.com/t5/bladesystem-general/hprest-command-example-required/m-p/6839353#M20147</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using HPrest to attach virtual media, i am able to attache the virtual media using below sequence of hprest commands.&lt;/P&gt;&lt;P&gt;1. hprest --config=/root/hprest.conf --nologo login &lt;A href="https://10.43.21.2" target="_blank"&gt;https://10.43.21.2&lt;/A&gt; -u &amp;nbsp;admin&lt;/P&gt;&lt;P&gt;2. hprest --nologo select VirtualMedia&lt;BR /&gt;3. hprest --nologo set Image=https:192.169.2.2/boot.iso --filter links/self/href=/rest/v1/Managers/1/VirtualMedia/2 --commit&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want sequrence of commands to&amp;nbsp;remove virtual media. Below set commands are not working.&lt;/P&gt;&lt;P&gt;1. hprest --config=/root/hprest.conf --nologo login &lt;A href="https://10.43.21.65" target="_blank"&gt;https://10.43.21.65&lt;/A&gt; -u HPadmin&lt;BR /&gt;2. hprest --nologo select VirtualMedia&lt;BR /&gt;3. hprest --nologo set Image='' &amp;nbsp;--filter links/self/href=/rest/v1/Managers/1/VirtualMedia/2 --commit&lt;BR /&gt;Committing changes...&lt;BR /&gt;No more Virtual Media connections are available, because the maximum number of connections are already established.&lt;BR /&gt;ERROR : Failed to commit with iLO error code 400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;result is same even if i use '&lt;SPAN&gt;set Image='""' double quote.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using 'hprest-1.4-49' version of hprest. &amp;nbsp;HP hardware is BL460c Gen9 with iLO 4 firmware version '2.30 Aug 19 2015' with adavanced license.&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Adishesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 06:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/hprest-command-example-required/m-p/6839353#M20147</guid>
      <dc:creator>Adishesh</dc:creator>
      <dc:date>2016-03-07T06:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: HPrest:  command example required</title>
      <link>https://community.hpe.com/t5/bladesystem-general/hprest-command-example-required/m-p/6846131#M20163</link>
      <description>&lt;P&gt;It seems the set Image="" doesn't work with this tool so, try creating a file and copy the below JSON into it.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;{
	"path": "/rest/v1/Managers/1/VirtualMedia/2/",
	"body": {
		"Image": null
	}
}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then, send the JSON file to iLO4 using the following command:&lt;/P&gt;&lt;P&gt;hprest --nologo rawpatch {your_filename_here}&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 19:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/hprest-command-example-required/m-p/6846131#M20163</guid>
      <dc:creator>Oscar A. Perez</dc:creator>
      <dc:date>2016-03-29T19:52:18Z</dc:date>
    </item>
  </channel>
</rss>

