spaces

Automating Administration with Windows PowerShell


Course Details

Cour se Outline

Module 1: Getting Started with Windows PowerShell

This module introduces students to Windows PowerShell, its purpose and history. The module will also cover the basics of using the shell, including the help system, command syntax, command discovery explaining the use of the two built-in host applications.

  1. Lessons
    1. • Overview and Background
    2. • Finding and Learning Commands
    3. • Running Commands
  1. Lab : Configuring Windows PowerShell
    1. • Configure the Windows PowerShell Console Application
    2. • Configure the Windows PowerShell ISE Application
  2. Lab : Finding and Running Bas ic Commands
    1. • Finding Commands
    2. • Finding and Running Commands
    3. • Using "About" Files
  3. After completing this module, students will be able to:
    1. • Open and configure Windows PowerShell
    2. • Discover, learn, and run Windows PowerShell commands
    3. • Run commands by using correct command and parameter syntax

Module 2: Working with the Pipeline

This module covers the Windows PowerShell pipeline along with a number of additional techniques and commands, including customizing command output, exporting and converting data, sorting objects, filtering objects, and enumerating objects allowing for the overall retrieval, manipulation Course Detailsand displaying of data.

  1. Lessons
    1. • Understanding the Pipeline
    2. • Selecting, Sorting, and Measuring Objects
    3. • Converting, Exporting, and Importing Objects
    4. • Filtering Objects Out of the Pipeline
    5. • Enumerating Objects in the Pipeline
  2. Lab : Us ing the Pipeline
    1. • Selecting and Sorting Data
  3. Lab : Converting, Exporting, and Importing Objects
    1. • Converting Objects
    2. • Importing and Exporting Objects
  4. Lab : Filtering Objects
    1. • Filtering Object
  5. Lab : Enumerating Objects
    1. • Enumerating Objects
  6. After completing this module, students will be able to:
    1. • Describe the purpose of the Windows PowerShell pipeline
    2. • Manipulate objects in the pipeline
    3. • Convert, export, and import objects
    4. • Filter objects out of the pipeline
    5. • Enumerate objects in the pipeline

Module 3: Under s tanding How the Pipeline Works

This module explains the underlying details of how Windows PowerShell passes objects from command to command within the pipeline. Having seen it in action in the previous module will now get to see some of the theory under the hood. The emphasis will be on two specific techniques used by the shell and students will learn to explain the pipeline operation, predict command behavior and allows them construct more useful, predictable commands.

  1. Lessons
    1. • Passing Data in the Pipeline By Value
    2. • Passing Data in the Pipeline By Property Name
  2. Lab : Working with Pipeline Parameter Binding
    1. • Predicting Pipeline Behavior
  3. After completing this module, students will be able to:
    1. • Pass data by using the ByValue technique
    2. • Pass data by using the ByPropertyName technique

Module 4: Us ing PSProvider s and PSDrives

This module explains the purpose and use of Windows PowerShell PSProviders and PSDrives, and shows students how to use these useful components for administrative tasks. Students will also learn to use the -item* commands to manipulate items within a PSDrive.

The CompTIA Security+ Certification is aimed at an IT security professional who has:

  1. Lessons
    1. • Using PSProviders
    2. • Using PSDrives
  2. Lab : Us ing PSProvider s and PSDrives
    1. • Create a New PSDrive
    2. • Create a New Registry Key
    3. • Create a New Registry Setting
    4. • Modify a WS-Management Setting
  3. After completing this module, students will be able to:
    1. • Explain the purpose and use of PSProviders
    2. • Explain the purpose and use of PSDrives

Module 5: Formatting Output

This module demonstrates how to format command output and how to create custom output elements.

  1. Lessons
    1. • Using Basic Formatting
    2. • Using Advanced Formatting
    3. • Redirecting Formatted Output
  2. Lab : Formatting Output
    1. • Formatting Command Output
    2. • Reproducing Specified Output
  3. After completing this module, students will be able to:
    1. • Format command output by using basic formatting commands
    2. • Format command output by using advanced formatting options
    3. • Redirect formatted output

Module 6: Querying Management Information by Us ing WMI and CIM

This module explains Windows Management Instrumentation (WMI) and Common Information Model (CIM), and shows students how to retrieve and in some cases modify management information about local and remote computers.

  1. Lessons
    1. • Understanding WMI and CIM
    2. • Querying Data with WMI and CIM
    3. • Making Changes by Using WMI and CIM
  2. Lab : Working with WMI and CIM
    1. • Querying Information by Using WMI
    2. • Querying Information by Using CIM
    3. • Invoking Methods
  3. After completing this module, students will be able to:
    1. • Explain the differences between WMI and CIM
    2. • Query management information by using WMI and CIM
    3. • Invoke methods by using WMI and CIM

Module 7: Preparing for Scripting

This module prepares students for writing scripts with Windows PowerShell, covering the Windows PowerShell security model and the use of variables.

  1. Lessons
    1. • Using Variables
    2. • Scripting Security
  2. Lab : Working with Security in Windows PowerShell
    1. • Configure Security
  3. After completing this module, students will be able to:
    1. • Create, use, and manage variables
    2. • Configure shell scripting security

Module 8: Moving From a Command to Script to Module

This module shows students how to take a command that runs well in the console and turn it into a parameterized, reusable script, and how to evolve that script into a standalone script module. Students will learn the foundations needed to create their own reusable tools.

  1. Lessons
    1. • Moving From Command to Script
    2. • Moving From Script to Function to Module
    3. • Implementing Basic Error Handling
    4. • Using Basic Scripting Constructs
    5. • Exploring Other Scripting Features
  2. Lab : Moving From Command to Script
    1. • Test the Command
    2. • Parameterize Changing Values
    3. • Add Verbose Output
    4. • Add Comment-Based Help
  3. Lab : Moving From Script to Function to Module
    1. • Convert the Script to a Function
    2. • Save the Script as a Script Module
    3. • Add Debugging Breakpoints
  4. Lab : Implementing Bas ic Error Handling
    1. • Add Error Handling to a Function
    2. • Add Error Handling to a New Function
  5. Lab : Creating an Advanced Function
    1. • Test an Existing Command
    2. • Create a Parameterized Function
    3. • Handle Multiple Targets
    4. • Add Error Handling
  6. After completing this module, students will be able to:
    1. • Move from Command to Script
    2. • Move from Script to Function to Module
    3. • Implement basic error handling
    4. • Implement basic scripting constructs
    5. • Explain additional advanced Windows PowerShell scripting features

Module 9: Adminis tering Remote Computers

This module explains Windows PowerShell remoting, and shows students how to configure and use remoting to manage multiple remote computers.

  1. Lessons
    1. • Using Basic Remoting
    2. • Using Advanced Remoting Techniques
    3. • Using Remoting Sessions
  2. Lab : Us ing Bas ic Remoting
    1. • Enable Remoting on the Local Computer
    2. • Performing One-to-One Remoting
    3. • Performing One-to-Many Remoting
  3. Lab : Us ing Remoting Ses s ions
    1. • Using Implicit Remoting
    2. • Multicomputer Management
  4. After completing this module, students will be able to:
    1. • Describe remoting architecture and security, manually enable remoting, and use remoting for one-to-one and one-to-many connections
    2. • Pass local variables to remote computers
    3. • Create and manage persistent remoting sessions, and use implicit remoting

Module 10: Putting it All Together

This module offers students an opportunity to use everything they have learned so far. Students will discover, learn, and run commands that perform a complex, real-world administrative task

  1. Lessons
    1. • Provisioning a New Server Core Instance
  2. Lab : Provis ioning a New Server Core Ins tallation
    1. • Create a Parameterized Script
    2. • Get the Dynamic IP Address of the New Server Core Computer
    3. • Create a DHCP Reservation for the Server Core Instance
    4. • Modify the Local TrustedHosts List
    5. • Add a Role to the Server Core Instance
    6. • Add the Server Core Instance to the Domain
    7. • Test the Completed Script
  3. After completing this module, students will be able to:
    1. • Plan your Windows PowerShell Script
    2. • Configure Server Core computers using Windows PowerShell

Module 11: Us ing Background Jobs and Scheduled Jobs

In this module students will learn to create and manage background jobs and scheduled jobs.

  1. Lessons
    1. • Using Background Jobs
    2. • Using Scheduled Jobs
  2. Lab : Us ing Background Jobs
    1. • Starting Jobs
    2. • Managing Jobs
  3. Lab : Us ing Scheduled Jobs
    1. • Creating a Scheduled Job
  4. After completing this module, students will be able to:
    1. • Create and manage Background Jobs
    2. • Create and manage Scheduled Jobs

Module 12: Us ing Profiles and Advanced PowerShell Techniques

This module covers a variety of additional advanced Windows PowerShell features and techniques including additional comparison operators, use of alternate credentials, creation of profile scripts, manipulation of strings and date objects.

  1. Lessons
    1. • Using Advanced PowerShell Techniques
    2. • Creating Profile Scripts
    3. • Working With Alternative Credentials
  2. Lab : Practicing Advanced Techniques
    1. • Using Advanced Techniques
    2. • Using Alternative Credentials
    3. • Create a Profile Script
  3. After completing this module, students will be able to:
    1. • Manipulate data and objects by using advanced techniques and operators
    2. • Create and manage profile scripts
    3. • Connect to remote computers by using alternative credentials