Lab 2 Customizing an Existing Script

In this lab, you learn to customize an existing script.

Scenario

You are a new network administrator at a Fortune 500 company. You recently had a server crash, and it did not generate a dump file. Because you have several servers on your network, you don’t want to have to "mouse around" very much; rather, you’d like to simply run a script to confirm the crash recovery configuration. Since your company is fortunate to have a college intern working for the summer, and you haven’t yet learned how to remotely run the script, you’ve decided to do the following:

  1. Create a script that reads crash recovery information from the registry. Your research has revealed the following keys to be of interest:

    "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl\AutoReboot" ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.