Skip to content

Commit 2816d4d

Browse files
committed
Add exit codes and rephrase sentence
1 parent b69b024 commit 2816d4d

File tree

1 file changed

+14
-2
lines changed
  • docs/reference/resources/Microsoft/Windows/RebootPending

1 file changed

+14
-2
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ IsWriteOnly : false
8989

9090
</details>
9191

92-
A boolean value that indicates whether the system has a pending reboot. `true` if a reboot is pending; otherwise, `false`.
92+
A boolean value that indicates whether the system has a pending reboot. This property is `true` if
93+
a reboot is pending and otherwise `false`.
9394

9495
## Instance validating schema
9596

@@ -109,7 +110,18 @@ The following snippet contains the JSON Schema that validates an instance of the
109110

110111
## Exit codes
111112

112-
The resource doesn't return any specific exit codes. It reports status through the `rebootPending` property.
113+
The resource returns the following exit codes from operations:
114+
115+
- [0](#exit-code-0) - Success
116+
- [1](#exit-code-1) - Error
117+
118+
### Exit code 0
119+
120+
Indicates the resource operation completed without errors.
121+
122+
### Exit code 1
123+
124+
Indicates the resource operation failed.
113125

114126
## See also
115127

0 commit comments

Comments
 (0)