mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
9 lines
291 B
PowerShell
9 lines
291 B
PowerShell
# Get only processes hat have a company name
|
|
# Sum up handles by company
|
|
# Show the Pie Chart
|
|
|
|
try {Import-Module $PSScriptRoot\..\..\ImportExcel.psd1} catch {throw ; return}
|
|
|
|
PieChart -Title "Total Handles by Company" `
|
|
(Invoke-Sum (Get-Process | Where-Object company) company handles)
|