bytesizedalex / Get-SupportInfo

This function will generate and output various log files and support information to assist in troubleshooting computer issues. The exported data is added to an archive file which can be attached to support tickets or forwarded from service desk to senior support.
GNU General Public License v3.0
10 stars 2 forks source link

Add Write-Progress Functionality #1

Open bytesizedalex opened 4 years ago

bytesizedalex commented 4 years ago

Update function to include Write-Progress functionality.

bytesizedalex commented 4 years ago

Feedback is currently very limited during function run. Some cmdlets write to the console while external executables may trigger a popup window or text output.

Ideally an overall progress bar should be written to the console along with per-item progress bars that replace cmdlet/external executable output. It may not be possible to fully suppress all executable windows/output but wherever possible these should be suppressed.

The Write-Progress function should be improved to automatically determine the number of 'progress items' so as to accurately display a completed percentage without excessive manual coding.