Skip to content

Commit 052bcc8

Browse files
committed
CMADO-13783318, CMADO-9906327
1 parent 9c928a3 commit 052bcc8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

memdocs/configmgr/compliance/deploy-use/create-custom-configuration-items-for-windows-desktop-and-server-computers-managed-with-the-client.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ The value returned by the script is used to assess the compliance of the global
220220

221221
- **Discovery script**: Select **Add Script**, and enter or browse to a script. This script is used to find the value. You can use Windows PowerShell, VBScript, or Microsoft JScript scripts.
222222

223-
- **Remediation script (optional)**: Select **Add Script**, and enter or browse to a script. This script is used to remediate non-compliant setting values. You can use Windows PowerShell, VBScript, or Microsoft JScript scripts.
223+
- **Remediation script (optional)**: Select **Add Script**, and enter or browse to a script. This script is used to remediate non-compliant setting values. You can use Windows PowerShell, VBScript, or Microsoft JScript scripts.
224+
> [!IMPORTANT]
225+
> - To properly report a remediation failure, scripts need to throw exceptions rather than a nonzero exit code. <!--8760430-->
224226
225227
- **Run scripts by using the logged on user credentials**: If you enable this option, the script runs on client computers that use the credentials of the signed-in user.
226228

@@ -319,7 +321,7 @@ Compliance rules specify the conditions that define the compliance of a configur
319321
- **WQL query**
320322

321323
> [!IMPORTANT]
322-
> - To properly report a remediation failure,scripts need to throw exceptions rather than a nonzero exit code. <!--8760430-->
324+
> - To properly report a remediation failure, scripts need to throw exceptions rather than a nonzero exit code. <!--8760430-->
323325
> - You can only remediate noncompliant rules when the rule operator is set to **Equals**.
324326
325327

0 commit comments

Comments
 (0)