I'm trying to copy files using xcopy in octopus deploy. But seems xcopy is not working. Here is the command I'm using in PostDeploy.ps1
xcopy Content C:\websitecode /e /y /exclude:test.txt
Reason for using xcopy is I can exclude multiple files.
Can someone please help me how to use xcopy in octopus deploy...
Thank you.