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

8 lines
187 B
PowerShell

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