I’m trying to poplulate a directory on my servers using the File resource type, as follows:
Type = “Directory”
DestinationPath = $Node.ToolsDirDestinationPath
SourcePath = $Node.ToolsDirSourcePath
Ensure = “Present”
MatchSource = $True
Recurse = $True
Force = $True
Credential = $Credential
Checksum = “modifiedDate”
This works --but the performance is extremely poor, in that the client spends an inordinate amount of time ‘building file list without using cache’.
Anyone know how to make the client use a cache, or to otherwise speed up this process?
Or maybe they’ve fixed this in WMF5?