All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added for new features.
- Changed for changes in existing functionality.
- Deprecated for soon-to-be removed features.
- Removed for now removed features.
- Fixed for any bug fixes.
- Security in case of vulnerabilities.
5.0.3 - 2020-08-12
- Changed default value of DefaultWebRequestTimeout module option to 100 seconds to match cmdlets timeout. Resolves Issue 667 Issue 663 and Issue 666
- Added check to
Invoke-RubrikWebRequestto check DefaultWebRequestTimeOut. If the value is not set, or set to something less than 100,Invoke-WebRequestwill default to 100 seconds, otherwise, if the value is greater than 100Invoke-WebRequestwill use the custom timeout - Added verbose messages around the timeout values
- Added
Update-RubrikNutanixClusteras requested by Teixeirapa, also updated documentation inInvoke-RubrikRestCallto provide an example to do an empty post request. Resolves Issue 669 - Added 5.2 API calls for
Get-RubrikClusterStorageas the endpoint to retrieve Average Daily Growth no longer exists in CDM 5.2. Resolves Issue 664 - Updated API stanza for 5.2 for the
Get-RubrikSyslogServercmdlet
- Fixed bugs in
New-RubrikLDAPand updated documentation and verbose logging Issue 648
5.0.2 - 2020-07-08
- Changed max length of ID allowed to resolve Issue 656
- Private function
Invoke-RubrikWebRequestnow correctly uses theDefaultWebRequestTimeOutdefault module option. Default is set to 15 seconds, but can be changed Issue 216 Update-RubrikModuleOptionnow also usesGet-HomePathprivate function, its unit tests have been updated as well- Added new property to
Get-RubrikReportData:DataGridObjectwhich returns the datagrid results as PowerShell custom objects Issue 549 New-URIStringprivate function now validates$idinput Issue 627- Changed how
Set-RubrikNASSharecreates the body object Issue 614 and added new unit tests for this function - Modified
Set-RubrikAvailabilityGroupand made-LogRetentionHoursparameters mandatory while removing default value of -1 - Modified private function
Set-ObjectTypeName.ps1to support the newApplyCustomViewDefinitions. - Modified module script file
rubrik.psm1to create options file if it doesn't exist, and update any current options file if it does exist. Also loads any default parameter options into $global:PSDefaultParameterValues - Modified
Get-RubrikVM,Get-RubrikDatabase,Get-RubrikFileset,Get-RubrikHost,Get-RubrikLogShipping,Get-RubrikNutanixCluster,Get-RubrikOracleDB,Get-RubrikReplicationSource,Get-RubrikReplicationTarget,Get-RubrikScvmm,Get-RubrikvApp,Get-RubrikVCD,Get-RubrikVMwareCluster, andGet-RubrikVMwareDatacenterto call the newGet-RubrikDetailedResultfunction when -DetailedObject is present.Get-RubrikArchivewas left alone as it uses -DetailedObject differently. - Modified various md documentation files to reflect work done since last documentation update as per Issue 616
New-RubrikFilesetTemplatenow has type data assigned Issue 611- Removed -Body $body from
Get-RubrikClusterInfowhen it passes variables to Submit-Request as per Issue 604 - Added default parametersets, positional attributes to name parameters, and removed pipeline support from name for the following cmdlets:
Get-RubrikSLA,Get-RubrikArchive,Get-RubrikClusterNetworkInterface,Get-RubrikDatabase,Get-RubrikDatabaseMount,Get-RubrikFileset,Get-RubrikFilesetTemplate,Get-RubrikGuestOSCredential,Get-RubrikHost,Get-RubrikHypervHost,Get-RubrikHyperVVM,Get-RubrikLogShipping,Get-RubrikManagedVolume,Get-RubrikNutanixCLuster,Get-RubrikNutanixVM,Get-RubrikObjectStoreArchive,Get-RubrikOracleDB,Get-RubrikOrganization,Get-RubrikQstarArchive,Get-RubrikReplicationSource,Get-RubrikReplicationTarget,Get-RubrikSQLInstance,Get-RubrikScvmm,Get-RubrikSmbDomain,Get-RubrikUnmanagedObject,Get-RubrikUser,Get-RubrikvApp,Get-RubrikVCD,Get-RubrikVMwareCluster,Get-RubrikVMwareHost,Get-RubrikVMwareDatastore, andGet-RubrikVMwareDatacenter. This provides a more user friendly experience by allowing users to simply enterGet-RubrikSLA MySLArather thanGet-RubrikSLA -Name MySQL. Removing pipeline support from name also ensures that when utilizing pipeline, ID queries are always performed. IEGet-RubrikSLA MySLA | Get-RubrikSLAwill first use the basic name filter for the left hand of the pipeline, however the second will pick up the id to perform an id based parameter. - Removed -Body $body from
Get-RubrikClusterStorageandGet-RubrikDNSSettingwhen it passes variables to Submit-Request as per Issue 604 - Removed -Body $body from
Get-RubrikClusterInfowhen it passes variables to Submit-Request as per Issue 604 - Added support to
Get-RubrikObjectfor ClusterNetworkInterfaces, Event Series, HyperV Hosts, Nodes, Notification Settings, NTP Servers, Nutanix Clusters and SMB Domains - Added support to
Get-RubrikObjectto support searching by id on an attribute which isn't namedid - Fixed how
Disconnect-Rubrikhandles cleaning up$RubrikConnection(s)variables - Modified
Get-RubrikSLA,Set-RubrikSLAandNew-RubrikSLAto call private function to add a human readable frequency summary field - Added $rubrikConnections = $null to
Connect-Rubrik.Tests.ps1in order to allow test to be ran within the same PS session of which it ran previously. - Added parameters to
New-RubrikvCenterandSet-RubrikvCenterallowing users to send username/password or credential objects to the cmdlets. This allows true scripting of these cmdlets rather than prompting for credentials by default. - Added -Force parameter and confirmation prompts to
Remove-RubrikUnmanagedObject. This allows for the deletion of snapshots protected by retention SLAs as per Issue 314 - Modified default behavior for
Export-RubrikVM, when -PowerOn is not specified it will send"powerOn": falseto the endpoint Issue 594 - Modified Link for
Protect-RubrikVolumeGroupto lowercase - Modified
Remove-RubrikVMSnapshotto support -Confirm before performing action - Updated help for all fileset and fileset template related cmdlets as per Issue 284
- Changed example documentation for
New-RubrikDatabaseMount - Added
-DetailedObjectparameter toGet-RubrikLogShipping - Updated unit tests for
Get-RubrikLogShippingto include test for-DetailedObjectparameter - Updated
Get-RubrikAPIDatawith formatted objecttypes forNew-RubrikSLAandSet-RubrikSLA - Updated
New-RubrikSLAandSet-RubrikSLAfunctions to add type names and decorate output similar toGet-RubrikSLA - Error handing in private function
Get-RubrikAPIData, now displays error when no matching endpoint is found. - Changed
Get-RubrikEvent, adding parametersets to isolate eventSeriesId. When cmdlet is called with eventSeriesId theGet-RubrikEventSeriescmdlet is now called rather than filtering through a giant, unindexed table. Details in Issue 580
- Added two new public cmdlets
Get-RubrikDownloadLinkandStart-RubrikDownloadto manage downloads of snapshots or partial snapshots from the Rubrik Cluster Issue 624 - Added new public cmdlet
Invoke-RubrikGraphQLCallto provide a way of interacting with the GraphQL endpoint using this module Issue 637 - Added new parameter to
Protect-RubrikVM-ExistingSnapshotRetentionas requested in Issue 298 - Added additional
ReportTemplatereports to the validation inNew-RubrikReportIssue 628 - Added public cmdlets
Get-RubrikModuleOption,Set-RubrikModuleOption,Get-RubrikModuleDefaultParameter,Set-RubrikModuleDefaultParameter, andRemove-RubrikModuleDefaultParameter. Added Private functionsSet-RubrikDefaultParameterValue.ps1,Update-RubrikModuleOption.ps1, andSync-RubrikOptionsFileto support the creation of customized module options and default parameters as per Issue 518 - Added public cmdlets
Get-RubrikModuleOption,Set-RubrikModuleOption,Get-RubrikModuleDefaultParameter,Set-RubrikModuleDefaultParameter, andRemove-RubrikModuleDefaultParameter. Added Private functionsSet-RubrikDefaultParameterValues.ps1,Update-RubrikModuleOption.ps1, andSync-RubrikOptionsFileto support the creation of customized module options and default parameters as per Issue 518 - Added new private function
Get-RubrikDetailedResultto replace duplicated -DetailedObject code. - Added new function
Remove-RubrikFilesetTemplateand added assosciated unit testRemove-RubrikFilesetTemplate.Tests - Added unit test for private function
Get-RubrikSLAFrequencySummary - Added additional unit tests for
Disconnect-Rubrikas per Issue 598 - Added private function
Get-RubrikSLAFrequencySummaryto create a human readable summary of an SLAs frequency settings - Added unit tests for
New-RubrikLDAP,Get-RubrikvCenter,New-RubrikvCenter,Remove-RubrikvCenter,Set-RubrikvCenter,Get-RubrikSetting,Set-RubrikSetting, andRemove-RubrikHostas per Issue 345 - Added new unit tests:
CommentBasedHelp,ObjectDefinitions,Connect-Rubrik,Disconnect-Rubrik - Added
Remove-RubrikFilesetSnapshot,RemoveRubrikDatabaseSnapshots,Remove-RubrikHyperVSnapshot,Remove-RubrikManagedVolumeSnapshot,Remove-RubrikNutanixVMSnapshot, andRemove-RubrikVolumeGroupSnapshotalong with associated unit tests as outlined in Issue 309 NOTE Remove-RubrikDatabaseSnapshots deletes ALL snapshots for a given database - there is currently no endpoint to support the deletion of a single snapshot - Added
Suspend-RubrikSLAandResume-RubrikSLA - Added
Get-RubrikEventSeriesto now parse the event_series API rather than events as per Issue 580 - Added unit tests to cover
Get-RubrikEventSeriesand changes toGet-RubrikEvent
- Fixed bug in New-RubrikLogShipping cmdlets and added additional unit tests Issue 644
- Fixed
Set-RubrikModuleOption, it could not set module defaults, now it can - Azure DevOps issues with Pester v5
- Added error handling for cases where Add-Type in
Unblock-SelfSignedCertfails.-Debugswitch can be used to determine root cause of failure. Issue 613 - Fixed incorrect array in body of
Restore-RubrikDatabaseand added tests to validate new behavior inRestore-RubrikDatabase.Tests - Fixed incorrect array in body of
Export-RubrikDatabaseand added tests to validate new behavior inExport-RubrikDatabase.Tests - Fixed incorrect array in body of
New-RubrikDatabaseMountand added tests to validate new behavior inNew-RubrikDatabaseMount.Tests
5.0.1 - 2020-03-05
- Added
Get-RubrikArchive,Get-RubrikBackupServiceDeployment,Get-RubrikGuestOsCredential,Get-RubrikIPMI,Get-RubrikNfsArchive,Get-RubrikNutanixCluster,Get-RubrikObjectStoreArchive,Get-RubrikQstarArchive,Get-RubrikReplicationSource,Get-RubrikReplicationTarget,Get-RubrikScvmm,Get-RubrikSecurityClassification,Get-RubrikSmbDomain,Get-RubrikSmbSecurity, andGet-RubrikSyslogServercmdlets to retrieve data from a Rubrik cluster for use in the As Built Report module. - Added QUEUED as a value in the status ValidateSet within Get-RubrikEvent and updated Unit Tests. Addresses Issue 539
- Added Get-RubrikVMwareDatacenter and Get-RubrikVMwareCluster along with associated Unit Tests. Addresses Issue 463
- Added Object TypeNames for VCD Servers and vCD vApps as specified in Issue 462
- Added DirectArchive switch parameter and associated code to New-RubrikFileSet allowing the isPassthrough attribute to be set to enable NAS Direct Archive. Addresses Issue 358 Updated Unit tests for cmdlets to reflect new parametersets.
- Added Get-RubrikHostVolume and Protect-RubrikHostVolumeGroup. This addresses cmdlets requested within Issue 512.
- Added New-RubrikHyperVVMMount, Get-RubrikHyperVMount and Remove-RubrikHyperVMount addressing Issue 450
- Added support to Get-RubrikRequest for VolumeGroup, Nutanix VMs, EC2 instances, Oracle Databases and VCD vApps as outlined in Issue 563
- ValidateSet on Set-RubrikNutanixVM was incorrect. Changed this to the desired values as outlined in Issue 533
- Added null check to results when passing -DetailedObject to Get-RubrikSCVMM. Addresses Issue 531
- Modified New-RubrikSLA in order to support creation of SLAs when used with the pipeline from Get-RubrikSLA as per Issue 484
- Modified ParameterSets on Set-RubrikDatabase to align with logic outlined in Issue 438
- Added more object support to
Get-RubrikObjectas per defined in Issue 545 and Issue 462 - Modified Invoke-RubrikRestCall to support the forcing of the body to be a single item array as per defined in Issue 554
- Get-RubrikSnapshot has been changed to convert the current date/time to UTC when using the -Latest parameter. This addresses Issue 535
- Restore-RubrikVApp and Export-RubrikVApp has been updated to properly deal with -PowerOn being changed to a switch-type parameter. This addresses issue 536
- Export-RubrikVApp has been changed so that it does not request vCD to restore vApp networks if the NICs are removed or unmapped. This addresses issue 537
- Documentation links in comment-based help updated to lower case
- Null filter on Get-RubrikSCVMM when using -DetailedObject as per Issue 556
- Fix for RubrikOrgAuthorization API endpoint changed in 5.1 570
- Fixed documentation on Get-RubrikLogshipping 572
- Updated New-RubrikBootstrap to address malformed request body and URI. This addresses issue 568
5.0.0 - 2019-11-24
- Added
UserAgentparameter toConnect-Rubrikthat allows specifying additional user-agent information. - Added
UserAgentHashparameter to private functionNew-UserAgentStringthat allows specifying additional user-agent information. - Added Get-RubrikOrgAuthorization, Set-RubrikOrgAuthorization, Remove-RubrikOrgAuthorization and related tests.
- Added new private function,
New-UserAgentStringand associated unit tests - Added
Set-RubrikProxySettingandRemove-RubrikProxySettingfunctions - Added
Rubrik.ProxySetting.ps1xmlto provide formatting for Get- &Set-RubrikProxySetting - Added unit tests for new functions and additional tests for
Get-RubrikProxySetting - Added
-DetailedObjectparameter toGet-RubrikVolumeGroup - Added checks within Get-RubrikReportData to detect a limit value of -1. If detected, the cmdlet will perform recursion until all paginations has occurred.
- Added
-AvailabilityGroupIDandAvailabilityGroupNameparameters toGet-RubrikDatabase - Added unit tests to validate the new functionality
- Added various cmdlets and respective unit tests to support retrieving information from the Rubrik cluster. Development mainly driven from the As Built Report module.
- New cmdlets are
Get-RubrikClusterInfo,Get-RubrikClusterNetworkInterface,Get-RubrikClusterStorage,Get-RubrikDNSSetting,Get-RubrikEmailSetting,Get-RubrikLoginBanner,Get-RubrikNTPServer,Get-RubrikNetworkThrottle,Get-RubrikNode,Get-RubrikNotificationSetting,Get-RubrikProxySetting, andGetRubrikSnmpSetting - Added documentation in all private functions including synopsis, description, parameter help and examples where appropriate
- Added Add-RubrikOrganization and Remove-RubrikOrganization to add and remove organizations, and associated unit tests
- Added Get-RubrikUserRole and Set-RubrikUserRole in order to get and configure user roles and permissions.
- Added private function Update-RubrikuserRole to handle the addition and removal of permissions for the various roles.
- Functionality created in order to make display of return results for certain objects more user friendly.
- Added private function Set-ObjectTypeName which applies a given TypeName definition to cmdlet results.
- Added ObjectTName parameter within Get-RubrikAPIData to the listed objects below
- Added ps1xml files to a newly created ObjectDefinitions folder definining the listed objects below
- Imported all ps1xml files from within the psd1 manifest for the listed objects below
- TypeName format files created for Rubrik.APIToken, Rubrik.AvailabilityGroup, Rubrik.Event, Rubrik.Fileset, Rubrik.FilesetTemplate, Rubrik.Host, Rubrik.HyperVVM, Rubrik.LDAP, Rubrik.LogShipping, Rubrik.ManagedVolume, Rubrik.MSSQLDatabase, Rubrik.MSSQLDatabaseFiles, Rubrik.MSSQLDatabaseMount, Rubrik.NASShare, Rubrik.NutanixVM, Rubrik.OracleDatabase, Rubrik.Report, RubrikSLADomain, Rubrik.SLADomainv1, Rubrik.UnmanagedObject, Rubrik.User, Rubrik.vCenter, Rubrik.VMwareDatastore, Rubrik.VMwareHost, Rubrik.VMwareVM, and Rubrik.VolumeGroup
- Added cmdlets
Update-RubrikVCD,Set-RubrikVCD,Restore-RubrikVApp,Protect-RubrikVApp,Get-RubrikVcdTemplateExportOptions,Get-RubrikVCD,Get-RubrikVappSnapshot,RubrikVAppRecoverOptions,Get-RubrikVAppExportOptions,Get-RubrikVApp,Export-RubrikVCDTemplate,Export-RubrikVAppand related tests - Added
Get-RubrikUser,New-RubrikUser,Remove-RubrikUserandSet-RubrikUserand respective unit tests to manage user accounts. - Created unit test for
Invoke-RubrikRestCall - Added -Name parameter to
Set-RubrikManagedVolume. Name already existed within the body definition inGet-RubrikAPIData - Created
Get-RubrikObjectcmdlet and respective Unit test. - Created unit tests for
Get-RubrikAvailabilityGroup,Get-RubrikOrganization,Get-RubrikRequest,Get-RubrikUnmanagedObject,Remove-RubrikUnmanagedObject,Set-RubrikAvailabilityGroup, andSync-RubrikTag.Get-RubrikSnapshotwas already present. - Created unit tests for both
Get-RubrikBootStrapandNew-RubrikBootStrap - Added unit tests for
New-RubrikLogShipping,New-RubrikLogBackup,Get-RubrikLogShipping,Set-RubrikLogShipping,Reset-RubrikLogShipping, andRemove-RubrikLogShipping - Added
Convert-ApiDateTimefunction is used to convert API time strings to date time objects and created associated unit tests to validate behavior of function - Added new
dateproperty toGet-RubrikEventoutput, uses new Convert-APIDateTime function for conversion and added additional unit tests to validate proper date time conversion - Added `Select-ExactMatch private function
- Added
Get-RubrikFilesetnow uses new private function instead of the custom code in the function - Added parameter sets and improved parameter validation for
Get-RubrikManagedVolume - Added parameter to
Get-RubrikSnapshot-Latestparameter to return latest snapshot data - Added parameter to
Get-RubrikSnapshot-Rangeto use with-Date. This specifies how many days away from the given date to search for the closest matching snapshot. Defaults to one day. - Added parameter to
Get-RubrikSnapshot-ExactMatchto use with-Date. This causes no results to be returned if a matching date isn't found. Otherwise, all snapshots are returned if no match is made. - Added new
Get-RubrikFilesetparameters-NameFilterand-HostNameFilterparameters to allow for in-fix matching - Added new tests for
Get-RubrikFileSet - Added ability to
Set-RubrikSLAconfigure archival and replication settings - Added Unit Tests for
Get-RubrikFileset,Get-RubrikFilesetTemplate,New-RubrikFileset,New-RubrikFilesetTemplate,Protect-RubrikFileset, andRemove-RubrikFileset - Added unit tests for
Get-RubrikReport,Get-RubrikReportData,New-RubrikReport, andRemove-RubrikReport.Export-RubrikReportunit test already existed. - Added
Get-RubrikFileSetDetailedObject parameter has been added toGet-RubrikFileSetfunction to retrieve all object properties - Added
New-RubrikSLAability to specify allowed backup window settings, both for the first full backup and subsequent incremental backups inNew-RubrikSLA - Added ability to
Set-RubrikSLAspecify allowed backup window settings, both for the first full backup and subsequent incremental backups inSet-RubrikSLA - Added Unit Tests for
Get-RubrikMount,Set-RubrikMount,New-RubrikMount,Remove-RubrikMount,Set-RubrikBlackout,Get-RubrikSupportTunnel,Set-RubrikSupportTunnel,Get-RubrikVersion,Get-RubrikAPIVersionandGet-RubrikSoftwareVersion - Added filtering abilities in
Get-RubrikAPIDatato support id and vmid filtering in theGet-RubrikMountcmdlet - Added unit tests for
Get-RubrikDatabase,Get-RubrikDatabaseFiles,Get-RubrikDatabaseMount,Get-RubrikDatabaseRecoverableRange,New-RubrikDatabaseMount,Protect-RubrikDatabase,Remove-RubrikDatabaseMount,Restore-RubrikDatabase,Set-RubrikDatabase,Get-RubrikSQLInstance,Set-RubrikSQLInstace - Added unit tests for
Get-RubrikSLA,New-RubrikSLA,Remove-RubrikSLA - Added new
Register-RubrikBackupServicecmdlet to register the Rubrik Backup Service installed on the specified VM with the Rubrik cluster - Added new
New-RubrikBootstrapfunction to send a Rubrik Bootstrap Request - Added new
Get-RubrikBootstrapfunction that Connects to the Rubrik cluster and retrieves the bootstrap process progress - Created a templates folder with examples of Rubrik bootstrap
- Added new
Set-RubrikSLAcmdlet to update an existing SLA Domain. - Added unit tests for
Get-RubrikManagedVolume,Get-RubrikManagedVolumeExport,Get-RubrikVolumeGroup,Get-RubrikVolumeGroupMount,New-RubrikManagedVolume,New-RubrikManagedVolumeExport,New-RubrikVolumeGroupMount,Remove-RubrikManagedVolume,Remove-RubrikManagedVolumeExport,Remove-RubrikVolumeGroupMount,Set-RubrikManagedVolume,Start-RubrikManagedVolumeSnapshot,Start-RubrikManagedVolumeSnapshot - Added global attribute 'authType' to $rubrikconnection to remove reliance on userId.
- Added logic to disconnect to address the deletion of tokens when using token based authentication
- Added unit tests for
Update-RubrikHostandUpdate-RubrikvCenter - Added unit tests for
Get-RubrikHyperVVM,Get-RubrikNutanixVM,Move-RubrikMountVMDK,New-RubrikVMDKMount,Protect-RubrikHyperVVM,Protect-RubrikNutanixVM,Protect-RubrikVM,Set-RubrikHyperVVM,Set-RubrikNutanixVM,Set-RubrikVM - Added Unit Tests for
Export-RubrikReport&Export-RubrikDatabase - Added associated unit tests for Sync-
RubrikAnnotation - Added unit test for
Get-RubrikHostcmdlet - Added
Get-RubrikAPITokencmdlet - Added
New-RubrikAPITokencmdlet - Added
Remove-RubrikAPITokencmdlet - Added
Get-RubrikOracleDBcmdlet - Added
Remove-RubrikVMSnapshotcmdlet - Added new
Update-RubrikVMwareVMcmdlet to refresh a single VMware VM's metadata - Added
Export-RubrikVMcmdlet. Since the cmdlet requires IDs for both a VMware datastore and a VMware host, 2 other cmdlets were developed,Get-RubrikVMwareDatastoreandGet-RubrikVMwareHostto make the whole process easier. - Added
Set-RubrikVolumeFilterDrivercmdlet to support the installation/uninstallation of the Rubrik VFD on registered Windows hosts.Set-RubrikVolumeFilterDrivertakes an array of string (hostIds) and an installed (true/false) parameter to determine whether to install or uninstall the VFD on the given hosts. - Added a
DetailedObjectswitch (similar to that onGet-RubrikVM) to theGet-RubrikHostcmdlet in order to grab more information when not querying by hostID. This allows for more information to be returned by the API (IE hostVfdDriverState, hostVfdEnabled). This way users could query Rubrik hosts by name, check installation status, and pipe id's to the newSet-RubrikVolumeFilterDrivercmdlet for VFD installation. - Added
-ApplicationTagparameter support toNew-RubrikManagedVolumeso users can specify which application the managed volume will be used for - Added
-nameparameter toGet-RubrikOrganization - Added Custom User Agent value to HTTP headers in
Connect-Rubrikfunction - Added additional 5 tests to
Get-RubrikVMto validate parameters sets and validation work as intended - Added parameter sets and parameter validation to
Get-RubrikVM - Added ValidateNullNotEmpty to selected parameters in
Get-RubrikVM - Added
-DetailedObjectparameter forGet-RubrikVM
- Changed the output of the user agent string to display platform information with double-dashed separated key-value pairs.
- The link to
quick-start.mdin thereadme.mdhas been updated to a relative link - The private function
Test-RubrikSLAhad a hard coded local variable - Renamed Get-RubrikVAppExportOptions to
Get-RubrikVAppExportOptionto use singular nouns - Renamed Get-RubrikVAppRecoverOptions to
Get-RubrikVAppRecoverOptionto use singular nouns - Renamed Get-RubrikVcdTemplateExportOptions to
Get-RubrikVcdTemplateExportOptionto use singular nouns - Changed [parameter type from boolean to switch] for all functions
- Modified private function Submit-Request.ps1 to support adding in success/error information for empty POST, PUT and PATCH responses
- Modified status return code for Remove-RubrikManagedObject
- Changed the output of
$UserAgentstring to provide more detailed information about PowerShell version and platform - Updated
Get-RubrikProxySettingto support pipelining and formatted output - Updated private function
New-BodyStringto support forced upper and lowercase for selected properties - Changed default display of
Get-RubrikVolumeGroup - Changed -Limit parameter in
Get-RubrikReportData - Added a new property
Functionto the output ofGet-RubrikAPIData, this fixes an issue with verbose output - Migrated boolean parameters to switch parameters in order to provide a more consistent approach across all cmdlets. Cmdlets affected are
Export-RubrikVM,Get-RubrikEvent,Get-RubrikOrganization,New-RubrikHost,New-RubrikMount,Set-RubrikMount,Set-RubrikNutanixVM,Set-RubrikSupportTunnelandSet-RubrikVM - Modified URI list in Get-RubrikAPIData for New-RubrikSnapshot to include support for Nutanix and Hyper-V
- Updated
Get-RubrikSnapshotto support vCD vApps - Changed
New-RubrikBootstrap, enhanced validation of strings and validatescript block - Changed functionality of
New-RubrikLogShipping.Teststo use inModuleScope - Changed
New-RubrikLogShippingIf-statement validation to check based on object instead of string - Set
IgnoreCaseon state parameter forSet-RubrikLogShippingas parameters must be uppercase to process in API call. - Changed
Test-ReturnFormatprivate function Improved detection of empty strings - Changed
Get-RubrikEvent, added validation fortimefield, iftimefield does not exist it will not adddateproperty - Changed behavior of
-Relicswitch, by default now retrieves both relic and non-relics.-Relicor-Relic:$falsein addition to that and added additional unit test - Changed
Test-DateDifference, a private function used byGet-RubrikSnapshot, to support the-Rangeparameter - Changed behavior of
Get-RubrikFileSetparameter-Nameand-Hostnamechanged to only do an exact match - Updated
Get-RubrikSQLInstanceparameter help to correctly suggestlocalto be used - Changed default behavior of
Get-RubrikReportDataupdated to reflect default behavior of other parameters, setting limit to maximum amount unless specified - Changed
readme.mdRemoved references to the completed refactor branch - Changed logic for
Set-RubrikSLA$AdvancedConfig. It's not required anymore to set this parameter directly when piping from Get-RubrikSLA and advanced configuration was already enabled - Changed
New-RubrikSLAsupport for archival and replication settings to New-RubrikSLA - Changed
Set-RubrikSLARemoved unnecessary braces for the frequencies array in the request body when using API v2 - Changed
Connect-RubrikAddedUseridtoRubrikConnectionvariable when connecting using an API-token - Changed Added ability to specify advanced SLA configuration settings introduced in 5.0 on New-RubrikSLA
- Changed
New-RubrikSLA-HourlyFrequencyto take input in days or weeks instead of hours - Changed
Connect-Rubrik, added validation step for token, a query is executed against the cluster endpoint to validate the token - Changed
Submit-Requestoutput type for http status codes and errors to PSCustomObject - Changed
Get-RubrikDatabaseadded ability to specify -DetailedObject on Get-RubrikDatabase - Changed Minor updates to parameter configurations of
Get-RubrikHyperVVM,Get-RubrikNutanixVM,Move-RubrikMountVMDK,New-RubrikVMDKMount,Protect-RubrikHyperVVM,Protect-RubrikNutanixVM,Protect-RubrikVM,Set-RubrikHyperVVM,Set-RubrikNutanixVM,Set-RubrikVMso they pass associated unit tests - Changed
Get-RubrikDatabase, parameter now has 3 states -Relic -Relic:$false or not specified - Changed null output to Out-Null To improve PowerShell 6, and onwards compatibility we have standardized on using | Out-Null
- Changed
New-RubrikSnapshotdocumentation, added examples of how to do Full backups of Oracle and MSSQL databases - Changed
quick-start.md, added a 4th option for downloading and distributing the Rubrik SDK for PowerShell - Changed
Sync-RubrikAnnotation, added -DetailedObject to Get-RubrikVM in order to return the snapshots - Changed
Sync-RubrikAnnotation, added a third annotation to store the date of the latest Rubrik snapshot. - Changed
New-RubrikSnapshotwill now display a warning if -ForceFull is set on any other protected object other than Oracle or SQL databases, this is just a warning and the cmdlet will continue to run, performing an incremental backup. - Changed
New-RubrikSnapshot cmdlet, added support for Oracle toNew-RubrikSnapshot - Changed
New-RubrikSnapshot cmdlet, added tests forNew-RubrikSnapshot - Updated Invoke-RubrikWebRequest so the HTTP status code returned from the API call is displayed when verbose logging is enabled
- Updated Submit-Request to handle
DeleteAPI calls differently than other calls. PreviouslyDeleteoperations did not surface any status to the user. With this change, the HTTP response code is checked to verify it matches the expected response. If so, it returns a PSObject with the HTTP code and Status = 'Success'. - Updated
Move-RubrikMountVMDKand Test-DateDifference to resolve bugs reported.Move-RubrikMountVMDKwill try to find the snapshot closest to the date specified, within one day. Any valid PowerShelldatetimeformatted string will be accepted as an input, but greater specificity will lead to a much better chance of matching the intended snapshot. - Updated
Get-RubrikDatabase,Get-RubrikFileset,Get-RubrikHyperVVM,GetRubrikNutanixVMandGet-RubrikVolumeGroup. Calls toTest-RubrikSLAwere inadvertently overwriting the$SLAIDvariable, causing the paramater to be ignored. - Updated Typo in Quickstart Documentation
- Updated example 2 in comment-based help of
Invoke-RubrikRESTCall
- Resolved bug in
Get-RubrikSnapshotthat caused no snapshots to be returned if the amount of snapshots was larger than one - Replaced occurrences of _local or
**local**with local within documentation around the primary_cluster_id. - Updated the links to point to rubrik.gitbook.io from rubrikinc.gitbook.io
- Replaced occurrences of _local with local within documentation around the primary_cluster_id.
- Fixed the -primary_cluster_id case-sensitivity issues
- Updated behavior of New-QueryString, stop adding ?limit to non-Get calls
- Scoped the ID variable to local within the URI construction of
New-RubrikHostas it was pulling ID variables set within the global scope and causing errors - Prevent
Get-RubrikVM$SLAID parameter value overwrite when it has a value - Fixed
Get-RubrikSQLInstancePrimaryClusterIDhad a bug - Fixed bug
Restore-RubrikDatabasein example, added additional example - Fixed
Submit-Requestnow populating the $WebResult variable in order to show HTTP Status Codes/Descriptions as well as proper status messages for PowerShell versions prior to 6. - Fixed
Set-RubrikSLAthe $FirstFullBackupDay variable to be an integer when the value is retrieved from the pipeline withGet-RubrikSLA - Fixed
Get-RubrikEvent, multiple limit flags were added to the GET query - Fixed
Get-RubrikSnapshotno endpoint is available for FileSet snapshots, working has been created - Fixed
Get-RubrikSnapshotincorrect endpoint was used for Oracle database in combination Get-RubrikSnapshot - Fixed
Get-RubrikAPITokenpwsh 5 bug fixed - Fixed
Get-RubrikReportDatanow correctly returns all data - Fixed Performance of JSON parsing improved for PowerShell 6 and later
- Fixed
Protect-RubrikTagmodified Protect-RubrikTag in order to ignore relic's when retrieving the vCenter UUID. - Fixed
Get-RubrikHost,Get-RubrikVM,Get-RubrikOracleDB, added formating around $result to convert to an array in order to support-DetailedObjectwith older versions of Powershell - Resolved bug in
New-RubrikVMDKMount, thanks @Pierre-PvF - Fixed
Get-RubrikOrganizationwill only return an exact match - Fixed documentation to fix errors on
Protect-RubrikVM
Set-RubrikSupportTunnel- Modifies the configuration of the Support Tunnel.Get-RubrikSupportTunnel- Checks the status of the Support Tunnel.- This Changelog - moving forward, related changes will be documented here in an easy to read format for human eyeballs.
- Dynamic documentation creation via GitBook.
- GitHub Pull Request Template.
- GitHub Issue Template.
- Invoke-RubrikRESTCall.
- TLS v1.2 support triggered during the usage of
Connect-Rubrik. Get-RubrikLDAPSettings- Checks all LDAP server settingsGet-RubrikSettings- Checks cluster settingsGet-RubrikVCenter- Checks all vCenter server settingsNew-RubrikLDAPSettings- Creates new LDAP server connectionNew-RubrikVCenter- Creates new vCenter server connectionRemove-RubrikVCenter- Removes vCenter server connectionSet-RubrikSettings- Modifes cluster settingsSet-RubrikVCenter- Modifies vCenter server connection settings
- Track
user_errorresponses in theSubmit-Requestprivate function - The
Get-RubrikSnapshotfunction supports HyperV VMs. - Updated API Data for 4.1 against
Get-RubrikReportandGet-RubrikReportData. - Modified
Get-RubrikAPIDatato use RCDM versions instead of API versions.
- Dynamic documentation using ReadTheDocs and reStructuredText.
- Removed old session endpoint data from
Connect-Rubrikused by RCDM versions 1.x and 2.x.