Skip to content

Commit 3020bf6

Browse files
committed
Fix ClearCache example
1 parent 6131a28 commit 3020bf6

File tree

2 files changed

+2
-2
lines changed
  • docs/reference/resources/Microsoft

2 files changed

+2
-2
lines changed

docs/reference/resources/Microsoft/DSC/PowerShell/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ set to `ClearCache`:
8686
$adapterScript = dsc resource list Microsoft.DSC/PowerShell |
8787
ConvertFrom-Json |
8888
Select-Object -ExpandProperty directory |
89-
Join-Path
89+
Join-Path -ChildPath ([System.IO.Path]::Combine("psDscAdapter", "powershell.resource.ps1"))
9090
9191
& $adapterScript -Operation ClearCache
9292
```

docs/reference/resources/Microsoft/Windows/WindowsPowerShell/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ set to `ClearCache`:
8383
$adapterScript = dsc resource list Microsoft.Windows/WindowsPowerShell |
8484
ConvertFrom-Json |
8585
Select-Object -ExpandProperty directory |
86-
Join-Path
86+
Join-Path -ChildPath ([System.IO.Path]::Combine("psDscAdapter", "powershell.resource.ps1"))
8787
8888
& $adapterScript -Operation ClearCache
8989
```

0 commit comments

Comments
 (0)