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
The null check implemented in Issue 531 is still causing 0 results to throw an error when running Get-RubrikSCVMM with the -DetailedObject flag.G
Get-RubrikSCVMM -DetailedObject -PrimaryClusterID local -Verbose VERBOSE: Validate the Rubrik token exists VERBOSE: Found a Rubrik token for authentication VERBOSE: Gather API Data for Get-RubrikScvmm VERBOSE: Selected 1.0 API Data for Get-RubrikScvmm VERBOSE: Load API data for Get-RubrikScvmm VERBOSE: Description: Returns the known SCVMM servers from Rubrik VERBOSE: Build the URI VERBOSE: URI = https://192.168.150.121/api/internal/hyperv/scvmm
VERBOSE: Build the query parameters for effective_sla_domain_id,primary_cluster_id,sla_assignment
VERBOSE: URI = https://192.168.150.121/api/internal/hyperv/scvmm?primary_cluster_id=local
VERBOSE: Submitting the request
VERBOSE: GET https://192.168.150.121/api/internal/hyperv/scvmm?primary_cluster_id=local with 0-byte payload
VERBOSE: received 37-byte response of content type application/json; charset=UTF-8
VERBOSE: Received HTTP Status 200
VERBOSE: Formatting return value
VERBOSE: Filter the results
VERBOSE: Filter match = Name
VERBOSE: Applying Rubrik.Scvmm TypeName to results
Get-RubrikScvmm : Cannot validate argument on parameter 'Id'. The argument is null or empty. Provide an argument that is not null or
empty, and then try the command again.
At C:\gitrepo\rubrik-sdk-for-powershell\Rubrik\Public\Get-RubrikScvmm.ps1:129 char:31
+ Get-RubrikScvmm -id $result[$i].id
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-RubrikScvmm], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Get-RubrikScvmm
Expected Behavior:
Expect the cmdlet to simply return nothing Steps to Reproduce:
Run Get-RubrikSCVMM -detailedobject against a cluster with no SCVMM servers
The text was updated successfully, but these errors were encountered:
Current Behavior:
The null check implemented in Issue 531 is still causing 0 results to throw an error when running Get-RubrikSCVMM with the -DetailedObject flag.G
Expected Behavior:
Expect the cmdlet to simply return nothing
Steps to Reproduce:
Run Get-RubrikSCVMM -detailedobject against a cluster with no SCVMM servers
The text was updated successfully, but these errors were encountered: