Jump to content
Software FX Community

Cannot refresh chart when passing parameters


NorbertP
 Share

Recommended Posts

Hi,

I want to be able to refresh my chart but when I am passing parameter to another gadget I get an error message which is: "The term 'System.Object[]' is not recognized as a cmdlet, function operable program, or script file. Verify the term and try again." Here's my script:

$sql = "SELECT resource..."

$items = invoke-sql -server server.com -database db_name -user user -password pass -sql  $sql

$items | out-chart -caption "Title of chart" -Title "Title of chart" -

name "Title of chart" -refresh 00:00:30  -size 800,600 -View3D_Enabled true -floating -

DrillDown_Script AvgDurPerEngList.ps1 -DrillDown_Parameter {$_.resource} -allseries_multiplecolors true

If you need further explanation let me know. Any help would be appreciated.

 

Thanks in advance

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...