Skip to content

Commit 550c5a3

Browse files
authored
Fix JSON key in PowerShell example
`exist` is not a valid property on `Microsoft.Windows/Registry` - however the canonical `_exist` is
1 parent 7f55266 commit 550c5a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • dsc/docs-conceptual/dsc-3.0/concepts/resources

dsc/docs-conceptual/dsc-3.0/concepts/resources/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ For example, you can test whether a specific registry key exists:
175175
```powershell
176176
dsc resource test --resource Microsoft.Windows/Registry --input '{
177177
"keyPath": "HKCU\\key\\that\\does\\not\\exist",
178-
"exist": true
178+
"_exist": true
179179
}'
180180
```
181181

0 commit comments

Comments
 (0)