Skip to content

Commit 1053b32

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

File tree

1 file changed

+1
-1
lines changed
  • dsc/docs-conceptual/dsc-3.0/concepts/resources

1 file changed

+1
-1
lines changed

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)