DSCResources/src/cRobocopyMirror.0.1.Resource.ps1

Write-DSCResource <#-ResourceName cRoboCopyMirror -ModuleRoot $sysModules\cFg #> -Property @{
    Source = 'The source directory'
    Destination = 'The destination directory'    
} -Set {
    robocopy $Source $Destination /MIR
} -KeyProperty Source, Destination