-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Start-Sleep cmdlet is misnamed; should be Invoke-Sleep #3990
Copy link
Copy link
Closed
Labels
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-AnsweredThe question is answered.The question is answered.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module
Metadata
Metadata
Assignees
Labels
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-AnsweredThe question is answered.The question is answered.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module
Type
Fields
Give feedbackNo fields configured for issues without a type.
https://technet.microsoft.com/en-us/library/ms714428(v=vs.85).aspx states (emphasis added):
Therefore,
Start-Sleep, which is synchronous, should be calledInvoke-Sleep.It's probably too late to change this, but:
perhaps an
Invoke-Sleepalias could be defined.either way, the inconsistency should be documented.