Contact Info

Crumbtrail

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

Start-Sleep - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Start-Sleep

Description
Suspend shell, script, or runspace activity

Usage
Start-Sleep [-seconds] int [CommonParameters]

      Start-Sleep -milliseconds int [CommonParameters]

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