8000 Suggestion: Alias Start-Sleep's -Milliseconds parameter to -ms · Issue #3991 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Suggestion: Alias Start-Sleep's -Milliseconds parameter to -ms #3991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mklement0 opened this issue Jun 12, 2017 · 1 comment
Closed

Suggestion: Alias Start-Sleep's -Milliseconds parameter to -ms #3991

mklement0 opened this issue Jun 12, 2017 · 1 comment
Labels
Issue-Enhancement the issue is more of a feature request than a bug Resolution-Fixed The issue is fixed. Up-for-Grabs Up-for-grabs issues are not high priorities, and may be opportunities for external contributors WG-Cmdlets-Utility cmdlets in the Microsoft.PowerShell.Utility module

Comments

@mklement0
Copy link
Contributor

"ms" is a standard abbreviation for "milliseconds", so it make sense to allow -ms as an alias for -MilliSeconds.

Start-Sleep -ms 100  # should be short for Start-Sleep -Milliseconds 100
PowerShell Core v6.0.0-beta.2
@SteveL-MSFT SteveL-MSFT added WG-Cmdlets-Utility cmdlets in the Microsoft.PowerShell.Utility module Issue-Enhancement the issue is more of a feature request than a bug Up-for-Grabs Up-for-grabs issues are not high priorities, and may be opportunities for external contributors labels Jun 12, 2017
@SteveL-MSFT
Copy link
Member

Just add a [Alias("ms")] here

[Parameter(Mandatory = true, ParameterSetName = "Milliseconds", ValueFromPipelineByPropertyName = true)]
as well as new test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement the issue is more of a feature request than a bug Resolution-Fixed The issue is fixed. Up-for-Grabs Up-for-grabs issues are not high priorities, and may be opportunities for external contributors WG-Cmdlets-Utility cmdlets in the Microsoft.PowerShell.Utility module
Projects
None yet
Development

No branches or pull requests

3 participants
0