<?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 Powershell Error - Can't multithread to Connect-HPOA or Connect-HPBIOS in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/powershell-error-can-t-multithread-to-connect-hpoa-or-connect/m-p/6988104#M7934</link>
    <description>&lt;P class="p1"&gt;Hello,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;PLEASE NOTE:&amp;nbsp; CONNECT-HPEBIOS (released 10/2017) fixes the issue below.&amp;nbsp; CONNECT-HPOA STILL HAS THIS ISSUE.&lt;/P&gt;&lt;P class="p1"&gt;&lt;BR /&gt;I have a CSV that i'm importing with the fields IP, Username, Password to connect to a large amount of HP systems to set BIOS settings.&amp;nbsp; It's saying that it's having an error converting my PSOjects from the CSV to strings.&lt;BR /&gt;&lt;BR /&gt;Does anyone have this issue or a workaround?&amp;nbsp; The recent release of HPEBIOSCmdlets fixed the connect-hpbios issue, but the issue still persists for the HPOACmdlets...&lt;/P&gt;&lt;PRE&gt;Connect-HPOA : Invalid input: Unable to cast object of type 'System.Management.Automation.PSObject' to type 'System.String'.
Parameter name: OA
At line:1 char:23
+ ... nectOA = $csvOA | Connect-HPOA -WarningAction SilentlyContinue -Force
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Connect-HPOA], ArgumentException
    + FullyQualifiedErrorId : HPOACmdlets.ConnectHPOA&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Nov 2017 17:10:09 GMT</pubDate>
    <dc:creator>rookie1082</dc:creator>
    <dc:date>2017-11-10T17:10:09Z</dc:date>
    <item>
      <title>Powershell Error - Can't multithread to Connect-HPOA or Connect-HPBIOS</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/powershell-error-can-t-multithread-to-connect-hpoa-or-connect/m-p/6988104#M7934</link>
      <description>&lt;P class="p1"&gt;Hello,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;PLEASE NOTE:&amp;nbsp; CONNECT-HPEBIOS (released 10/2017) fixes the issue below.&amp;nbsp; CONNECT-HPOA STILL HAS THIS ISSUE.&lt;/P&gt;&lt;P class="p1"&gt;&lt;BR /&gt;I have a CSV that i'm importing with the fields IP, Username, Password to connect to a large amount of HP systems to set BIOS settings.&amp;nbsp; It's saying that it's having an error converting my PSOjects from the CSV to strings.&lt;BR /&gt;&lt;BR /&gt;Does anyone have this issue or a workaround?&amp;nbsp; The recent release of HPEBIOSCmdlets fixed the connect-hpbios issue, but the issue still persists for the HPOACmdlets...&lt;/P&gt;&lt;PRE&gt;Connect-HPOA : Invalid input: Unable to cast object of type 'System.Management.Automation.PSObject' to type 'System.String'.
Parameter name: OA
At line:1 char:23
+ ... nectOA = $csvOA | Connect-HPOA -WarningAction SilentlyContinue -Force
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Connect-HPOA], ArgumentException
    + FullyQualifiedErrorId : HPOACmdlets.ConnectHPOA&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Nov 2017 17:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/powershell-error-can-t-multithread-to-connect-hpoa-or-connect/m-p/6988104#M7934</guid>
      <dc:creator>rookie1082</dc:creator>
      <dc:date>2017-11-10T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Error - Can't multithread to Connect-HPOA or Connect-HPBIOS</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/powershell-error-can-t-multithread-to-connect-hpoa-or-connect/m-p/6988238#M7935</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you share the csv details like how you are inputing the data in csv (you can mask the ip address and other senstive details).&lt;/P&gt;&lt;P&gt;Below is the format of csv you should use incase its worng.&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; $csv = Import-Csv -Path "C:\Temp\inputcsv.csv" -Verbose&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; $csv&lt;/P&gt;&lt;P&gt;OA Username Password&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;-- -------- --------&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;192.168.10.201 administrator&amp;nbsp;xyz&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 06:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/powershell-error-can-t-multithread-to-connect-hpoa-or-connect/m-p/6988238#M7935</guid>
      <dc:creator>GokulKS</dc:creator>
      <dc:date>2017-11-13T06:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Error - Can't multithread to Connect-HPOA or Connect-HPBIOS</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/powershell-error-can-t-multithread-to-connect-hpoa-or-connect/m-p/6988398#M7936</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It would be more clear if you add&amp;nbsp; complete command which you are trying to execute.&lt;/P&gt;&lt;P&gt;Looks like you are direct passing imported csv object to Connect-HPOA Cmdlet. That leads to error for type mismatch.&lt;/P&gt;&lt;P&gt;Try it like below snippet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1$csvObj = Import-CSV C:\CsvInput.csv&lt;/P&gt;&lt;P&gt;Connect-HPOA -IP $csvObj.IP -Username $csvObj.Username -Password $csvObj.Password&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 11:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/powershell-error-can-t-multithread-to-connect-hpoa-or-connect/m-p/6988398#M7936</guid>
      <dc:creator>GZahidi</dc:creator>
      <dc:date>2017-11-14T11:13:04Z</dc:date>
    </item>
  </channel>
</rss>

