PowerShell Pause Script Execution

Some Times we feel need to pause execution of a PowerShell Script, in that case we use:

Start-Sleep -s 30

above code pause script for 30 seconds

for milliseconds:
 
Start-Sleep -m 1000

Comments

Popular posts from this blog

C# Copy files from one server to another

Export SharePoint Online Group Users to Excel using Powershell