CmdID / PowerShell / Cmdlets / Disconnect
Disconnect-WmsSession
Disconnects a session. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-AllIndicates that this operation applies to all sessions on the target host.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-Server, -ComputerNameSpecifies the fully qualified host name of the MultiPoint Server that is the target of the command.-SessionIdSpecifies an array of session IDs.-WhatIf, -wiShows what would happen if the cmdlet runs.