Automating Administration with Windows PowerShell

COURSE OUTLINE:

Description

In this course, you will gain the fundamental knowledge and skills to use Windows PowerShell for administering and automating the administration of your Windows-based servers. You will focus on primary Windows PowerShell command line features and techniques. You will gain prerequisite skills that support different Microsoft products. Learn to execute and monitor scripts more efficiently with more robust session connectivity, workflow capabilities, improved job scheduling, and Windows PowerShell Web Access.

This course incorporates materials from the Official Microsoft Learning Product M10961: Automating Administration with Windows PowerShell.

Audience

  • IT Professionals already experienced in general Windows Server and Windows Client administration or already experienced in administering and supporting application servers and services, including Exchange, SharePoint, SQL, etc.
  • Students who want to use Windows PowerShell to automate administrative tasks from the command line, using any Microsoft or independent software vendor (ISV) product that supports Windows PowerShell manageability

Prerequisites

  • 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 beneficial

Learning Objectives

  • Basic concepts behind Windows PowerShell
  • Work with the Pipeline
  • How the Pipeline works
  • Use PSProviders and PSDrives
  • Format output
  • Use Windows Management Instrumentation (WMI) and Common Information Model (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

1. Windows PowerShell

  • Overview and Background
  • Finding and Running Commands

2. Working with the Pipeline

  • Selecting, Sorting, and Measuring Objects
  • Exporting, Importing, and Converting Data
  • Filtering Objects Out of the Pipeline
  • Enumerating Objects in the Pipeline

3. How the Pipeline Works

  • Passing Data in the Pipeline ByValue
  • Passing Data in the Pipeline ByPropertyName

4. Using PSProviders and PSDrives

  • PSProviders and PSDrives
  • Using PSDrives

5. Formatting Output

  • Using Basic Formatting
  • Using Advanced Formatting
  • Redirecting Formatted Output

6. Using WMI and CIM

  • Querying Data with WMI/CIM
  • Making Changes with WMI/CIM

7. Prepare for Scripting

  • Using Variables
  • Scripting Security

8. Moving From a Command to a Script to a Module

  • Moving From Command to Script
  • Moving From Script to Function to Module
  • Implementing Basic Error Handling
  • Using Basic Scripting Constructs
  • Further Exploration in Scripting

9. Administering Remote Computers

  • Using Basic Remoting
  • Using Remote Sessions
  • Using Advanced Remoting Techniques

10. Putting It All Together

  • Provisioning a New Server Core Instance

11. Using Background Jobs and Scheduled Jobs

  • Using Background Jobs
  • Using Scheduled Jobs

12. Using Advanced PowerShell Techniques and Profiles

  • Using Advanced PowerShell Techniques
  • Creating Profile Scripts
  • Working with Alternative Credentials