PowerShell-Statistics icon indicating copy to clipboard operation
PowerShell-Statistics copied to clipboard

Added pipeline functionality and made minor fixes

Open DBremen opened this issue 4 years ago • 0 comments

Hi Nicholas, thanks a lot for the great module. I've made some changes and hope that you might find them useful: Get-Histogram

  • Added DefaultDisplayPropertySet (Index,Count,lowerBound,upperBound)
  • Made function take input from pipeline (not processing by pipeline but just as syntactic sugar)
  • Replaced arraylist "pipeline data collector" by automatic $Input variable
  • Changed gh alias to ghist (collided with Get-Help for me)
  • Cannot get the test "Honors minimum and maximum values" working (mock call to write-warning)

Add-Bar

  • Fixed double selection of Count property
  • Changed name of InputObject to Data for consistency
  • Replaced arraylist "pipeline data collector" by automatic $Input variable

Measure-Object

  • Made function take input from pipeline (not processing by pipeline but just as syntactic sugar)

Show-Measurement

  • Made function take input from pipeline (not processing by pipeline but just as syntactic sugar)
  • Changed name of InputObject to Data for consistency
  • Could not get the 'Produces output' test working (mock call to write-host)
  • Decreased width to account for text in front of graph

Dirk

DBremen avatar Sep 08 '19 16:09 DBremen