November 2018
Intermediate to advanced
566 pages
17h 15m
English
The modifications will be simple, but they will make a significant difference to how the script behaves:
function Start-Count { param ( # The current time, or the starting point [Parameter(Mandatory=$true, Position=0)] [int] $CurrentTime, # The total number of seconds to count [Parameter(Mandatory=$true, Position=1)] [int] $TotalTime ) while ($CurrentTime -le $TotalTime) { Write-Progress -Activity "Counting to $TotalTime" -Status "Counting: $CurrentTime ...Read now
Unlock full access