namespace PS.IPAM.Cmdlets; using System.Management.Automation; using PS.IPAM.Helpers; /// /// Closes the current phpIPAM API session. /// [Cmdlet(VerbsCommon.Close, "Session")] public class CloseSessionCmdlet : BaseCmdlet { protected override void ProcessRecord() { SessionManager.CloseSession(); WriteVerbose("Session closed successfully."); } }