Dump Variables during OSD

A while back I had a support case open with MS about some scripting in winPE. In order to debug the problem we wanted to see what variables were declared & what their values were. The support tech came up with the attachted script, I never got round to adding it to my scripts folder, so I ran it by opening a command shell in winPE (F8) then “net use Z: \\\c$\users\\desktop\”. Then I ran the script with “cscript.exe SCCMVarDump.vbs” a file is created in the same location as the script.

Files:

One thought to “Dump Variables during OSD”

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This blog is kept spam free by WP-SpamFree.