Start-TaskList.ps1
19 Sep 2025Description
Start-TaskList
reads phrases from C:\GitRepos\TextFiles\prankphrases.txt
and displays them through Write-Progress
, advancing every five seconds. The function sets the default progress activity title to the current phrase to create a playful animated task list.
Usage examples
Start-TaskList
Ensure the text file exists at the specified path or modify the script to point at your own list of status updates.
Script
function Start-TaskList {
$PSDefaultParameterValues['Write-Progress:Activity'] = $phrase
$phrases = Get-Content -Path C:\GitRepos\TextFiles\prankphrases.txt
$i = 0
foreach ($phrase in $phrases) {
$i++
Write-Progress -activity “Listing Commands” -status $phrase -PercentComplete (($i / $phrases.count) * 100)
Start-Sleep -Seconds 5
}
}
Download
Please feel free to copy parts of the script or if you would like to download the entire script, simple click the download button. You can download the complete repository in a zip file by clicking the Download link in the menu bar on the left hand side of the page.
Report Issues
You can report an issue or contribute to this site on GitHub. Simply click the button below and add any relevant notes. I will attempt to respond to all issues as soon as possible.