Added try/catch. Expanded aliases

This commit is contained in:
dfinke
2018-07-05 16:14:56 -04:00
parent e4fbf7e92e
commit eac352c28a
47 changed files with 204 additions and 136 deletions

View File

@@ -2,6 +2,8 @@
# Sum up PM by company
# Show the Pie Chart
PieChart -Title "Total PM by Company" `
(Invoke-Sum (Get-Process|Where company) company pm)
try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {}
PieChart -Title "Total PM by Company" `
(Invoke-Sum (Get-Process|Where-Object company) company pm)