On windows machine i have configured a GPO so that all startup scripts need to finish before login prompt appears.
During this time you can see "Applying computer settings" and a loading icon.
My question is: Can the text be modified during this script execution to inform the user ? Something like windows update updates the percentage progress.
Example:
Write-Host "Starting Application update"
Start-Sleep -Seconds 5
Write-Host "Configuring Application settings"
Start-Sleep -Seconds 5
Write-Host "Configuring Application settings 25 percent"
Start-Sleep -Seconds 5
Write-Host "Configuring Application settings 50 percent"
Start-Sleep -Seconds 5
Write-Host "Configuring Application settings 75 percent"
Start-Sleep -Seconds 5
Write-Host "Cleaning up"
Start-Sleep -Seconds 5
Thank you all