[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.
Locked
User avatar
danbarr
Posts: 5
Joined: Fri Sep 06, 2013 5:42 am

[PSS 2015] Option for multiple script deployment locations

Post by danbarr » Wed Dec 09, 2015 2:59 pm

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: 4948
Joined: Thu Aug 18, 2011 4:56 am

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

Post by davidc » Wed Dec 09, 2015 4:24 pm

In Deploy settings you can specify additional commands.
Additional Deployment Commands.png
Additional Deployment Commands.png (29.64 KiB) Viewed 2297 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.

Locked