Log out of Proxmox connection with API/Powershell

spacemancw

New Member
Feb 2, 2024
1
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!