Open WalshMichaelJames opened 5 years ago
Testing this, it appears as though this works in Rubrik module v4.0.0.157, but not in v4.0.511.
In the "Get-RubrikFileset" function. If I change this:
[Parameter(ParameterSetName='ID')]
[Parameter(ValueFromPipelineByPropertyName = $true)]
[ValidateNotNullOrEmpty()]
To this:
#[Parameter(ParameterSetName='ID')]
[Parameter(ValueFromPipelineByPropertyName = $true)]
[ValidateNotNullOrEmpty()]
The get-archive-backlog.ps1 script completes without errors
What happened: "($fileset | get-rubrikfileset).snapshots" function fails to complete. What you expected to happen: The archive snapshots for the Filesets to be produced How to reproduce it (as minimally and precisely as possible): Connect to Rubrik cluster and run the below: $all_filesets = Get-RubrikFileset -PrimaryClusterId local $fileset = $all_filesets[1] ($fileset | get-rubrikfileset).snapshots #produces error $fileset | get-rubrikfileset #produces 0 results skewing fileset archive figures (saying there is no backlog when there is) Anything else we need to know?: It is used in line 194 of the powershell script. I am using Rubrik CDM 5.0.2 and Rubrik powershell module version 4.0.511