Skip to content

Commit c013bdf

Browse files
committed
Resolve remarks
1 parent efdaa76 commit c013bdf

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

docs/reference/resources/Microsoft/Windows/RebootPending/examples/check-for-pending-reboot.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,17 @@ actualState:
3434
3535
The `rebootPending` property indicates whether the system requires a reboot (`true`) or not (`false`).
3636

37-
> [!NOTE]
38-
> You can only use the **Get** operation to check the reboot status.
39-
> The resource does not support **Set**, **WhatIf**, **Export**, **Delete**, or **Test** operations.
37+
> The resource doesn't implement the **Set**, **WhatIf**, **Export**, **Delete**, or **Test**
38+
> capabilities. You can't use this resource to enforce or export configurations.
39+
>
40+
> Note that even though the resource doesn't implement **Test**, you can still invoke the test
41+
> operation against the resource and use it in the `Microsoft.Dsc/Assertion` group resource. This
42+
> resource relies on the synthetic testing provided by DSC. For more information about synthetic
43+
> testing with DSC, see
44+
> [DSC resource capabiltiies](../../../../../concepts/resources/capabilities.md#test).
45+
>
46+
> For an example using this resource in an assertion, see
47+
> [Use the RebootPending resource in a configuration](./use-rebootpending-in-configuration.md).
4048

4149
<!-- Link reference definitions -->
4250
[01]: ../../../../../cli/resource/get.md

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ The resource has the following capabilities:
6060

6161
- `get` - You can use the resource to retrieve the pending reboot status of a system.
6262

63-
This resource does not support `set`, `whatIf`, `export`, `test`, or `delete` operations. For more information about resource capabilities, see [DSC resource capabilities][02].
63+
This resource doesn't implement the **Set**, **WhatIf**, **Export**, **Delete**, or **Test**
64+
capabilities. You can't use this resource to enforce or export configurations.
65+
66+
Note that even though this resource doesn't implement **Test**, you can still invoke the test
67+
operation against this resource. This resource relies on the synthetic testing provided by DSC.
68+
69+
For more information about resource capabilities, see [DSC resource capabilities][02].
6470

6571
## Examples
6672

0 commit comments

Comments
 (0)