Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Start-Sleep

Start-Sleep - Powershell 1.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.

Start-Sleep

Description
Suspend shell, script, or runspace activity

Usage


Options
-seconds int
       How long to sleep, can be abbreviated to -s
       {can be piped}

   -millisecondsint
       How long to sleep, in Milliseconds.

   CommonParameters:
       -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable.

Example(s)
Sleep for 60 seconds:

PS C:\>Start-Sleep -s 60