- port_usage.ps1
- PowerShell script which will dump the process usage bucketed into counts
- port_usage_2018-10-19T00.19.53.4636467+02.00.csv
- Example output
- Process Usage.qvf
- Qlik app to consume the results
- Place the PowerShell script somewhere on the server, ideally the C drive because that’s what I tested
- Run it manually to confirm that it is working
- Expected location is
C:\TEMP\ProcessUsage
- Expected location is
- Run it manually to confirm that it is working
- Configure a Windows Scheduled Task to execute this regularly:
- Start > Task Scheduler
- Highlight Task Scheduler Library
- Create Task
- General Tab Config
- Triggers config:
- Actions Tab Config:
- Manually run the task & make sure it outputs a CSV
- Import app
- Reload
- The Data Connection pointing to the CSVs is embedded to C:\TEMP\ProcessUsage
- This may need adjusting to a UNC path
- Feel free to adjust things