@@ -3,7 +3,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33keywords : powershell,cmdlet
44locale : en-us
55Module Name : Microsoft.PowerShell.Utility
6- md.date : 3/13 /2019
6+ md.date : 04/10 /2019
77online version : http://go.microsoft.com/fwlink/?LinkId=821864
88schema : 2.0.0
99title : Start-Sleep
@@ -18,7 +18,7 @@ Suspends the activity in a script or session for the specified period of time.
1818### Seconds (Default)
1919
2020```
21- Start-Sleep [-Seconds] <Int32 > [<CommonParameters>]
21+ Start-Sleep [-Seconds] <Double > [<CommonParameters>]
2222```
2323
2424### Milliseconds
@@ -30,8 +30,7 @@ Start-Sleep -Milliseconds <Int32> [<CommonParameters>]
3030## DESCRIPTION
3131
3232The ` Start-Sleep ` cmdlet suspends the activity in a script or session for the specified period of
33- time.
34- You can use it for many tasks, such as waiting for an operation to complete or pausing before
33+ time. You can use it for many tasks, such as waiting for an operation to complete or pausing before
3534repeating an operation.
3635
3736## EXAMPLES
@@ -42,23 +41,19 @@ repeating an operation.
4241Start-Sleep -s 15
4342```
4443
45- This command makes all commands in the session sleep for 15 seconds.
44+ ### Example 2: Sleep all commands for 1.5 seconds
4645
47- ### Example 2: Sleep all commands
46+ This example makes all the commands in the session sleep for one and one-half of a seconds.
4847
4948``` powershell
50- Start-Sleep -m 500
49+ Start-Sleep -Seconds 1.5
5150```
5251
53- This command makes all the commands in the session sleep for one-half of a second (500
54- milliseconds).
55-
5652## PARAMETERS
5753
5854### -Milliseconds
5955
60- Specifies how long the resource sleeps in milliseconds.
61- The parameter can be abbreviated as ** m** .
56+ Specifies how long the resource sleeps in milliseconds. The parameter can be abbreviated as ** m** .
6257
6358``` yaml
6459Type : Int32
@@ -74,11 +69,11 @@ Accept wildcard characters: False
7469
7570### -Seconds
7671
77- Specifies how long the resource sleeps in seconds.
78- You can omit the parameter name (**Seconds**), or you can abbreviate it as **s** .
72+ Specifies how long the resource sleeps in seconds. You can omit the parameter name or you can
73+ abbreviate it as **s**. Beginning in PowerShell 6.2.0, this parameter now accepts fractional values .
7974
8075` ` ` yaml
81- Type : Int32
76+ Type : Double
8277Parameter Sets : Seconds
8378Aliases :
8479
@@ -115,5 +110,4 @@ This cmdlet does not return any output.
115110 - ` Ctrl+C` does not break out of `[Threading.Thread]::Sleep`. For more information, see
116111 [Thread.Sleep Method](/dotnet/api/system.threading.thread.sleep).
117112
118-
119113# # RELATED LINKS
0 commit comments