≡ Menu

How to use Sleep in Windows Powershell?

  •  
  •  
  •  

If you come from the unix world, there is a nifty command you can use to ‘sleep’ in shell scripts. What about windows powershell?

You can use the command start-sleep just like you use ‘sleep’ in unix.

You can use either seconds or milliseconds as shown below:

Enjoy


  •  
  •  
  •  

Comments on this entry are closed.