/New-Sleep

Suspends the activity in a script or session for the specified period of time.

Primary LanguagePowerShellMIT LicenseMIT

New-Sleep

Demo

SYNOPSIS

Suspends the activity in a script or session for the specified period of time.

DESCRIPTION

The New-Sleep cmdlet suspends the activity in a script or session for the specified period of time. You can use it for many tasks, such as waiting for an operation to complete or pausing before repeating an operation.

NOTES

  • File Name : New-Sleep.ps1
  • Author : Thomas ILLIET, contact@thomas-illiet.fr
  • Date : 2017-05-10
  • Last Update : 2018-01-08
  • Version : 1.0.2

INSTALL

PS> Install-Script -Name New-Sleep

EXAMPLE

New-Sleep -S 60 -Message "wait and see"
New-Sleep -S 60