Ironman Software Forums
Continue the conversion on the Ironman Software forums. Chat with over 1000 users about PowerShell, PowerShell Universal, and PowerShell Pro Tools.
The Start-Sleep
cmdlet can be used to pause scripts for a specified amount of time.
The default parameter set of Start-Sleep
will pause for the number of seconds specified.
Start-Sleep 5
Start-Sleep -Seconds 5
You can also specify partial seconds.
Start-Sleep 5.5
The -Milliseconds
parameter can be used to specify a number of milliseconds to pause a script.
Start-Sleep -Milliseconds 500
Find this useful? Please consider sharing this article. Have a question about PowerShell? Contact us and we'll write a post about it.
Continue the conversion on the Ironman Software forums. Chat with over 1000 users about PowerShell, PowerShell Universal, and PowerShell Pro Tools.
Receive once-a-month updates about Ironman Software. You'll learn about our product updates and blogs related to PowerShell.