You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
robocopy returned with errors! Exit code: ! More info
here:https://support.microsoft.com/en-us/kb/954404
I believe there should $LASTEXITCODE variable used instead of $result (which was not initialized and is undefined at this point) when building error message on the line 200:
throw "robocopy returned with errors! Exit code: $result! More info here:https://support.microsoft.com/en-us/kb/954404"
Thanks,
Karel
The text was updated successfully, but these errors were encountered:
Hi,
I ran into a problem when using your DSC resource.
The message was
I believe there should
$LASTEXITCODE
variable used instead of$result
(which was not initialized and is undefined at this point) when building error message on the line 200:Thanks,
Karel
The text was updated successfully, but these errors were encountered: