<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>PowerShell API</title>
    <description>PowerShell API</description>
    <pubDate>Tue, 17 Mar 2026 11:31:25 +0000</pubDate>
    <lastBuildDate>Tue, 17 Mar 2026 11:31:25 +0000</lastBuildDate>
    <generator>Parallels Forums</generator>
    <link>https://forum.parallels.com/forums/powershell-api.776/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://forum.parallels.com/forums/powershell-api.776/index.rss"/>
    <item>
      <title>about EnabledMode and Enabled property of PubRDSApp</title>
      <pubDate>Thu, 19 Jun 2025 13:40:07 +0000</pubDate>
      <link>https://forum.parallels.com/threads/about-enabledmode-and-enabled-property-of-pubrdsapp.366607/</link>
      <guid>https://forum.parallels.com/threads/about-enabledmode-and-enabled-property-of-pubrdsapp.366607/</guid>
      <author>invalid@example.com (alext7)</author>
      <dc:creator>alext7</dc:creator>
      <content:encoded><![CDATA[I&#039;m writing a powershell script to query the &quot;enabled&quot; status of each published application using command &quot;Get-RASPubRDSApp |select-object name, enabled&quot;.<br />
<br />
If there is folder structure, the &quot;enabled&quot; status of icon may be incorrect.<br />
e.g. If I have a &quot;FolderA&quot; in which there are App1 and App2, in case we have disable App1 and App2 by disabling &quot;FolderA&quot; (it will inherit to App1 and App2), the command above will still return &quot;Enabled=true&quot;.  From &quot;parallels remote application server console&quot;,...<br />
<br />
<a href="https://forum.parallels.com/threads/about-enabledmode-and-enabled-property-of-pubrdsapp.366607/" class="internalLink">about EnabledMode and Enabled property of PubRDSApp</a>]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>Get Active Remote Desktop Sessions</title>
      <pubDate>Wed, 07 Feb 2024 10:50:51 +0000</pubDate>
      <link>https://forum.parallels.com/threads/get-active-remote-desktop-sessions.346937/</link>
      <guid>https://forum.parallels.com/threads/get-active-remote-desktop-sessions.346937/</guid>
      <author>invalid@example.com (JoseS7)</author>
      <dc:creator>JoseS7</dc:creator>
      <content:encoded><![CDATA[Is there any PowerShell API command to know the active remote desktop sessions?<br />
<br />
For example: I am connected to a remote PC that I&#039;ve published and want to be able through the Powershell to see that session and to kill it.<br />
<br />
Is it possible?<br />
<br />
Thanks]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Powershell and RemotePC</title>
      <pubDate>Mon, 27 Feb 2023 08:39:37 +0000</pubDate>
      <link>https://forum.parallels.com/threads/powershell-and-remotepc.359653/</link>
      <guid>https://forum.parallels.com/threads/powershell-and-remotepc.359653/</guid>
      <author>invalid@example.com (ThomasH83)</author>
      <dc:creator>ThomasH83</dc:creator>
      <content:encoded><![CDATA[Hello.<br />
Is there any Powershell Commands in the API for RemotePC - i&#039;d like to add or configure RemotePCs and the publishing]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>RASAdmin Powershell as regular user</title>
      <pubDate>Tue, 20 Sep 2022 07:35:14 +0000</pubDate>
      <link>https://forum.parallels.com/threads/rasadmin-powershell-as-regular-user.358533/</link>
      <guid>https://forum.parallels.com/threads/rasadmin-powershell-as-regular-user.358533/</guid>
      <author>invalid@example.com (SamS22)</author>
      <dc:creator>SamS22</dc:creator>
      <content:encoded><![CDATA[I published Powershell as an application in Parallels.<br />
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.<br />
<br />
It makes no difference if I launch the x86 or 64bit powershell applications from my Parellels Client.<br />
<br />
<br />
<br />
Any tips on how to publish Powershell as an application and then proceed using RAS Powershell API?<br />
If I RDP directly into the...<br />
<br />
<a href="https://forum.parallels.com/threads/rasadmin-powershell-as-regular-user.358533/" class="internalLink">RASAdmin Powershell as regular user</a>]]></content:encoded>
    </item>
    <item>
      <title>Use Powershell to logoff users from a particular Published App</title>
      <pubDate>Thu, 23 Jul 2020 13:59:43 +0000</pubDate>
      <link>https://forum.parallels.com/threads/use-powershell-to-logoff-users-from-a-particular-published-app.350406/</link>
      <guid>https://forum.parallels.com/threads/use-powershell-to-logoff-users-from-a-particular-published-app.350406/</guid>
      <author>invalid@example.com (CraigM14)</author>
      <dc:creator>CraigM14</dc:creator>
      <content:encoded><![CDATA[Hi,<br />
<br />
Is there a way to logoff sessions from a particular published app ?<br />
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 ?<br />
<br />
Thanks]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Drain Mode</title>
      <pubDate>Thu, 21 Nov 2019 12:06:27 +0000</pubDate>
      <link>https://forum.parallels.com/threads/drain-mode.348542/</link>
      <guid>https://forum.parallels.com/threads/drain-mode.348542/</guid>
      <author>invalid@example.com (BrianH15)</author>
      <dc:creator>BrianH15</dc:creator>
      <content:encoded><![CDATA[Is there a specific powershell command that would let us put a server into Drain Mode?<br />
eg. Right click the RD Session Host &gt; Control &gt; Disable Logons unit server reboot]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
  </channel>
</rss>
