SMS/SCCM, Beyond Application Deployment is a blog by Matthew Hudson covering SMS 2003, SCCM 2007, 2012 and beyond package deployment. Here you will find hints, tips, and tricks to help with managing your infrastructure. It will focus mainly on Reg files, Batch, VbScript, WMI, and possibly other methods.
Saturday, May 31, 2008
Vbscript behavior
Wscript Method wscript x.vbs
Cscript Method cscript x.vbs
Do you have right click tools that run in a command (DOS) box. And you have an "Enter" key function so it will stay open so you can see the data.
There are 2 things you can do.
1. Run with a wscript xxx.vbs
This will force it to use the wscript method and data will be placed in a nice popup box
2. Set the default method for vbscript to wscript
wscript /H:WScript
A popup will tell you that the default is now wscript do the same with a cscript to change it back
This will make some of the right click tools that display information alot easier to read and gives it a more professional look.