Releases: ZertoPublic/ZertoApiWrapper
Releases · ZertoPublic/ZertoApiWrapper
February 2022 Update
[1.5.4]
Zerto Virtual Manager
Updated
- Updated
Install-ZertoVra
function and help documentation to allow for configuring the number of vCPUs during deployment. Special thanks to @mitchellen for the fix.
December 2020 Update
[1.5.3]
Zerto Virtual Manager
Fixed
- Fixed an issue where
New-ZertoVpg
would fail when specifying the local site as the target site. - Updated the method where a Site Identifer is obtained during the
New-ZertoVpg
execution that would occasionally fail on some versions of PowerShell.
Updated
- Updated
New-ZertoVpg
function help documentation to more clearly specify the return value and the requirement to pass it into theSave-ZertoVpgSetting
function to commit the VPG.
October 2020 Update
[1.5.2]
Zerto Virtual Manager
Fixed
- Fixed an issue when attempting to export more than 100 VPGs with the
Export-ZertoVpg
function that would cause an error.
1.5.1 Release
[1.5.1]
Zerto Virtual Manager
Fixed
- Fixed an issue with
New-ZertoVpg
where when specifying a single host as a recovery target, the host identifier was not properly assigned. - Thanks @jonsouzerto! - Fixed an issue with
Invoke-ZertoMoveVpg
where parameters should have been mandatory in certain workflows. - Thanks @gdbarron!
1.5.0 Release
[1.5.0]
Zerto Virtual Manager
New
- Added
Add-ZertoVpgVm
function to the module. Read the help file for more information. - Added
Remove-ZertoVpgVm
function to the module. Read the help file for more information.
Fixed
- Fixed an issue with
Add-ZertoPeerSite
where there was an incorrect settings validator on the-targetHost
parameter where it would not accept a hostname.
July 2020 Update
[1.4.3]
Zerto Virtual Manager
Updated
- Updated
Connect-ZertoServer
with a-AutoReconnect
switch to allow the auto reconnection of a session that has timed-out. - Updated
New-ZertoVpg
to have a Default Parameter Set ofrecoveryHostDatastore
should no parameters be passed when calling the function. - Updated
New-ZertoVpg -recoverySite
parameter to be case-insensitive
Fixed
May 2020 Update #2
[1.4.2]
Zerto Virtual Manager
Fixed
- Updated
Get-ZertoEvent
to translate a vpg name parameter to a vpgIdentifier per the API documentation - Updated
Invoke-ZertoMoveCommit
to ensure that when one of the parameter switches is defined, all required parameters are sent to avoid conflicts with parameters passed with theInvoke-ZertoMove
command. - Updated
Start-ZertoCloneVpg
to fix an issue where an error would be thrown if an operation specified a subset of VMs to be cloned.
May 2020 Update
1.4.1
General
- Removed RELEASENOTES and converted to a CHANGELOG format.
- Updated the build process to follow Semantic Versioning.
- Updated the build process to use the latest Pester Version (4.10.1)
- Updated the build process to use the latest PS Script Analyzer Version (1.19.0)
- Updated the Tests Files to use a more modern method of grabbing the PSScriptPath
Zerto Virtual Manager
- Refactored
Copy-ZertoVpg
functionality to leverage identifier and name maps and eliminatewhere-object
searches. - Updated
Get-ZertoEvent
parameter to fall in line with the filter parameter name in the API documentation. Moved the old parameter name to an alias to ensure that existing functionality continues to work.
April 2020 Release
1.4.0.20200410
Zerto Virtual Manager
- Addressed a reported issue in the
Get-ZertoRecoveryReport
function where the-VpgIdentifier
parameter was not working. This parameter is not accepted by the API as a valid filter and is ignored. This parameter has been removed from the function. - Addressed a reported issue where the
Export-ZertoVpgNicSetting
function would not properly execute when run against a VM with no NICs attached. - In reviewing the
Export-ZertoVpgNicSetting
, a review of theImport-ZertoVpgNicSetting
was completed and it was determined to update the import logic based on various test cases. Along with this, it is now possible to reset the NIC settings to the default state with theImport-ZertoVpgNicSetting
command. Please review the Import-ZertoVpgNicSetting help to review the updated options and import logic. - Refactored the
Checkpoint-ZertoVpg
command to allow pipeline input (ByValue and ByProperty) for the VpgName parameter. - Corrected a parameter typo in the
Get-ZertoVpgSetting
function. The misspelt parameter was added as an alias to ensure any existing scripts using the parameter continue to function. - Refactored the
Get-ZertoVpg
command to remove repetitive commands and variables that are no longer required. - Moved
Invoke-ZertoRestRequest
andInvoke-ZARestRequest
to be public functions. As there become more and more scenarios where there are not prebuilt functions to accomplish complex specialized tasks, it became apparent that these functions could be leveraged to make the experience and workflow easier. - Updated the
Install-ZertoVra
logic to ensure that the target datastore is available on the target host. There isn't currently any method to validate the target network, but if that becomes available in a later version of the API, the function will be updated. - Updated the
Install-ZertoVra
function to allow for installation of the VRA using the host password method. Please review the Install-ZertoVra documentation for syntax and examples. - Updated the
Edit-ZertoVra
function to allow for modification of the associated ESX host password if the need arises. Please review the Edit-ZertoVra documentation for syntax and examples. - Added a new function,
Set-ZertoUserCredential
, to allow the updating of the username and password used to connect the Zerto Virtual Manager to the paired hypervisor. Please see the Set-ZertoUserCredential help for additional information. - With the release of Zerto 8.0 some additional API endpoints have become available.
- Updated
Get-ZertoVirtualizationSite
to add the-repository
parameter to enable returning information for LTR repositories. - Updated
Get-ZertoVpgSetting
to add the-ltr
parameter to enable returning information for current LTR settings for the selected VPG.
- Updated
Zerto Analytics
- Added several functions for the newly added Zerto Analytics Planner.
Get-ZAPlannerSite
Help can be found here: Get-ZAPlannerSiteGet-ZAPlannerStatsReport
Help can be found here: Get-ZAPlannerStatsReportGet-ZAPlannerJournalSizeReport
Help can be found here: Get-ZAPlannerJournalSizeReportGet-ZAPlannerNetworkPerformanceReport
Help can be found here: Get-ZAPlannerNetworkPerformanceReportGet-ZAPlannerWanReport
Help can be found here: Get-ZAPlannerWanReportGet-ZAPlannerZcasReport
Help can be found here: Get-ZAPlannerZcasReport
- Created
Get-ZAProtectedVm
andGet-ZAProtectedVmReport
functions to leverage the newly released Zerto Analytics APIs for this data. Help files can be found here: Get-ZAProtectedVm and Get-ZAProtectedVmReport
December 2019 Release
1.3.0.20191201
Zerto Virtual Manager
- Zerto version 7.5 has been released. As part of this release Zerto has added API functionality that requires the following updates.
- A token is now required to pair two sites together. The need is discussed in Issue 46. To implement this change a
-token
parameter has been added to theAdd-ZertoPeerSite
function. - A new function has been added;
New-ZertoPairingToken
. This function will allow users to generate a pairing authentication token from the target ZVM to be used in the pairing process. Issue 47 covers additional details.
- A token is now required to pair two sites together. The need is discussed in Issue 46. To implement this change a
- A new function has been added;
Invoke-ZertoEvacuateVra
. This function will allow users to evacuate a target VRA by specifying a Host Name, VRA Name, or VRA Identifier. All VMs currently replicating to the specified location will be migrated to different targets. Issue 51 - A function has been added;
Copy-ZertoVpg
. This function will allow users to copy the settings of a single VPG and add new VMs to it. There is currently no customization beyond specifying the VMs to be placed in the newly created VPG. Should additional edits \ updates be required, they should be done post creation. Issue 54 - Fixed issue 57 where a
Start-ZertoFailoverTest
would throw an error complaining about validating the body parameter. This has been fixed and tested against Zerto Virtual Manager 7.5 Update 1 with Windows PowerShell 5.1 and PowerShell Core 6.2.