StevensNet.com

...Because someone's gotta tell the story...

Blogs

To return to the main Blog List, click Full Blog Listing.

Tags

Error
SCCM
System Center
Troubleshoot
VBScript

DCM, SCCM, and Discovery Errors

Wednesday, September 19, 2012 in System Center (Views: 2991)
A quick blog in case someone is searching the internet...

So, I was just trying to implement a simple VBScript for validation in DCM, nothing fancy, just testing capabilities.

Dim strTemp
strTemp="Hello World"
wscript.echo strTemp


This returned an "Error" in the DCM report, following was a Discovery Error in the report. So, I dumbed the script down to simply..

wscript.echo "Hello World"

...with the same results.

If you are one of the many who sets VBS to open up by default with Notepad, you will see these errors. Once I changed the default property back to VBScript, and allowed it to open normally, the errors went away and validation completed successfully.

Just in case you were looking and were having the same trouble...

 

Related Blogs You May Be Interested In:


To leave a comment, please log in and/or register.