Skip to content
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

Parameter -DetailedObject is not available on all Get-* cmdlets #651

Closed
jaapbrasser opened this issue Jun 30, 2020 · 1 comment · Fixed by #687
Closed

Parameter -DetailedObject is not available on all Get-* cmdlets #651

jaapbrasser opened this issue Jun 30, 2020 · 1 comment · Fixed by #687

Comments

@jaapbrasser
Copy link
Contributor

jaapbrasser commented Jun 30, 2020

Is your feature request related to a problem? Please describe.

I noticed that Get-RubrikReport did not have a -DetailedObject switch

Describe the solution you'd like

I would like the -DetailedObject parameter to be added to Get-RubrikReport and all other cmdlets that currently do not support -DetailedObject

To generate a list with all cmdlets that do not support this use the following command, investigate which of these cmdlets have an {id} endpoint that could specify additional information and implement the -DetailedObject switch parameter for those cmdlets.

gcm -module rubrik -name get* | ? {$_.parameters.keys -notcontains 'DetailedObject'}

Describe alternatives you've considered

Updating documentation for these cmdlets

Additional context

image

@jaapbrasser
Copy link
Contributor Author

Iterated over all Get- cmdlets and compared output from different endpoints to validate which cmdlets should get -DetailedObject

Green = Already had -DetailedObject
Blue = No difference between id and regular query, or no -id query possible
Orange = Added -DetailedObject
image

@jaapbrasser jaapbrasser self-assigned this Sep 7, 2020
jaapbrasser added a commit that referenced this issue Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant