<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Start Process Action - PowerShell command in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91142#M41219</link>
    <description>Hello &lt;A class="user-content-mention" data-sign="@" data-contactkey="bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-tag-text="@John Carter" href="https://community.blueprism.com/network/profile?UserKey=bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-itemmentionkey="de2764d3-f83b-4bd2-85dd-dc2bf1e31c96"&gt;@John Carter&lt;/A&gt; - Yes i already tried. it is not working.&amp;nbsp; I am not getting error message .&lt;BR /&gt;although command is working fine manually .&lt;BR /&gt;i am doubting the syntax but at the same time i am not sure what to change in syntax.&lt;BR /&gt;​&lt;BR /&gt;this is what i am using&lt;BR /&gt;"Compress-Archive " &amp;amp;""""&amp;amp;[d]&amp;amp;""""&amp;amp;" "&amp;amp;""""&amp;amp;[c]&amp;amp;""""&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 20 May 2022 08:07:00 GMT</pubDate>
    <dc:creator>Neel1</dc:creator>
    <dc:date>2022-05-20T08:07:00Z</dc:date>
    <item>
      <title>Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91139#M41216</link>
      <description>hello, I am trying to run below stuff in start process but it is not executing.&lt;BR /&gt;&lt;BR /&gt;data item d contain folder path to zip&lt;BR /&gt;data item c contain zip folder path&lt;BR /&gt;&lt;BR /&gt;what I am missing here?&amp;nbsp; i want to run specifically using below action/VBO.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24212.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24344iB38D88804B78CD3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="24212.png" alt="24212.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 06:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91139#M41216</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-05-20T06:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91140#M41217</link>
      <description>What's the error message? Probably you've already tried, but does the command work via the command line - is the syntax correct?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 07:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91140#M41217</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-05-20T07:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91141#M41218</link>
      <description>Hi Neeraj,&lt;BR /&gt;&lt;BR /&gt;Probably the issues lies with file names having spaces. The first folder parameter does not seem to work if you have spaces in it. I would suggest once trying to remove the space from the name of the source folder which is [d] and then try to execute the command and see if it works. The destination zip file can have spaces which is [c] and it seems to work.&lt;BR /&gt;&lt;BR /&gt;The only limitation I am seeing is if you have a nested directory with a lot of spaces in between then renaming all such folders can be a hassle. If possible I would suggest copy it to a root directory or some path without spaces and then rename the file in case it has spaces within it. Once you are able to remove all the spaces you can pass that file path into this command as a part of the data item [d]&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24191.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24328iF7D9DAD796CA54A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="24191.png" alt="24191.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;NOTE: Did multiple rounds of test around this and it seems even after using double quotes, single quotes and -f flag as well in this command, if the source file path has spaces around it then the command does not seem to work both manually and via automation as well.&lt;/SPAN&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 08:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91141#M41218</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-20T08:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91142#M41219</link>
      <description>Hello &lt;A class="user-content-mention" data-sign="@" data-contactkey="bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-tag-text="@John Carter" href="https://community.blueprism.com/network/profile?UserKey=bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-itemmentionkey="de2764d3-f83b-4bd2-85dd-dc2bf1e31c96"&gt;@John Carter&lt;/A&gt; - Yes i already tried. it is not working.&amp;nbsp; I am not getting error message .&lt;BR /&gt;although command is working fine manually .&lt;BR /&gt;i am doubting the syntax but at the same time i am not sure what to change in syntax.&lt;BR /&gt;​&lt;BR /&gt;this is what i am using&lt;BR /&gt;"Compress-Archive " &amp;amp;""""&amp;amp;[d]&amp;amp;""""&amp;amp;" "&amp;amp;""""&amp;amp;[c]&amp;amp;""""&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 08:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91142#M41219</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-05-20T08:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91143#M41220</link>
      <description>hello - Yes. It is&amp;nbsp; working if Source is not having space. it is working via different ways,&lt;BR /&gt;&lt;BR /&gt;but not working if the folder to zip is having space.&lt;BR /&gt;&lt;BR /&gt;Manually - it is working fine for both the cases for me.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 11:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91143#M41220</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-05-20T11:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91144#M41221</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a question... your files have special characters? (e.i: á, ï, ô, ç.....)?&lt;BR /&gt;&lt;BR /&gt;I faced similar problems in the past when the names of the files or paths inside the folder have this kind of characters. (I solved it by using a different compression library, I don't know if you consider to use a little bit of code to fix this)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See you in the community! Bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 12:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91144#M41221</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-05-20T12:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91145#M41222</link>
      <description>Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/66"&gt;@PabloSarabia&lt;/a&gt; - there is no special character in the folder path on which i am doing test..&lt;BR /&gt;&lt;BR /&gt;failing for folder name having space .&lt;BR /&gt;&lt;BR /&gt;what other library you have used.​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 12:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91145#M41222</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-05-20T12:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91146#M41223</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="8a77461b-6215-4f6e-9bd3-0d007a8a1754"&gt;@Neeraj Kumar&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We use "Ionic"​, but if you don't have special characters in the names I do not recommend you (is hard to use in my opinion &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;BR /&gt;&lt;BR /&gt;Better use the System.IO.Compression one. (also you need add this if you want to use by yourself System.IO.Compression.FileSystem.dll)&lt;BR /&gt;&lt;BR /&gt;I attach you a VBO complete, try with this. (Only have one Action, Compress).&lt;BR /&gt;&lt;BR /&gt;The code is simple:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-c" tabindex="0"&gt;&lt;CODE&gt;ZipFile.CreateFromDirectory(Folder, zipFile);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you!&lt;BR /&gt;&lt;BR /&gt;See you in the Community, bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 13:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91146#M41223</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-05-20T13:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91147#M41224</link>
      <description>Hi Neeraj,&lt;BR /&gt;&lt;BR /&gt;If going via &lt;SPAN&gt;System.IO.Compression.FileSystem.dll approach is applicable, you can download the Blue Prism asset from DX Exchange and use it as well since it has compress actions and other actions as well: &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---windows-compressed-file-2" target="_blank" rel="noopener"&gt;Windows Compressed File&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2022 14:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91147#M41224</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-20T14:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91148#M41225</link>
      <description>Thanks &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1843"&gt;@devneetmohanty07&lt;/a&gt; &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/66"&gt;@PabloSarabia&lt;/a&gt; for your valuable input.&lt;BR /&gt;&lt;BR /&gt;The problem in using ​above VBO/method is that it is taking more then 1 minute to zip the folder (Folder is bit on heavier side).&lt;BR /&gt;Powershell command when tested manually is taking 10 seconds.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1353"&gt;@EricWilson1&lt;/a&gt; &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1537"&gt;@shashank.kumar280&lt;/a&gt;&amp;nbsp; - Can you help here. ​​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2022 11:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91148#M41225</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-05-23T11:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91149#M41226</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="7ab62995-1d0f-4109-aae4-83e74ca81757"&gt;@Neeraj Kumar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;First question would be do you know if you have multiple versions of PowerShell installed on the machine? In my case, there's the legacy PowerShell that's included with Windows. I also have PowerShell v7 (aka PowerShell Core) installed. What I've found is that PowerShell v7 seems to execute faster than legacy PowerShell.&lt;BR /&gt;&lt;BR /&gt;From the process folder shown in your screenshot it looks like you're invoking legacy PowerShell. I've tested with that, using a ps1 script file that zips multiple folders into separate archives. These are relatively small, although they do include some NodeJS modules (ex. MySQL) in them. ​The final archives are about 352KB in size. Legacy PowerShell takes about 15-30 seconds to complete. Running the same ps1 script through PowerShell v7 takes maybe 2-5 seconds to complete.&lt;BR /&gt;&lt;BR /&gt;If you have PowerShell v7 installed you should be able to find it under &lt;EM&gt;&lt;STRONG&gt;C:\Program Files\PowerShell\7&lt;/STRONG&gt;&lt;/EM&gt;. The executable is &lt;STRONG&gt;pwsh.exe&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2022 12:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91149#M41226</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-05-23T12:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91150#M41227</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; Thanks for your reply. i am having below version of power shell.&lt;/P&gt;
&lt;P&gt;Name Value&lt;BR /&gt;---- -----&lt;BR /&gt;PSVersion 5.1.19041.1682​&lt;BR /&gt;&lt;BR /&gt;Are you pointing that Powershell v7 will make the command share by me run well( Folder have space in name as well )? or there are other thing i need to do.&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2022 14:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91150#M41227</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-05-23T14:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Start Process Action - PowerShell command</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91151#M41228</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="c38302e4-9714-4f40-810c-97b9b7c4824a"&gt;@Neeraj Kumar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;What I can say is that in my environment, PowerShell v7 has shown to be faster than legacy PowerShell (i.e. v5). Here's an example of the PowerShell script that I'm using for a project:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;# The following two lines capture the path where the PowerShell script resides. This is necessary in order to 
# run this script within the PowerShell ISE w/o having to hardcode my specific folder layout.
$scriptpath = $MyInvocation.MyCommand.Path
$dir = Split-Path $scriptpath

#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# DEPLOYMENT PACKAGE DEFINITIONS
#
# You must add a new entry for any new Lambda function you define.
#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
$lambda_DeleteUser = @{
    Path = "$dir\TestServices DeleteUser\node_modules", "$dir\TestServices DeleteUser\*.js", "$dir\TestServices DeleteUser\*.json"
    CompressionLevel = "Fastest"
    DestinationPath = "$dir\Deployment Packages\TestServices_DeleteUser.zip"
}

$lambda_GetUser = @{
    Path = "$dir\TestServices GetUser\node_modules", "$dir\TestServices GetUser\*.js", "$dir\TestServices GetUser\*.json"
    CompressionLevel = "Fastest"
    DestinationPath = "$dir\Deployment Packages\TestServices_GetUser.zip"
}

#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# BUILD DEPLOYMENT PACKAGES
#
# Use the Compress-Archive cmdlet to build the deployment package 
# (aka zip archive) for each Lambda function.
#'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Compress-Archive @lambda_DeleteUser -Force
Compress-Archive @lambda_GetUser -Force​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;As you can see, I have spaces in my folder paths (there are actually more spaces included in the &lt;STRONG&gt;$dir&lt;/STRONG&gt; variable. This works fine for me.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2022 15:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Start-Process-Action-PowerShell-command/m-p/91151#M41228</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-05-23T15:29:00Z</dc:date>
    </item>
  </channel>
</rss>

