You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create report using ObjectProtectionSummary template:
PS /mnt/c/WINDOWS/System32> $report = new-rubrikreport -Name $ReportName -ReportTemplate 'ObjectProtectionSummary' -Verbose
New-RubrikReport: Cannot validate argument on parameter 'ReportTemplate'. The argument "ObjectProtectionSummary" does not belong to the set "ProtectionTasksDetails,ProtectionTasksSummary,SystemCapacity,SlaComplianceSummary" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
Expected Behavior:
Can use any of the available templates. In 5.1 this is the list:
Steps to Reproduce:
See above.
Context:
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Rubrik PowerShell Module Version: 5.0.1
PowerShell Version: 7.0.0
Operating System: WSL 2 / Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
Thanks for fixing this chaps, the list of available templates is CDM
version dependent, not sure if you want to take that into account or just
let it throw in older CDM versions...
I would opt for just letting it throw, as the alternative is to create a dynamic parameter based on the API version and dynamic parameters are a bit of a pain in PowerShell. I think it should be clear enough when it fails because an unsupported report is requested on a older CDM version.
Current Behavior:
Create report using ObjectProtectionSummary template:
Expected Behavior:
Can use any of the available templates. In 5.1 this is the list:
Steps to Reproduce:
See above.
Context:
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
The text was updated successfully, but these errors were encountered: