Skip to content

Wrong description on Start-Sleep (I hope) #8809

@MartinParis

Description

@MartinParis

Prerequisites

  • Write a descriptive title.
  • Search the existing issues.
  • I am reporting the documentation problem for version of PowerShell I am using.

Version

7.2

Link to affected document

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/start-sleep?view=powershell-7.2

Description of the documentation error

"This example makes all the commands in the session sleep for one and one-half of a seconds."

I would expect the Start-Sleep command executes for 5 seconds with -Seconds 5, and it will not make all the commands in the script from that moment on also Sleep for 5 seconds?
However, it also says this: Example 1: Sleep all commands for 15 seconds

Suggested fix

Describe what really happens.

Metadata

Metadata

Assignees

Labels

area-utilityArea - Microsoft.PowerShell.Utility moduleissue-doc-bugIssue - error in documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions