Skip to content

Opens a separate window which displays a (write-progress) status bar while a process is running

License

Notifications You must be signed in to change notification settings

ryan-leap/ProcessProgressIndicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Process Progress Indicator

Uses PowerShell Write-Progress cmdlet in a separate PowerShell Window as a progress indicator for a process. This can be used to offer a visual indicator of progress for a long running hidden process.

Installing

Download from GitHub repository

Usage

# Dot-source the file to bring the function in scope
. .\Start-ProcessProgressIndicator.ps1

# Get help
Get-Help Start-ProcessProgressIndicator

Examples

Opens a separate PowerShell window which will display a progress meter until the process (notepad in this case) is stopped

PS C:\> Start-ProcessProgressIndicator -Id (Start-Process notepad -PassThru).Id -CurrentOperation "Demo w/Notepad"

Image of Notepad Progress Indicator

Author(s)

  • Ryan Leap - Initial work

License

Licensed under the MIT License. See LICENSE file for details.

About

Opens a separate window which displays a (write-progress) status bar while a process is running

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published