Files
ImportExcel/Examples/JustCharts/PieChartHandles.ps1
2015-12-18 13:10:22 -05:00

7 lines
201 B
PowerShell

# Get only processes hat have a company name
# Sum up handles by company
# Show the Pie Chart
PieChart -Title "Total Handles by Company" `
(Invoke-Sum (Get-Process|Where company) company handles)