Open gerane opened 8 years ago
In the Master and Dev branch, you do not have an ExcludeDirs param
# Helper Functions function Get-RobocopyArguments { [CmdletBinding()] [OutputType([System.String[]])] param ( [parameter(Mandatory = $true)] [System.String] $Source, [parameter(Mandatory = $true)] [System.String] $Destination, [System.String] $Files, [System.UInt32] $Retry, [System.UInt32] $Wait, [System.Boolean] $SubdirectoriesIncludingEmpty, [System.Boolean] $Restartable, [System.Boolean] $MultiThreaded, [System.String] $ExcludeFiles, [System.String] $LogOutput, [System.Boolean] $AppendLog, [System.String[]] $AdditionalArgs )
but when building the robocopy arguments, you are checking for the param to set /XD
if ($ExcludeDirs) { $arguments += @('/XD', $ExcludeDirs) }
I was not sure if you meant to have ExcludeDirs or if it was removed and the added check was just forgotten about.
@gerane : Thanks for reporting this issue
In the Master and Dev branch, you do not have an ExcludeDirs param
but when building the robocopy arguments, you are checking for the param to set /XD
I was not sure if you meant to have ExcludeDirs or if it was removed and the added check was just forgotten about.