Dashboards PowerShell Grid Widgets - Grouping and Sorting?

First of all, to those who made Dashboard PowerShell Grid Widgets possible - Thank you, Thank you, Thank you.  Love it!  So much more power except for the output......

Is there a way to group and sort my results or is it my system?  Clicking the column header doesn't seem to work, no personalize option, nor does sorting in the script seem to work. 

Thank you. 

BTW, it looks like the dashboard is sorting by ID no matter what one does.
  • Edited by DAP11 Monday, June 30, 2014 7:11 PM
June 30th, 2014 5:12pm

Hi DAP11,

I just finished my adventure with PowerShell Grid Widget:

First of all, be sure to have .NET Framework 4.5.1 installed on your computers. It didn't work for me without that !

Next try to cast your data in the PowerShell script to correct types:

$dataObject["SomeIntegerTypedProperty"]=[int]$SomeIntegerTypedProperty

$dataObject["SomeStringTypedProperty"]=[string]$SomeStringTypedProperty

Type casting is important for numerics: 9 < 80 ! When not casted I saw 80 < 9 !

Then everything worked (nearly) fine for me:

- Sorting in the dashboard by clicking on the column header works.

- Columns are ordered somehow, so youi have to reorder columns to your preferences

- everytime the dashboard is opened it is inititialized: reorder your columns.

Hope this helps.

regards

sebastian


Free Windows Admin Tool Kit Click here and download it now
December 2nd, 2014 2:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics