MOC 10961B - Automating Administration with Windows PowerShell

MOC 10961B - Automating Administration with Windows PowerShell

Course Length: 5 days
Delivery Methods: Available as private class only
Course Benefits
  • Understand the basic concepts behind Windows PowerShell.
  • Work with the Pipeline.
  • Understand how the Pipeline works.
  • Use PSProviders and PSDrives.
  • Format output.
  • Use WMI and CIM
  • Prepare for scripting.
  • Moving from a command to a script to a module.
  • Administer remote computers.
  • Put the various Windows PowerShell components together.
  • Use background jobs and scheduled jobs.
  • Use advanced PowerShell techniques and profiles.
Course Overview

In this Automating Administration with Windows PowerShell training class, students will learn to remotely manage single or multiple Windows-based servers and automate day-to-day management and administration tasks.

This 5-day course provides students with the fundamental knowledge and skills to use Windows PowerShell 3.0 for administering and automating administration of Windows based servers. It focuses on primary Windows PowerShell command-line features and techniques, and will provide prerequisite skills supporting many different Microsoft products. This includes Windows Server, Windows Client, Exchange Server, SharePoint Server, SQL Server, System Center, and more. In keeping with that goal, this course will not focus on any one of those products, although Windows Server (which is the common platform for all of those) will serve as the example for the techniques being taught.

In this 5-day course you will learn to execute and monitor scripts more efficiently through more robust session connectivity, workflow capabilities, improved job scheduling, and Windows PowerShell Web Access. Learn Windows PowerShell with greater ease through improved cmdlet discovery and simplified, consistent syntax across all cmdlets. Write Windows PowerShell scripts quicker and more intuitively through the new Integrated Scripting Environment (ISE) that enables script sharing, which connects IT pros to a larger Windows PowerShell user community.

Microsoft Certified Partner

Webucator is a Microsoft Certified Partner for Learning Solutions (CPLS). This class uses official Microsoft courseware and will be delivered by a Microsoft Certified Trainer (MCT).

Course Outline
  1. Getting Started with Windows PowerShell
    1. Overview and Background
    2. Finding and Running Commands
    3. Lab : Configuring Windows PowerShell
      1. Configure the Console Application
      2. Configure the ISE Application
    4. Lab : Finding and Running Basic Commands
      1. Finding and Running Basic Commands
  2. Working with the Pipeline
    1. Working with the Pipeline
    2. Exporting, Importing and Converting Data
    3. Filtering Objects Out of the Pipeline
    4. Enumerating Objects in the Pipeline
    5. Lab: Working with the Pipeline
      1. Retrieve Data, Manipulate Objects and Customize the Final Display
    6. Lab: Exporting, Importing, and Converting Data
      1. Import, Export, and Convert Data within Windows PowerShell
    7. Lab: Filtering Objects Out of the Pipeline
      1. Filter Objects Out of the Pipeline
      2. Examine Several Commands and Predict Their Output
    8. Lab : Enumerate Objects in the Pipeline
      1. Enumerate Objects in the Pipeline and Perform Specific Tasks
  3. Understanding How the Pipeline Works
    1. Passing Data in the Pipeline ByValue
    2. Passing Data in the Pipeline ByPropertyName
    3. Lab : Working with Pipeline Parameter Binding
      1. Examine Several Commands and Predict Whether or Not They Will Work as Written
      2. Construct New Commands that Utilize Pipeline Parameter Binding
  4. Using PSProviders and PSDrives
    1. Understanding PSProviders and PSDrives
    2. Using PSDrives
    3. Lab : PSProviders and PSDrives
      1. Using PSProviders and PSDrives
  5. Formatting Output
    1. Using Basic Formatting
    2. Using Advanced Formatting
    3. Redirecting Formatted Output
    4. Lab: Formatting Output
      1. Use Formatting cmdlets to Customize Those cmdlets Output
  6. Using WMI and CIM
    1. Understanding WMI/CIM
    2. Querying Data with WMI/CIM
    3. Making Changes with WMI/CIM
    4. Lab: Working with WMI and CIM
      1. Locate and Query WMI Classes to Retrieve Management Information
  7. Prepare for Scripting
    1. Using Variables
    2. Scripting Security
    3. Working with Alternate Credentials
    4. Lab : Working with Security in PowerShell
      1. Configure Execution Policy
      2. Create and Use Alternate Credentials
  8. Moving From a Command to a Script to a Module
    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. Further Exploration in Scripting
    6. Lab: Moving From Command to Script
      1. Convert a Functioning Command into a Parameterized Script
    7. Lab: Moving From Script to Function to Module
      1. Encapsulate a Script into a Function, Turn the Script into a Module and add debugging
    8. Lab: Implementing Basic Error Handling
      1. Add Basic Error Handling Capabilities to a Script
    9. Lab: Adding Logic to a Script
      1. Add a Function to a Script
  9. Administering Remote Computers
    1. Using Basic Remoting
    2. Using Remote Sessions
    3. Using Remoting for Delegated Administration
    4. Lab : Working with Remoting
      1. Enable Remoting
      2. Remotely Manage Machines
    5. Lab : Working with PSSessions
      1. Import a Module from a Remote Machines
      2. Establish and Use Connections with Several Computers
    6. Lab : Remoting for Delegated Administration
      1. Create and Register a Custom Session Configuration
      2. Test the Custom Session Configuration
  10. Putting it All Together
    1. Planning the Script
    2. Lab : Configuring a New Server Core Installation
      1. Determine Server Cores IP Address
      2. Add Server Core Computers IP Address to Local TrustedHosts list
      3. Add the Server Core Computer to a Domain and Configure a DHCP reservation
      4. Add Specified Roles and Features to the Server Core Computer
  11. Using Background Jobs and Scheduled Jobs
    1. Using Background Jobs
    2. Using Scheduled Jobs
    3. Lab : Working with Background Jobs
      1. Start Background Job
      2. Manage Existing Jobs
    4. Lab : Working with Scheduled Jobs
      1. Create, Run, and Retrieve Data Using Scheduled Jobs
  12. Using Advanced PowerShell Techniques and Profiles
    1. Using Advanced PowerShell Techniques
    2. Creating Profile Scripts
    3. Lab : Practicing Advanced Techniques
      1. Practice Advanced Techniques
      2. Create a Profile Script that Defines Several Parameter Defaults
Class Materials

Each student will receive a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this class:

  • Previous Windows Server and Windows Client management knowledge and hands-on experience.
  • Experience Installing and Configuring Windows Server into existing enterprise environments, or as standalone installations.
  • Knowledge and experience of network adapter configuration, basic Active Directory user administration, and basic disk configuration.
  • Knowledge and hands-on experience specifically with Windows Server 2012 and Windows 8 would be of benefit but is not essential.
Follow-on Courses