59a0a53812
* Establish a help system * Continue to update Help System * Update Get-ZertoAlert.md * Update Get-ZertoDatastore.md * Add Link to Zerto API for Datastores * Update Get-ZertoLicense.md * Update Links to Zerto API documentation * Update the Readme Information * Continue to update README * Update README * Update README.md * Update Help Markdown Files * Correct API URL * Update ZertoApiWrapper-help.xml * Update Get-ZertoProtectedVm.md * Update Help Markdown files * Update Get-ZertoVpgSetting.md * Added online url to each help object. * Update Help Markdown Files * Update ZertoApiWrapper-help.xml
16 lines
506 B
PowerShell
16 lines
506 B
PowerShell
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
|
function Disconnect-ZertoServer {
|
|
[cmdletbinding()]
|
|
$uri = "session"
|
|
|
|
# Delete API Authorization
|
|
Invoke-ZertoRestRequest -uri $uri -method DELETE
|
|
|
|
# Remove all variables used
|
|
Remove-Variable -Name zvmServer -Scope Script
|
|
Remove-Variable -Name zvmPort -Scope Script
|
|
Remove-Variable -Name zvmLastAction -Scope Script
|
|
Remove-Variable -Name zvmHeaders -Scope Script
|
|
Remove-Variable -Name zvmLocalInfo -Scope Script
|
|
}
|