Start-Sleep cmdlet suspends the activity in a script or session for the particular period of time.
In these examples, we're see the Start-Sleep cmdlet in action.
In this example, we'll suspend the current process for 15 seconds.
Start-Sleep -s 15
You can see PowerShell console resumes after 15 seconds.
In this example, we'll suspend the current process for 500 milliseconds.
Start-Sleep -m 500