<?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 Enclosure Groups (configuration scripts) via PowerShell in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007884#M3083</link>
    <description>&lt;P&gt;Yes, I see the issue on the tracker.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 17:03:56 GMT</pubDate>
    <dc:creator>ChrisLynch</dc:creator>
    <dc:date>2018-06-04T17:03:56Z</dc:date>
    <item>
      <title>Update Enclosure Groups (configuration scripts) via PowerShell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007676#M3080</link>
      <description>&lt;P&gt;I'm looking for a way to "mass update" the configuration scripts of existing Enclosure Groups.&lt;/P&gt;&lt;P&gt;As there seems to be no &lt;FONT face="courier new,courier"&gt;Update-&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;Set-HPOVEnclosureGroup&lt;/FONT&gt; Commandlet I'm stuck with manually updating these scripts using the Web UI.&lt;/P&gt;&lt;P&gt;This is somewhat tiresome if you have multiple OneView instances with multple Enclsoure Groups each.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks for your support!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 13:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007676#M3080</guid>
      <dc:creator>Daniel-L</dc:creator>
      <dc:date>2018-06-01T13:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update Enclosure Groups (configuration scripts) via PowerShell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007708#M3081</link>
      <description>&lt;P&gt;In order to update the Configuration Script in an Enclosure Group, you will need to do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# Get the Enclosure Group
$EnclosureGroup = Get-HPOVEnclosureGroup -Name MyEg -ErrorAction Stop

# Define the new c-Class OA Configuration Script
$NewConfigurationScript = '# This is my updated OA config script
# with multiple lines'

# Save the configuration script
$results = Send-HPOVRequest -Uri ($EnclosureGroup.uri + '/script') -Method PUT -Body $NewConfigurationScript

# Update associated Logical Enclosures
Get-HPOVLogicalEnclosure | Where-Object { $_.state -ne 'Consisent' } | Update-HPOVLogicalEnclosure -UpdateFromGroup&lt;/PRE&gt;&lt;P&gt;If you go to the HPE OneView PowerShell Github project, please open an issue for this, as I can then look at enhancing the library to support this workflow in a future release.&amp;nbsp; Please do include the version of the library you are using.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 17:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007708#M3081</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2018-06-01T17:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Update Enclosure Groups (configuration scripts) via PowerShell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007800#M3082</link>
      <description>&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;thanks for your reply and great support.&lt;/P&gt;&lt;P&gt;I've opened a new issue for this:&amp;nbsp;&lt;A href="https://github.com/HewlettPackard/POSH-HPOneView/issues/341" target="_blank"&gt;Enhancement request: Update Enclosure Group configuration scripts #341&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 06:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007800#M3082</guid>
      <dc:creator>Daniel-L</dc:creator>
      <dc:date>2018-06-04T06:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update Enclosure Groups (configuration scripts) via PowerShell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007884#M3083</link>
      <description>&lt;P&gt;Yes, I see the issue on the tracker.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 17:03:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/update-enclosure-groups-configuration-scripts-via-powershell/m-p/7007884#M3083</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2018-06-04T17:03:56Z</dc:date>
    </item>
  </channel>
</rss>

