I want to see if mutliple active remote desktop sessions are running on my client PC using a batch script.
When I open my Task Manager I can see a (2)
behind MSTSC.exe
I already used:
wmic process where name="mstsc.exe" | find "mstsc.exe" /c
But the result I get is 1
even if there are two remote desktop sessions active.
I wonder if anyone can help me with this challenge.