Prerequisites
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.
Prerequisites
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.