xRobocopy
xRobocopy copied to clipboard
DSC Module to automate Robocopy transfers
We are using the xRobocopy module to copy various files/folders from different sources to one same destination. As the destination is never in sync with the different sources, the returned...
Work need to be done to convert this repository to use the new CI pipeline. https://dsccommunity.org/blog/convert-a-module-for-continuous-delivery/
This enables array input for `Files` parameter: ```powershell xRobocopy CopyByUsingFilesFilter { Source = 'C:\temp\source' Destination = 'C:\temp\destination' Files = @('test1.txt', 'test2.txt') } ``` while keeping the (currently supported) single input...
Hi, I ran into a problem when using your DSC resource. The message was ``` VERBOSE: [2016-12-15T12:15:50] [ERROR] PowerShell DSC resource MSFT_xRobocopy failed to execute Test-TargetResource functionality with error message:...
Closes #18; Added workaround examples for #19; --- This change is [](https://reviewable.io/reviews/powershell/xrobocopy/23)
The following snippet in Test-TargetResource: ``` else { throw "robocopy returned with errors! Exit code: $result! More info here:https://support.microsoft.com/en-us/kb/954404" } ``` Should be: ``` else { throw "robocopy returned with...
These two params are not working properly. If excluding multiple Files or Directories it thinks they are a single file. ``` powershell if ($ExcludeFiles) { $arguments += @('/XF', $ExcludeFiles) }...
In the Master and Dev branch, you do not have an ExcludeDirs param ``` powershell # Helper Functions function Get-RobocopyArguments { [CmdletBinding()] [OutputType([System.String[]])] param ( [parameter(Mandatory = $true)] [System.String] $Source,...