PowerShell-Statistics
PowerShell-Statistics copied to clipboard
Added pipeline functionality and made minor fixes
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