Add advanced function params

This commit is contained in:
Wes Carroll
2019-03-29 17:50:42 -04:00
parent 11a3395bdb
commit c72c354f38
4 changed files with 4 additions and 0 deletions
@@ -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",