<?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 HPE Onview - Powershell in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195605#M8397</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to export the CSV (Appliance / Reports / BMC IP Address Inventory ) using Powershell&amp;nbsp;HPEOneView.800.&lt;/P&gt;&lt;P&gt;Is there a way to do that ?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 06:10:01 GMT</pubDate>
    <dc:creator>PhS-</dc:creator>
    <dc:date>2023-09-14T06:10:01Z</dc:date>
    <item>
      <title>HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195605#M8397</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to export the CSV (Appliance / Reports / BMC IP Address Inventory ) using Powershell&amp;nbsp;HPEOneView.800.&lt;/P&gt;&lt;P&gt;Is there a way to do that ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 06:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195605#M8397</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2023-09-14T06:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195701#M8400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1562196" target="_self"&gt;&lt;SPAN class=""&gt;PhS-&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To export report to CSV format use the parameter -exportfile &amp;lt;file-location&amp;gt;&amp;nbsp; with .csv extention.&lt;BR /&gt;Please use this link to refer for an example&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hpe-docs.gitbook.io/posh-hpeoneview/cmdlets/v5.40/networking/show-ovlogicalinterconnectmactable#example-3" target="_blank" rel="noopener"&gt;https://hpe-docs.gitbook.io/posh-hpeoneview/cmdlets/v5.40/networking/show-ovlogicalinterconnectmactable#example-3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regard,&lt;BR /&gt;Manoj.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 09:57:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195701#M8400</guid>
      <dc:creator>GM_M</dc:creator>
      <dc:date>2023-09-04T09:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195777#M8402</link>
      <description>&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2055981"&gt;@GM_M&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can very well imagine that the "&lt;SPAN&gt;&amp;nbsp;-exportfile &amp;lt;file-location&amp;gt;&amp;nbsp; with .csv extention " is what I have to use as option, but my question was on which command itself ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You&amp;nbsp; are pointing me to&amp;nbsp;&lt;EM&gt;Show-OVLogicalInterconnectMacTable&lt;/EM&gt; , b&lt;/SPAN&gt;&lt;SPAN&gt;ut I don't believe this matches the info I am searching for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to export all the&amp;nbsp; "BMC IP addresses inventory.csv"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 07:28:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195777#M8402</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2023-09-05T07:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195973#M8405</link>
      <description>&lt;P style="margin: 0;"&gt;&amp;gt;&amp;gt; Procedure to export the BMC IP Address Inventory report as a CSV file using PowerShell in HPE OneView &amp;lt;&amp;lt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Use the Connect-HPOVMgmt cmdlet to connect to your HPE OneView appliance if you haven't already.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Connect-HPOVMgmt -Appliance &amp;lt;OneViewAddress&amp;gt; -UserName &amp;lt;Username&amp;gt; -Password &amp;lt;Password&amp;gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Retrieve BMC IP Address Information: You can use the Get-HPOVBmc cmdlet to retrieve information about BMCs. Then, select the relevant properties and store them in a variable.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;$bmcInfo = Get-HPOVBmc&lt;/P&gt;
&lt;P style="margin: 0;"&gt;$bmcInfo = $bmcInfo | Select-Object Name, IPAddress&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Export to CSV: Now, you can export the BMC IP address information to a CSV file using the Export-Csv cmdlet.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;$csvFilePath = "C:\Path\To\Your\BMC_IP_Addresses.csv"&lt;/P&gt;
&lt;P style="margin: 0;"&gt;$bmcInfo | Export-Csv -Path $csvFilePath -NoTypeInformation&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Replace "C:\Path\To\Your\BMC_IP_Addresses.csv" with the actual path and filename where you want to save the CSV file.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Disconnect-HPOVMgmt&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 06:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195973#M8405</guid>
      <dc:creator>Rama2</dc:creator>
      <dc:date>2023-09-07T06:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195975#M8406</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;$bmcInfo = Get-HPOVBmc&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;Get-HPOVBmc: The term 'Get-HPOVBmc' is not recognized as a name of a cmdlet, function, script file, or executable program.&lt;BR /&gt;Check the spelling of the name, or if a path was included, verify that the path is correct and try again.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;I am using the latest :&amp;nbsp;HPEOneView.800 8.0.3528.2178&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 06:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7195975#M8406</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2023-09-07T06:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7196156#M8421</link>
      <description>&lt;P style="margin: 0;"&gt;I hope this will create a CSV file containing the BMC IP Address Inventory report.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;# Import the HPEOneView.800 module&lt;BR /&gt;Import-Module HPEOneView.800&lt;/P&gt;
&lt;P style="margin: 0;"&gt;# Connect to the HPE OneView appliance&lt;BR /&gt;Connect-HPOVServer -Hostname &amp;lt;hostname&amp;gt; -Username &amp;lt;username&amp;gt; -Password &amp;lt;password&amp;gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;# Get the BMC IP Address Inventory report&lt;BR /&gt;$report = Get-HPOVBmcIpAddressInventoryReport&lt;/P&gt;
&lt;P style="margin: 0;"&gt;# Export the report to a CSV file&lt;BR /&gt;$report | Export-Csv -Path &amp;lt;path-to-csv-file&amp;gt; -NoTypeInformation&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;BR /&gt;Replace &amp;lt;hostname&amp;gt;, &amp;lt;username&amp;gt;, &amp;lt;password&amp;gt;, and &amp;lt;path-to-csv-file&amp;gt; with appropriate values&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 02:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7196156#M8421</guid>
      <dc:creator>Rama2</dc:creator>
      <dc:date>2023-09-11T02:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7196169#M8422</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1899605"&gt;@Rama2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;The term 'Get-HPOVBmcIpAddressInventoryReport' is not recognized as a name of a cmdlet, function, script file, or executable program.&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 06:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7196169#M8422</guid>
      <dc:creator>PhS-</dc:creator>
      <dc:date>2023-09-11T06:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: HPE Onview - Powershell</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7196364#M8430</link>
      <description>&lt;P style="margin: 0;"&gt;Sorry for the confusion. There is no direct option to obtain the BMC IP Address Inventory report. Only the following options are available:&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;BR /&gt;- Get-OVEnclosure&lt;BR /&gt;- Get-OVlloSso&lt;BR /&gt;- Get-OVLogicalEnclosure&lt;BR /&gt;- Get-OVOSDeploymentPlan&lt;BR /&gt;- Get-OVOSDeploymentServer&lt;BR /&gt;- Get-OVServer&lt;BR /&gt;- Get-OVServerOneTimeBoot&lt;BR /&gt;- Get-OVServerProfileConnectionList&lt;BR /&gt;- Get-OVServerProfileTemplate&lt;BR /&gt;- Get-OVComposerNode&lt;BR /&gt;- Get-OVEnclosureGroup&lt;BR /&gt;- Get-OVlmageStreamerAppliance&lt;BR /&gt;- Get-OVMigratableServer&lt;BR /&gt;- Get-OVOSDeploymentPlanAttribute&lt;BR /&gt;- Get-OVRackManager&lt;BR /&gt;- Get-OVServerHardwareType&lt;BR /&gt;- Get-OVServerProfile&lt;BR /&gt;- Get-OVServerProfileMessage&lt;BR /&gt;&lt;BR /&gt;If any further assistance needed kindly refer to the&amp;nbsp;HPE OneView PowerShell Library :- &lt;A href="https://hpe-docs.gitbook.io/posh-hpeoneview/cmdlets/v8.30" target="_blank"&gt;https://hpe-docs.gitbook.io/posh-hpeoneview/cmdlets/v8.30&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 06:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-onview-powershell/m-p/7196364#M8430</guid>
      <dc:creator>Rama2</dc:creator>
      <dc:date>2023-09-13T06:21:00Z</dc:date>
    </item>
  </channel>
</rss>

