rubrikinc / rubrik-scripts-for-powershell

Collection of PowerShell Scripts created to interact to Rubrik CDM
MIT License
50 stars 58 forks source link

Refresh of SQL Host does not work for ORG Admins #132

Open marcus9467 opened 4 years ago

marcus9467 commented 4 years ago

Lines 209 - 211, and 237 - 240 don't currently work if being used by someone within an organization that doesn't have global permissions. $GetRubrikHost = @{ Name = $GetRubrikSQLInstance.HostName }

Would it make sense to replace it with something like this until the organization admins have the ability to refresh hosts:

New-RubrikHost -Name $GetRubrikSQLInstance.HostName