PowerShell API PowerShell API Thu, 01 Aug 2024 14:18:43 +0000 Thu, 01 Aug 2024 14:18:43 +0000 Parallels Forums https://forum.parallels.com/forums/powershell-api.776/ Get Active Remote Desktop Sessions Wed, 07 Feb 2024 10:50:51 +0000 https://forum.parallels.com/threads/get-active-remote-desktop-sessions.346937/ https://forum.parallels.com/threads/get-active-remote-desktop-sessions.346937/ invalid@example.com (JoseS7) JoseS7
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]]>
3
Powershell and RemotePC Mon, 27 Feb 2023 08:39:37 +0000 https://forum.parallels.com/threads/powershell-and-remotepc.359653/ https://forum.parallels.com/threads/powershell-and-remotepc.359653/ invalid@example.com (ThomasH83) ThomasH83 Is there any Powershell Commands in the API for RemotePC - i'd like to add or configure RemotePCs and the publishing]]> 2 RASAdmin Powershell as regular user Tue, 20 Sep 2022 07:35:14 +0000 https://forum.parallels.com/threads/rasadmin-powershell-as-regular-user.358533/ https://forum.parallels.com/threads/rasadmin-powershell-as-regular-user.358533/ invalid@example.com (SamS22) SamS22 However when I launch Powershell on one of the RD Session Hosts via the Parallels Client I get this error below relating to processor architecture when trying to import RASAdmin to use RAS Powershell commands.

It makes no difference if I launch the x86 or 64bit powershell applications from my Parellels Client.



Any tips on how to publish Powershell as an application and then proceed using RAS Powershell API?
If I RDP directly into the...

RASAdmin Powershell as regular user]]>
Use Powershell to logoff users from a particular Published App Thu, 23 Jul 2020 13:59:43 +0000 https://forum.parallels.com/threads/use-powershell-to-logoff-users-from-a-particular-published-app.350406/ https://forum.parallels.com/threads/use-powershell-to-logoff-users-from-a-particular-published-app.350406/ invalid@example.com (CraigM14) CraigM14
Is there a way to logoff sessions from a particular published app ?
I see I can query source RDS and get all sessions but part of our automated update script will would first like to log sessions for a particular published app so the files are not locked when we copy over new files to the RD session hosts ?

Thanks]]>
2
Drain Mode Thu, 21 Nov 2019 12:06:27 +0000 https://forum.parallels.com/threads/drain-mode.348542/ https://forum.parallels.com/threads/drain-mode.348542/ invalid@example.com (BrianH15) BrianH15 eg. Right click the RD Session Host > Control > Disable Logons unit server reboot]]> 1