# Quick Diagnostics Scripts

**URL:** <https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863>\
**Category:** Eggplant Functional\
**Created:** [June 22, 2026, 3:23pm UTC](https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863 "2026-06-22T15:23:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [June 22, 2026, 3:23pm UTC](https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863/1 "2026-06-22T15:23:41Z")

</div>

If you find that you are getting peculiarities with OCR or SUT connectivity or the merely unexplained issue, try this code. I recommend that you run it when everything is running as expected and use that output as your benchmark data. It is also super helpful if you have to submit a ticket:

`put connectioninfo()`  
`put version().archive`  
`put ocrversion()`  
`put GetOption(“EnableEpgwRdp”)`

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [June 22, 2026, 3:24pm UTC](https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863/2 "2026-06-22T15:24:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![chrisbryant](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/chrisbryant/32/627_2.png) [@chrisbryant](https://forums.eggplantsoftware.com/u/chrisbryant)\
**Post date:** [June 27, 2026, 5:43am UTC](https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863/3 "2026-06-27T05:43:14Z")

</div>

> [@DaveHester](#):
>
> `put connectioninfo()`  
> `put version().archive`  
> `put ocrversion()`  
> `put GetOption(“EnableEpgwRdp”)`

Thanks for this! I added it to a few scripts and the output is pretty clear. Are there any useful add-ons to that?

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [June 30, 2026, 1:23pm UTC](https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863/4 "2026-06-30T13:23:39Z")

</div>

`put GetOption()` can be used more generically to grab other values that you may have set via defaults write. For example, I expect that as more customers move to implement Find by Description, these options will be more popular:

```auto
put GetOption(“ElementDescriptionProvider”)

put GetOption(“ElementDescriptionConfig_Anthropic_serviceURL”)

```

---

<div class="post-metadata">

**Author:** ![chrisbryant](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/chrisbryant/32/627_2.png) [@chrisbryant](https://forums.eggplantsoftware.com/u/chrisbryant)\
**Post date:** [June 30, 2026, 5:15pm UTC](https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863/5 "2026-06-30T17:15:18Z")

</div>

Adding this to my longer single-script workflows makes sense, but in terms of performance, would it hurt having it in smaller scripts that are contained in a DAI model, for example? Or, for those snippets and small workflows ,should this be simply embedded within a failure function so that it only gets kicked off when a workflow-halting failure occurs? Thanks!

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [June 30, 2026, 5:55pm UTC](https://forums.eggplantsoftware.com/t/quick-diagnostics-scripts/14863/6 "2026-06-30T17:55:18Z")

</div>

These are my debug “go-to” items. While they run very quickly, I would not regularly incorporate them into my production scripts unless I was seeing major issues that were hard to replicate.
