SampleExtensionConfigurationImpl.psm1

Configuration SampleExtensionConfiguration
{
[CmdletBinding()]
    param(
        [Parameter(Mandatory=$true, Position=0, ValueFromPipeline=$true)]
        [string] 
        $DestinationPath
    )

    File CreateDirectory
    { 
        Ensure = 'Present'
        DestinationPath = $DestinationPath
        Type = 'Directory'
    }}