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.
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: