Is there any PowerShell API command to know the active remote desktop sessions? For example: I am connected to a remote PC that I've published and want to be able through the Powershell to see that session and to kill it. Is it possible? Thanks
Hi, yes, you can do it with the Windows PowerShell, please check this link for example and let us know if it's not that case.
Yes, there are some powershell API commands that allow you to control desktop sessions and I am also using these commands for my desktop sessions on<a href="https://paintballmaskusa.com/paintball-mask-requirements/">website</a>