Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 392048afce | |||
| de23881418 | |||
| dc08618ae9 | |||
| 3b1f110f1d | |||
| 869db85705 |
@@ -5,16 +5,6 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project is transitioning to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project is transitioning to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [2.1.0]
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
* Added Support for Zerto 10.7u1 Virtual Appliance - You can now authenticate to Zerto Virtual Appliances and run the other functions of this module.
|
|
||||||
|
|
||||||
### Updated
|
|
||||||
|
|
||||||
* Updated `Invoke-ZertoRestRequest` function [help documentation](https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Install-ZertoVra.md)
|
|
||||||
|
|
||||||
## [2.0.0]
|
## [2.0.0]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ All recent updates can now be tracked via the [Change Log](https://github.com/Ze
|
|||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
* Support ZVM appliance (different connection flow)
|
||||||
* JFLR Functionality
|
* JFLR Functionality
|
||||||
* Create VPG (Per-VM modification and Backup Settings)
|
* Create VPG (Per-VM modification and Backup Settings)
|
||||||
* Edit VPG
|
* Edit VPG
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Add-ZertoPeerSite {
|
function Add-ZertoPeerSite {
|
||||||
[cmdletbinding( SupportsShouldProcess = $true )]
|
[cmdletbinding( SupportsShouldProcess = $true )]
|
||||||
param(
|
param(
|
||||||
@@ -9,12 +10,12 @@ function Add-ZertoPeerSite {
|
|||||||
[ValidateNotNullOrEmpty()]
|
[ValidateNotNullOrEmpty()]
|
||||||
[string]$targetHost,
|
[string]$targetHost,
|
||||||
[Parameter(
|
[Parameter(
|
||||||
HelpMessage = "Target communication port. Default is 9071 for Zerto 10.0 and Later. For ZVR 9.7 and earlier, use port 9081."
|
HelpMessage = "Target communication port. Default is 9081"
|
||||||
)]
|
)]
|
||||||
[ValidateRange(1024, 65535)]
|
[ValidateRange(1024, 65535)]
|
||||||
[int]$targetPort = 9071,
|
[int]$targetPort = 9081,
|
||||||
[Parameter(
|
[Parameter(
|
||||||
HelpMessage = "The generated token from the destination site. Note: This is only supported when both sites support pairing authentication. This was implemented to support ZVR 10.0 and later."
|
HelpMessage = "The generated token from the destination site. Note: This is only supported when both sites support pairing authentication. This was implemented to support ZVR 7.5 and later."
|
||||||
)]
|
)]
|
||||||
[ValidateNotNullOrEmpty()]
|
[ValidateNotNullOrEmpty()]
|
||||||
[string]$token
|
[string]$token
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Add-ZertoVpgVm {
|
function Add-ZertoVpgVm {
|
||||||
[CmdletBinding(SupportsShouldProcess, DefaultParameterSetName = "VpgName")]
|
[CmdletBinding(SupportsShouldProcess, DefaultParameterSetName = "VpgName")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Checkpoint-ZertoVpg {
|
function Checkpoint-ZertoVpg {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Connect-ZertoAnalytics {
|
function Connect-ZertoAnalytics {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Connect-ZertoServer {
|
function Connect-ZertoServer {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
[OutputType([hashtable])]
|
[OutputType([hashtable])]
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Copy-ZertoVpg {
|
function Copy-ZertoVpg {
|
||||||
[CmdletBinding(SupportsShouldProcess)]
|
[CmdletBinding(SupportsShouldProcess)]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Disconnect-ZertoServer {
|
function Disconnect-ZertoServer {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param()
|
param()
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Edit-ZertoVra {
|
function Edit-ZertoVra {
|
||||||
[cmdletbinding( SupportsShouldProcess = $true )]
|
[cmdletbinding( SupportsShouldProcess = $true )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Export-ZertoVmNicSetting {
|
function Export-ZertoVmNicSetting {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Export-ZertoVpg {
|
function Export-ZertoVpg {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAAlert {
|
function Get-ZAAlert {
|
||||||
[cmdletbinding( DefaultParameterSetName = "zOrg")]
|
[cmdletbinding( DefaultParameterSetName = "zOrg")]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZADatastore {
|
function Get-ZADatastore {
|
||||||
[CmdletBinding(DefaultParameterSetName = "AllInfo")]
|
[CmdletBinding(DefaultParameterSetName = "AllInfo")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAEvent {
|
function Get-ZAEvent {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalAverageHistory {
|
function Get-ZAJournalAverageHistory {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalAverageSize {
|
function Get-ZAJournalAverageSize {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalBreach {
|
function Get-ZAJournalBreach {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalHistoryStat {
|
function Get-ZAJournalHistoryStat {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalSiteAverageHistory {
|
function Get-ZAJournalSiteAverageHistory {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalSiteAverageSize {
|
function Get-ZAJournalSiteAverageSize {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalSiteHistoryStat {
|
function Get-ZAJournalSiteHistoryStat {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalSiteHistorySummary {
|
function Get-ZAJournalSiteHistorySummary {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalSiteSizeStat {
|
function Get-ZAJournalSiteSizeStat {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalStatusProportion {
|
function Get-ZAJournalStatusProportion {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalStorageStat {
|
function Get-ZAJournalStorageStat {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAJournalSummary {
|
function Get-ZAJournalSummary {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZALicense {
|
function Get-ZALicense {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param()
|
param()
|
||||||
$uri = "licenses"
|
$uri = "licenses"
|
||||||
Invoke-ZARestRequest -uri $uri
|
Invoke-ZARestRequest -uri $uri
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAMonitoring {
|
function Get-ZAMonitoring {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
@@ -15,4 +16,4 @@ function Get-ZAMonitoring {
|
|||||||
$uri = "{0}{1}" -f $uri, $filterString
|
$uri = "{0}{1}" -f $uri, $filterString
|
||||||
}
|
}
|
||||||
Invoke-ZARestRequest -uri $uri
|
Invoke-ZARestRequest -uri $uri
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkSiteAverageIOPS {
|
function Get-ZANetworkSiteAverageIOPS {
|
||||||
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkSiteAveragePerformance {
|
function Get-ZANetworkSiteAveragePerformance {
|
||||||
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkSiteStat {
|
function Get-ZANetworkSiteStat {
|
||||||
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkSiteSummary {
|
function Get-ZANetworkSiteSummary {
|
||||||
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
[CmdletBinding(DefaultParameterSetName = "ProtectedSite")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkVpgAverageIOPS {
|
function Get-ZANetworkVpgAverageIOPS {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkVpgAveragePerformance {
|
function Get-ZANetworkVpgAveragePerformance {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkVpgStat {
|
function Get-ZANetworkVpgStat {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZANetworkVpgSummary {
|
function Get-ZANetworkVpgSummary {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAPlannerJournalSizeReport {
|
function Get-ZAPlannerJournalSizeReport {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAPlannerNetworkPerformanceReport {
|
function Get-ZAPlannerNetworkPerformanceReport {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAPlannerSite {
|
function Get-ZAPlannerSite {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAPlannerStatsReport {
|
function Get-ZAPlannerStatsReport {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAPlannerWanReport {
|
function Get-ZAPlannerWanReport {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAPlannerZcasReport {
|
function Get-ZAPlannerZcasReport {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAProtectedVm {
|
function Get-ZAProtectedVm {
|
||||||
[cmdletbinding(DefaultParameterSetName = "AllVMs")]
|
[cmdletbinding(DefaultParameterSetName = "AllVMs")]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAProtectedVmReport {
|
function Get-ZAProtectedVmReport {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZARPOAccountAverage {
|
function Get-ZARPOAccountAverage {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZARPOAverage {
|
function Get-ZARPOAverage {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZARPOBreach {
|
function Get-ZARPOBreach {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZARPOStat {
|
function Get-ZARPOStat {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZARPOStatusProportion {
|
function Get-ZARPOStatusProportion {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZARPOSummary {
|
function Get-ZARPOSummary {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZASite {
|
function Get-ZASite {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZASitePair {
|
function Get-ZASitePair {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZASiteTopology {
|
function Get-ZASiteTopology {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZATask {
|
function Get-ZATask {
|
||||||
[cmdletbinding( DefaultParameterSetName = "zOrg")]
|
[cmdletbinding( DefaultParameterSetName = "zOrg")]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAVolume {
|
function Get-ZAVolume {
|
||||||
[CmdletBinding(DefaultParameterSetName = "VpgIdentifier")]
|
[CmdletBinding(DefaultParameterSetName = "VpgIdentifier")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAVpg {
|
function Get-ZAVpg {
|
||||||
[cmdletbinding(DefaultParameterSetName = 'zOrg')]
|
[cmdletbinding(DefaultParameterSetName = 'zOrg')]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZAzOrg {
|
function Get-ZAzOrg {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param()
|
param()
|
||||||
$uri = "monitoring/zorgs"
|
$uri = "monitoring/zorgs"
|
||||||
Invoke-ZARestRequest -uri $uri
|
Invoke-ZARestRequest -uri $uri
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoAlert {
|
function Get-ZertoAlert {
|
||||||
[cmdletbinding( defaultParameterSetName = "main" )]
|
[cmdletbinding( defaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoDatastore {
|
function Get-ZertoDatastore {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoEvent {
|
function Get-ZertoEvent {
|
||||||
[cmdletbinding( defaultParameterSetName = "main" )]
|
[cmdletbinding( defaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoLicense {
|
function Get-ZertoLicense {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param()
|
param()
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoLocalSite {
|
function Get-ZertoLocalSite {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoPeerSite {
|
function Get-ZertoPeerSite {
|
||||||
[cmdletbinding( defaultParameterSetName = "main" )]
|
[cmdletbinding( defaultParameterSetName = "main" )]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoProtectedVm {
|
function Get-ZertoProtectedVm {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoRecoveryReport {
|
function Get-ZertoRecoveryReport {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoResourcesReport {
|
function Get-ZertoResourcesReport {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoServiceProfile {
|
function Get-ZertoServiceProfile {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoTask {
|
function Get-ZertoTask {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoUnprotectedVm {
|
function Get-ZertoUnprotectedVm {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param()
|
param()
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoVirtualizationSite {
|
function Get-ZertoVirtualizationSite {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoVolume {
|
function Get-ZertoVolume {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoVpg {
|
function Get-ZertoVpg {
|
||||||
[cmdletbinding( DefaultParameterSetName = "main" )]
|
[cmdletbinding( DefaultParameterSetName = "main" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoVpgSetting {
|
function Get-ZertoVpgSetting {
|
||||||
[cmdletbinding(
|
[cmdletbinding(
|
||||||
DefaultParameterSetName = "main",
|
DefaultParameterSetName = "main",
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoVra {
|
function Get-ZertoVra {
|
||||||
[cmdletbinding(
|
[cmdletbinding(
|
||||||
DefaultParameterSetName = "main"
|
DefaultParameterSetName = "main"
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoZorg {
|
function Get-ZertoZorg {
|
||||||
[cmdletbinding( DefaultParameterSetName = "default" )]
|
[cmdletbinding( DefaultParameterSetName = "default" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Get-ZertoZsspSession {
|
function Get-ZertoZsspSession {
|
||||||
[cmdletbinding( DefaultParameterSetName = "default" )]
|
[cmdletbinding( DefaultParameterSetName = "default" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Import-ZertoVmNicSetting {
|
function Import-ZertoVmNicSetting {
|
||||||
[CmdletBinding(SupportsShouldProcess)]
|
[CmdletBinding(SupportsShouldProcess)]
|
||||||
param(
|
param(
|
||||||
@@ -53,7 +54,6 @@ function Import-ZertoVmNicSetting {
|
|||||||
$NicUri = "{0}/nics/{1}" -f $uri, $nic.NicIdentifier
|
$NicUri = "{0}/nics/{1}" -f $uri, $nic.NicIdentifier
|
||||||
Invoke-ZertoRestRequest -uri $NicUri -Method "DELETE" > $null
|
Invoke-ZertoRestRequest -uri $NicUri -Method "DELETE" > $null
|
||||||
$nicSettings = Invoke-ZertoRestRequest -uri $NicUri -Method "GET"
|
$nicSettings = Invoke-ZertoRestRequest -uri $NicUri -Method "GET"
|
||||||
$nicSettings.failover.Hypervisor.ShouldReplaceIpConfiguration = "True"
|
|
||||||
$nicSettings.failover.Hypervisor.NetworkIdentifier = $NetworkMap[$vm.LiveNetwork]
|
$nicSettings.failover.Hypervisor.NetworkIdentifier = $NetworkMap[$vm.LiveNetwork]
|
||||||
$nicSettings.failover.Hypervisor.ShouldReplaceMacAddress = $vm.LiveShouldReplaceMac
|
$nicSettings.failover.Hypervisor.ShouldReplaceMacAddress = $vm.LiveShouldReplaceMac
|
||||||
if ($vm.LiveIsDHCP -imatch "true") {
|
if ($vm.LiveIsDHCP -imatch "true") {
|
||||||
@@ -78,7 +78,6 @@ function Import-ZertoVmNicSetting {
|
|||||||
$nicSettings.failover.Hypervisor.IpConfig = $IpConfig
|
$nicSettings.failover.Hypervisor.IpConfig = $IpConfig
|
||||||
$nicSettings.failover.Hypervisor.DnsSuffix = $vm.LiveDnsSuffix
|
$nicSettings.failover.Hypervisor.DnsSuffix = $vm.LiveDnsSuffix
|
||||||
}
|
}
|
||||||
$nicSettings.failoverTest.Hypervisor.ShouldReplaceIpConfiguration = "True"
|
|
||||||
$nicSettings.failoverTest.Hypervisor.NetworkIdentifier = $NetworkMap[$vm.TestNetwork]
|
$nicSettings.failoverTest.Hypervisor.NetworkIdentifier = $NetworkMap[$vm.TestNetwork]
|
||||||
$nicSettings.failoverTest.Hypervisor.ShouldReplaceMacAddress = $vm.TestShouldReplaceMac
|
$nicSettings.failoverTest.Hypervisor.ShouldReplaceMacAddress = $vm.TestShouldReplaceMac
|
||||||
if ($vm.TestIsDHCP -imatch "true" ) {
|
if ($vm.TestIsDHCP -imatch "true" ) {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Import-ZertoVpg {
|
function Import-ZertoVpg {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Install-ZertoVra {
|
function Install-ZertoVra {
|
||||||
[cmdletbinding( SupportsShouldProcess )]
|
[cmdletbinding( SupportsShouldProcess )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZARestRequest {
|
function Invoke-ZARestRequest {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoEvacuateVra {
|
function Invoke-ZertoEvacuateVra {
|
||||||
[CmdletBinding(SupportsShouldProcess, DefaultParameterSetName = "VraIdentifier")]
|
[CmdletBinding(SupportsShouldProcess, DefaultParameterSetName = "VraIdentifier")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoFailover {
|
function Invoke-ZertoFailover {
|
||||||
[cmdletbinding( SupportsShouldProcess = $true )]
|
[cmdletbinding( SupportsShouldProcess = $true )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoFailoverCommit {
|
function Invoke-ZertoFailoverCommit {
|
||||||
[cmdletbinding( SupportsShouldProcess = $true )]
|
[cmdletbinding( SupportsShouldProcess = $true )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoFailoverRollback {
|
function Invoke-ZertoFailoverRollback {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoForceSync {
|
function Invoke-ZertoForceSync {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoMove {
|
function Invoke-ZertoMove {
|
||||||
[CmdletBinding( DefaultParameterSetName = "id", SupportsShouldProcess = $true )]
|
[CmdletBinding( DefaultParameterSetName = "id", SupportsShouldProcess = $true )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoMoveCommit {
|
function Invoke-ZertoMoveCommit {
|
||||||
[cmdletbinding(SupportsShouldProcess = $true, DefaultParameterSetName = "Main")]
|
[cmdletbinding(SupportsShouldProcess = $true, DefaultParameterSetName = "Main")]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Invoke-ZertoMoveRollback {
|
function Invoke-ZertoMoveRollback {
|
||||||
[cmdletbinding(SupportsShouldProcess = $true)]
|
[cmdletbinding(SupportsShouldProcess = $true)]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
<#
|
|
||||||
.ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
|
||||||
#>
|
|
||||||
function Invoke-ZertoRestRequest {
|
function Invoke-ZertoRestRequest {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
@@ -66,7 +63,6 @@ function Invoke-ZertoRestRequest {
|
|||||||
'username' = $credential.GetNetworkCredential().UserName
|
'username' = $credential.GetNetworkCredential().UserName
|
||||||
'password' = $credential.GetNetworkCredential().Password
|
'password' = $credential.GetNetworkCredential().Password
|
||||||
'grant_type' = 'password'
|
'grant_type' = 'password'
|
||||||
'scope' = 'openid'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$params = @{
|
$params = @{
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function New-ZertoPairingToken {
|
function New-ZertoPairingToken {
|
||||||
[CmdletBinding(SupportsShouldProcess = $true)]
|
[CmdletBinding(SupportsShouldProcess = $true)]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function New-ZertoVpg {
|
function New-ZertoVpg {
|
||||||
[cmdletbinding(SupportsShouldProcess = $true, DefaultParameterSetName = "recoveryHostDatastore")]
|
[cmdletbinding(SupportsShouldProcess = $true, DefaultParameterSetName = "recoveryHostDatastore")]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function New-ZertoVpgSettingsIdentifier {
|
function New-ZertoVpgSettingsIdentifier {
|
||||||
[cmdletbinding( SupportsShouldProcess = $true, DefaultParameterSetName = "newVpg" )]
|
[cmdletbinding( SupportsShouldProcess = $true, DefaultParameterSetName = "newVpg" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Remove-ZertoPeerSite {
|
function Remove-ZertoPeerSite {
|
||||||
[cmdletbinding(
|
[cmdletbinding(
|
||||||
SupportsShouldProcess = $true,
|
SupportsShouldProcess = $true,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Remove-ZertoVpg {
|
function Remove-ZertoVpg {
|
||||||
[cmdletbinding( SupportsShouldProcess = $true, DefaultParameterSetName = "vpgIdentifier" )]
|
[cmdletbinding( SupportsShouldProcess = $true, DefaultParameterSetName = "vpgIdentifier" )]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Remove-ZertoVpgSettingsIdentifier {
|
function Remove-ZertoVpgSettingsIdentifier {
|
||||||
[CmdletBinding(SupportsShouldProcess = $true)]
|
[CmdletBinding(SupportsShouldProcess = $true)]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Remove-ZertoVpgVm {
|
function Remove-ZertoVpgVm {
|
||||||
[CmdletBinding(SupportsShouldProcess, ConfirmImpact = "High")]
|
[CmdletBinding(SupportsShouldProcess, ConfirmImpact = "High")]
|
||||||
param (
|
param (
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Resume-ZertoVpg {
|
function Resume-ZertoVpg {
|
||||||
[cmdletbinding()]
|
[cmdletbinding()]
|
||||||
param(
|
param(
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Save-ZertoVpgSetting {
|
function Save-ZertoVpgSetting {
|
||||||
[cmdletbinding(
|
[cmdletbinding(
|
||||||
SupportsShouldProcess = $true
|
SupportsShouldProcess = $true
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
|
||||||
|
#>
|
||||||
function Set-ZertoAlert {
|
function Set-ZertoAlert {
|
||||||
[cmdletbinding( SupportsShouldProcess = $true )]
|
[cmdletbinding( SupportsShouldProcess = $true )]
|
||||||
param (
|
param (
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user