diff --git a/docs/reference/resources/Microsoft/DSC/PowerShell/index.md b/docs/reference/resources/Microsoft/DSC/PowerShell/index.md index 2b5440d3e..71d34f14c 100644 --- a/docs/reference/resources/Microsoft/DSC/PowerShell/index.md +++ b/docs/reference/resources/Microsoft/DSC/PowerShell/index.md @@ -86,7 +86,7 @@ set to `ClearCache`: $adapterScript = dsc resource list Microsoft.DSC/PowerShell | ConvertFrom-Json | Select-Object -ExpandProperty directory | - Join-Path + Join-Path -ChildPath 'psDscAdapter' -AdditionalChildPath 'powershell.resource.ps1' & $adapterScript -Operation ClearCache ``` diff --git a/docs/reference/resources/Microsoft/Windows/WindowsPowerShell/index.md b/docs/reference/resources/Microsoft/Windows/WindowsPowerShell/index.md index 914640ffb..0bfa8fb34 100644 --- a/docs/reference/resources/Microsoft/Windows/WindowsPowerShell/index.md +++ b/docs/reference/resources/Microsoft/Windows/WindowsPowerShell/index.md @@ -83,7 +83,7 @@ set to `ClearCache`: $adapterScript = dsc resource list Microsoft.Windows/WindowsPowerShell | ConvertFrom-Json | Select-Object -ExpandProperty directory | - Join-Path + Join-Path -ChildPath 'psDscAdapter\powershell.resource.ps1' & $adapterScript -Operation ClearCache ```