[PSS 2015] Option for multiple script deployment locations

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
This topic is 8 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
QvicesHg1651163019
Posts: 6
Last visit: Mon Jan 10, 2022 5:19 pm

[PSS 2015] Option for multiple script deployment locations

Post by QvicesHg1651163019 »

I have a number of scripts/modules that I need to deploy into multiple locations, but the current "Deploy files to" option in the Deploy Settings only allows one destination. Would be great if I could specify more and have it deploy to all. Thanks!
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: [PSS 2015] Option for multiple script deployment locations

Post by davidc »

In Deploy settings you can specify additional commands.
Additional Deployment Commands.png
Additional Deployment Commands.png (29.64 KiB) Viewed 3492 times
You can use command line command such as:

copy "c:\file1.txt" "c:\folder\file1.txt"

If you like, you can even create a PowerShell script to copy the files and call it using PowerShell.exe. Alternatively you can package the script and call the executable instead.

David
David
SAPIEN Technologies, Inc.
This topic is 8 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked