DSCResources/cRobocopyMirror/cRobocopyMirror.psm1
function Get-TargetResource { [CmdletBinding()] [OutputType([Hashtable])] param([Parameter(Mandatory=$true)] [string] $Destination, [Parameter(Mandatory=$true)] [string] $Source) @{} } function Set-TargetResource { [CmdletBinding()] param([Parameter(Mandatory=$true)] [string] $Destination, [Parameter(Mandatory=$true)] [string] $Source) robocopy $Source $Destination /MIR } function Test-TargetResource { [CmdletBinding()] [OutputType([bool])] param([Parameter(Mandatory=$true)] [string] $Destination, [Parameter(Mandatory=$true)] [string] $Source) return $false } Export-ModuleMember -Function Get-TargetResource, Set-TargetResource, Test-TargetResource |