-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
Running the ClearCache example in both Microsoft.Windows/WindowsPowerShell
and Microsoft.DSC/PowerShell
reference documentation doesn't work.
Steps to reproduce
Run:
$adapterScript = dsc resource list Microsoft.DSC/PowerShell |
ConvertFrom-Json |
Select-Object -ExpandProperty directory |
Join-Path
& $adapterScript -Operation ClearCache
Expected behavior
The cache is cleared.
Actual behavior
The input object cannot be bound because it did not contain the information required to bind all mandatory parameters: ChildPath
Error details
Environment data
Name Value
---- -----
PSVersion 7.5.1
PSEdition Core
GitCommitId 7.5.1
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
3.1.0
Visuals
No response