ChrisLGardner / AzureDscPullServerExtension

MIT License
0 stars 1 forks source link

compile has path error #4

Open BladeFireLight opened 4 years ago

BladeFireLight commented 4 years ago

Failing to provide the none "required" paraamter Configuraiton Paramaters path fails on a file not found.

when a path is provided for the configuration parameters I get this error

[error]Cannot bind argument to parameter 'Path' because it is null.

the config file is just your boiler plate as my config does not need one,

the config is a basic example one

Configuration DSCasset {

$samplestr = Get-AutomationVariable –Name 'SampleString'

Node "localhost"
{
    File CreateFile {
        DestinationPath = 'C:\DSCAsset.txt'
        Ensure = "Present"
        Contents = $samplestr
    }

}

}