Syntax
Disconnect-Vmc [[-Server] <CisServer[]>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet closes the connection to the servers specified by the Server parameter.Parameters
Return Type
NoneNotes
Examples
-------------------------- Example 1 --------------------------
$connection = ConnectVmc -RefreshToken $myRefreshToken Disconnect-Vmc -Server $connection -Confirm:$false
Disconnects the specified VMware Cloud on AWS server without asking for confirmation.
-------------------------- Example 2 --------------------------
$connection = ConnectVmc -RefreshToken $myRefreshToken Disconnect-Vmc -Server '*' -Force -Confirm:$false
Forces the disconnect operation for all connected VMware Cloud on AWS servers without asking for confirmation.