1) Adding a parameter that users can use to clear PSAdapter cache:
.\psDscAdapter\powershell.resource.ps1 -Operation ClearCache
2) Adding a cache version and logic to rebuild the cache if version in the cache file does not match version in the running code. This will remove problems with updates to newer dsc versions.
PR Summary
1) Adding a parameter that users can use to clear PSAdapter cache:
.\psDscAdapter\powershell.resource.ps1 -Operation ClearCache
2) Adding a cache version and logic to rebuild the cache if version in the cache file does not match version in the running code. This will remove problems with updates to newer dsc versions.