We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f57bc commit aed299cCopy full SHA for aed299c
Rubrik/Private/Get-RubrikRSCHost.ps1
@@ -63,12 +63,12 @@ function Get-RubrikRSCHost
63
) | Out-Null
64
65
if ($Name) {
66
- filter.Add(
+ $filter.Add(
67
@{
68
field = "NAME_EXACT_MATCH"
69
texts = "$Name"
70
}
71
- )
+ ) | out-null
72
73
74
if ($Type) {
@@ -92,16 +92,6 @@ function Get-RubrikRSCHost
92
93
94
95
-
96
- <#
97
- # Rename properties to match old SDK
98
- # For Example
99
- $response = $response | Select-Object -Property *, @{
100
- Name="isRetentionLocked"; Expression={$_.isRetentionLockedSla}
101
- },@{
102
- Name="numProtectedObjects"; Expression={$_.ProtectedObjectCount}
103
- }
104
- #>
105
106
return $response
107
0 commit comments