###===========================

Pause Program for 15 min

- Matt Brown, 2008

###=========================== $x = 15*60 $length = $x / 100 while($x -gt 0) { $min = [int](([string]($x/60)).split(‘.’)[0]) $text = “ “ + $min + “ minutes “ + ($x % 60) + “ seconds left” Write-Progress “Pausing Script” -status $text -perc ($x/$length) start-sleep -s 1 $x– }