Wednesday, June 29, 2016

Excluding files using Robocopy and PowerShell

When I want to do web deployments as part of my continuous integration build process, I often need to exclude certain files such as the Web.config from being deployed to my staging or QA environments.

Therefore, I use Robocopy and PowerShell to accomplish this.

Using this simple little PowerShell script, you can use Robocopy to exclude files from your deployments as well:

No comments:

Post a Comment