<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Assistance Required: Executing PowerShell Script via Appian Robotic Task</title><link>https://community.appian.com/discussions/f/rpa/39911/assistance-required-executing-powershell-script-via-appian-robotic-task</link><description>Hi All, 
 We are currently facing a technical challenge while trying to execute a PowerShell script (.ps1 file) on a robot&amp;#39;s virtual machine using Appian robotic task. The script is stored in a shared drive location that the robotic task has access to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Assistance Required: Executing PowerShell Script via Appian Robotic Task</title><link>https://community.appian.com/thread/152409?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 13:40:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13142582-9f92-4af9-a786-ed306548b33c</guid><dc:creator>miguelangel.carnero</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/sudipd0003"&gt;sudip.das005&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently, the recommended workaround for this type of execution is to run the command using the Windows &amp;quot;Run&amp;quot; dialog. This can be implemented with a three-action subtask:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;b&gt;Press keyboard shortcuts:&lt;/b&gt;&amp;nbsp;&lt;code&gt;Win + R&lt;/code&gt;&amp;nbsp;(to open the Run dialog)&lt;/p&gt;
&lt;div&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/pastedimage1762954812650v4.png" alt=" " /&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;2. Type Text:&lt;/b&gt;&amp;nbsp;Type the full command, including any parameters, in this case it could be&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&amp;quot;powershell -ExecutionPolicy Bypass -File &amp;quot;C:\myFolder\script.ps1&amp;quot;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/pastedimage1762954825561v5.png" alt=" " /&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;3.&amp;nbsp;&lt;b&gt;Press keyboard shortcuts:&lt;/b&gt;&amp;nbsp;&lt;code&gt;Enter&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/pastedimage1762954839313v6.png" alt=" " /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>