• Jeff,

    Thanks for chiming in. I'm a big fan of yours and have learned a lot from you.

    FYI, the attached script does in fact check the status of xp_CmdShell and Ole Automation, and returns them to their original settings.

    (Between trying to simplify some things for the article and some later edits to the code, the code excerpts in the article are not identical to the attached script.)

    If you (or anyone else) finds any problems or errors, please let me know.