Hi,

I have been tasked with creating a configuration item that detects and
remediates a condition and reports failure with error codes if not
successful for various reasons.

I am using vbscript and the issue is that when I exit with an error code
e.g. wscript.quit(20500) we get the value "0x80075014" showing in SCCM's
serverside reporting and clientside compliance report.I converted it back
to decimal and get a value of 2147962900...

If I am doing something silly please let me know! For our compliance
settings we report the condition correctly it is just that when you
remediate you must exit with an error code if remediation was not successful

[image: Inline image 3]

[image: Inline image 2]

Is it possible to record the error provided when running a remediation
script?

Regards,

Julius


<<inline: image.png>>

<<inline: image.png>>

Reply via email to