Log out of Proxmox connection with API/Powershell

spacemancw

New Member
Feb 2, 2024
13
0
1
I just started using/exploring the Corsinvest.ProxmoxVE.Api module (https://github.com/Corsinvest/cv4pve-api-powershell) to automate getting VM inventory.

I connect with :

Connect-PveCluster -HostsAndPorts $server:8006 -ApiToken $token -SkipCertificateCheck

Is there a way to disconnect, exit, log out of the connected session? I can't find a function in this module. Perhaps using the API itself?

Also is there a way to get the current session in powershell, which shows the connection to the cluster?

thanks.
 
Last edited: