azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

The -OperationSearchString parameter on Get-AzureRmProviderOperation should be renamed

Open pcgeek86 opened this issue 11 years ago • 11 comments

The parameter name -OperationSearchString is not very familiar to your average PowerShell user. I would recommend renaming this parameter to something more memorable and PowerShell-friendly, such as -Name.

Cheers, Trevor Sullivan Microsoft MVP PowerShell http://trevorsullivan.net http://twitter.com/pcgeek86

pcgeek86 avatar Nov 28 '15 21:11 pcgeek86

Makes sense. Thanks for the feedback. It may have been named this way to convey that it will accept wildcards too. But we will rename it to something which is more PowerShell friendly.

ravbhatnagar avatar Dec 11 '15 01:12 ravbhatnagar

@ravbhatnagar Sounds good, thanks. I understand the thought process behind the more complicated name, but from a PowerShell perspective, it's not really appropriate. The built-in PowerShell help documentation for this command would be the appropriate place to instruct customers how to utilize the parameter. You could put the details in the lengthier Description field, as has been done for other commands, or you could put it in the help for the parameter itself.

This should be standard across the board, for all PowerShell commands.

Cheers, Trevor Sullivan

pcgeek86 avatar Dec 12 '15 22:12 pcgeek86

Lets add an alias for this.

ravbhatnagar avatar Feb 11 '16 19:02 ravbhatnagar

Change in ownership of this.

ravbhatnagar avatar Apr 22 '16 23:04 ravbhatnagar

@markcowl - This is now not owned by the ARM team. PAS team owns this - @rashidqureshi @shuagarw

ravbhatnagar avatar Apr 29 '16 00:04 ravbhatnagar

@ravbhatnagar What is "PAS?"

pcgeek86 avatar Apr 29 '16 13:04 pcgeek86

@shuagarw can you comment?

markcowl avatar May 06 '16 02:05 markcowl

@pcgeek86 - PAS is Policy Administration Service - this provides Role Based Access Control on Azure. @rashidqureshi to follow-up on this change.

shuagarw avatar May 06 '16 16:05 shuagarw

Thanks for the feedback Trevor. The ownership has recently transitioned over to my team. We'll look into it and make it more intuitive for PowerShell users.

rashidqureshi avatar May 09 '16 17:05 rashidqureshi

@rashidqureshi Thank you!!

pcgeek86 avatar May 09 '16 22:05 pcgeek86

Fixed

maddieclayton avatar Jan 20 '18 21:01 maddieclayton