To disconnect your session from the specified cloud servers, you can use the Disconnect-CIServer
cmdlet. The syntax of the Disconnect-CIServer
cmdlet is as follows:
Disconnect-CIServer [[-Server] <CIServer[]>] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
The Disconnect-CIServer
cmdlet has no required parameters.
In the following example, we will disconnect from all default cloud servers without asking for confirmation:
PowerCLI C:> Disconnect-CIServer * -Confirm:$false
The preceding command does not return any output.
18.216.205.123