Public/Appliance/Invoke-vCAVApplianceReboot.ps1
function Invoke-vCAVApplianceReboot(){ <# .SYNOPSIS Reboots the guest OS of the virtual appliance of the connected vCloud Availability service. .DESCRIPTION Reboots the guest OS of the virtual appliance of the connected vCloud Availability service. .EXAMPLE Invoke-vCAVApplianceReboot Reboots the guest OS of the virtual appliance of the connected vCloud Availability service. .NOTES AUTHOR: Adrian Begg LASTEDIT: 2018-12-24 VERSION: 2.0 #> [string] $URI = $global:DefaultvCAVServer.ServiceURI + "os/reboot" $RebootResponse = (Invoke-vCAVAPIRequest -URI $URI -Method Post -APIVersion $DefaultvCAVServer.DefaultAPIVersion).JSONData $RebootResponse } |