Add advanced function params
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
||||
function Disconnect-ZertoServer {
|
||||
[cmdletbinding()]
|
||||
param()
|
||||
$uri = "session"
|
||||
|
||||
# Delete API Authorization
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
||||
function Get-ZertoLicense {
|
||||
[cmdletbinding()]
|
||||
param()
|
||||
$uri = "license"
|
||||
Invoke-ZertoRestRequest -uri $uri
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
||||
function Get-ZertoUnprotectedVm {
|
||||
[cmdletbinding()]
|
||||
param()
|
||||
$uri = "virtualizationsites/{0}/vms" -f $script:zvmLocalInfo.siteidentifier
|
||||
Invoke-ZertoRestRequest -uri $uri
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
||||
function Stop-ZertoCloneVpg {
|
||||
[cmdletbinding()]
|
||||
param(
|
||||
[Parameter(
|
||||
HelpMessage = "Name of the VPG to stop cloning",
|
||||
|
||||
Reference in New Issue
Block a user