CmdID / PowerShell / Cmdlets / Unpublish
Unpublish-WmsDesktop
Stops the sharing of the specified session desktop. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-Server, -ComputerNameSpecifies the fully qualified host name of the MultiPoint Server that is the target of the command.-SessionIdSpecifies the session ID to stop sharing.