There are
situations where the script execution needs to be suspended or paused for few milliseconds
or seconds.
PowerShell Syntax
Start-Sleep
[-Seconds]
Start-Sleep
-Milliseconds
If the
activity needs to be paused for 15 seconds
Start-Sleep 15
If the same
needs to be given in milliseconds, then we should use the Milliseconds
Start-sleep -milliseconds
15000
No comments:
Post a Comment