MOC 10325, Automating Administration with Windows PowerShell 2.0

This 5 day instructor-led training class is presented by Microsoft training partners to their end customers. Channel Partners nationwide hire proven AMS Subject Matter Expert Microsoft Certified Trainers (MCT’s) to teach on-site or on-line classes.

This class provides students with the fundamental knowledge and skills to use Windows PowerShell for administering and automating administration of Windows based servers.

Goals

  • Learn how Windows PowerShell works.
  • Learn to use Windows PowerShell as an interactive, command-line shell.
  • Learn to use Core Windows PowerShell cmdlets for everyday purpose.
  • Learn to customize Windows PowerShell output using Windows PowerShell Formatting Subsystem.
  • Learn what Windows Management Instrumentation (WMI) is and how it can be used from Windows PowerShell.
  • Learn to manage Active Directory objects using Windows PowerShell cmdlets.
  • Learn to write basic Windows PowerShell scripts that execute batches of commands.
  • Learn to work with Windows PowerShell’s background jobs and remote administration functionality.
  • Learn mastery of the scripting language of Windows PowerShell.
  • Learn to use advanced techniques related to structured programming within Windows PowerShell.
  • Learn to automate Windows Server 2008 R2 Administration using Windows PowerShell.
  • Learn to identify the best practices for working with Windows PowerShell.

Outline

  1. Fundamentals for Using Windows PowerShell v2
    1. Windows PowerShell Technology Background and Overview
    2. Windows PowerShell as an Interactive Command-Line Shell
    3. Using the Windows PowerShell Pipeline
    4. Lab: Using Windows PowerShell as an Interactive Command-Line Shell
      1. Searching for text files within Windows.
      2. Browsing the Windows registry.
      3. Discovering additional Windows commands and viewing help.
      4. Adding additional commands to your Windows Powershell session.
      5. Formatting Powershell output.
    5. Lab: Using the Windows PowerShell Pipeline
      1. Stopping and restarting a Windows service.
      2. Exploring objects returned by PowerShell commands.
      3. Processing PowerShell output.
  2. Understanding and Using the Windows PowerShell Formatting System
    1. Understanding the Formatting System
    2. Using the Formatting System
    3. Lab: Using the Formatting Subsystem
      1. Displaying calculated properties
      2. Displaying a limited number of columns
      3. Displaying all properties and values of PowerShell objects
      4. Viewing PowerShell objects via HTML
      5. Displaying a limited number of properties
      6. Displaying PowerShell objects using different formatting
      7. Displaying a sorted list of PowerShell objects
  3. Core Windows PowerShell Cmdlets
    1. Core Windows PowerShell Cmdlets for Everyday Use
    2. Comparison Operators, Pipeline Filtering, and Object Enumeration
    3. Advanced Pipeline Techniques
    4. Lab: Using the Core Windows PowerShell Cmdlets
      1. Sorting and selecting objects
      2. Retrieving a number of PowerShell objects and saving to a file
      3. Comparing PowerShell objects using XML
      4. Saving objects to a CSV file
      5. Measuring a collection of PowerShell objects
    5. Lab: Filtering and Enumerating PowerShell Objects in the Pipeline
      1. Comparing numbers (integer objects)
      2. Comparing string objects
      3. Retrieving processes from a computer
      4. Retrieving services from a computer
      5. Iterating through a list of objects
    6. Lab: Using Pipeline Parameter Binding
      1. Using advanced pipeline features
      2. Working with multiple computers
      3. Stopping a list of Windows processes
      4. Binding properties to parameters
  4. Windows Management Instrumentation
    1. Windows Management Instrumentation Overview
    2. Using Windows Management Instrumentation
    3. Lab: Using WMI in Windows PowerShell
      1. Building Windows computer inventory
      2. Discovering the WMI classes and namespaces
      3. Generating a logical disk report for all computers
      4. Listing local users and groups
  5. Automating Active Directory Administration
    1. Active Directory Automation Overview
    2. Managing Users and Groups in PowerShell 2.0
    3. Managing Computers and Other Directory Objects
    4. Lab: Managing Windows Users and Groups in PowerShell 2.0
      1. Retrieving a filtered list of users from Active Directory
      2. Resetting user passwords and address information
      3. Disabling users that belong to a specific group
    5. Lab: Managing Computers and Other Directory Objects
      1. Listing all computers that appear to be running a specific operating system according to Active Directory information
      2. Creating a PowerShell 2.0 report showing all Windows Server 2008 R2 servers
      3. Managing fine-grained password policies for Windows machines in Active Directory
      4. Discovering Organizational Units that are not protected against accidental deletion
  6. Windows PowerShell Scripts
    1. PowerShell 2.0 Script Security
    2. Basic PowerShell Scripts
    3. Parameterized PowerShell Scripts
    4. Lab: Writing Windows PowerShell Scripts
      1. Executing PowerShell scripts
      2. Using positional script parameters
      3. Using named script parameters
  7. Windows Background Jobs and Remote Administration through PowerShell 2.0
    1. Working with Background Jobs
    2. Using Windows PowerShell Remoting
    3. Lab: Working with Windows PowerShell Background Jobs
      1. Using background jobs with WMI
      2. Using background jobs for local computers
      3. Receiving the results from a completed PowerShell job
      4. Removing a completed job
      5. Waiting for a background job to complete
      6. Stopping a background job before it completes
      7. Working with the properties of a job
    4. Lab: Using Windows PowerShell Remoting
      1. Interactive remoting
      2. Fan-out remoting
      3. Fan-out remoting using PowerShell background jobs
      4. Saving information from PowerShell background jobs
  8. Advanced Windows PowerShell Tips and Tricks
    1. Using Profiles
    2. Re-Using PowerShell Scripts and Functions
    3. Writing Comment-Based Help in PowerShell
    4. Lab: Advanced PowerShell Tips and Tricks
      1. Writing a profile script
      2. Creating a script module
      3. Adding help information to a PowerShell function
  9. Automating Windows Server 2008 R2 Administration
    1. Windows Server 2008 R2 Modules Overview
    2. Server Manager Cmdlets Overview
    3. Group Policy Cmdlets Overview
    4. Troubleshooting Pack Overview
    5. Best Practices Analyzer Cmdlets Overview
    6. IIS Cmdlets Overview
    7. Lab: Using the Server Manager Cmdlets
      1. Listing all currently installed features
      2. Comparing objects
      3. Installing a new server feature
      4. Exporting current configuration to XML
    8. Lab: Using the Group Policy Cmdlets
      1. Listing all the Group Policy Objects in the domain
      2. Creating a text-based report
      3. Creating an HTML report
      4. Backing up all Group Policy Objects
    9. Lab: Using the Troubleshooting Pack Cmdlets
      1. Importing the Troubleshooting Pack module
      2. Solving an end-user problem interactively
      3. Solving a problem using answer files
    10. Lab: Using the Best Practice Analyzer Cmdlets
      1. Importing the Best Practice module
      2. Viewing existing models
      3. Running a Best Practices scan
    11. Lab: Using the IIS Cmdlets
      1. Importing the IIS module
      2. Creating a new web site
      3. Backing up IIS
      4. Modifying web site bindings
      5. Using the IIS PSDrive
      6. Restoring an IIS Configuration
  10. Reviewing and Reusing Windows PowerShell Scripts
    1. Example PowerShell Script Overview
    2. Understanding PowerShell Scripts
  11. Writing Your Own Windows PowerShell Scripts
    1. Variables, Arrays, Escaping, and More Operators
    2. What is Scope?
    3. Scripting Constructs within PowerShell 2.0
    4. Error Trapping and Handling
    5. Debugging Techniques
    6. Modularization
    7. Lab: Using Variables and Arrays
      1. Creating variables and interact with them
      2. Understanding arrays and hashtables
      3. Using Single- and double-quoted strings and the backtick
      4. Using Arrays and array lists
      5. Using ‘Contains’, ‘like’, and ‘equals’ operators
    8. Lab: Using Scripting Constructs
      1. Processing and validating input
      2. Working with For, While, ForEach, and Switch
      3. Exploiting the power of the one-liner
    9. Lab: Error Trapping and Handling
      1. Retrieving error information
      2. Handling errors
      3. Integrating error handling
    10. Lab: Debugging a PowerShell 2.0 Script
      1. Debugging from the Windows PowerShell console
      2. Debugging using the Windows PowerShell ISE
    11. Lab: Modularization
      1. Generating an inventory audit report

To Hire a proven AMS Windows PowerShell Subject Matter Expert Consultant and Instructor who also teaches this class, call 800-798-3901 today!

Leave a Reply