Search Courses
Dates for this class:
No dates are available for this class.

Course Details    [choose new course]     [printable version]
Automating Windows Server 2008 Administration with Microsoft Windows PowerShell (MOC6434)
Course Number: MOC6434
Category: Networks & Operating Systems
Duration: 3.00 days
Description
This three-day instructor-led course provides students with the knowledge and skills to utilize Windows PowerShell for administering and automating administration of Windows Server 2008. The course focuses on cmdlets, script structure and flow control, language syntax, and implementation details of scripting administrative tasks using COM, WMI, and .NET foundations.
Target Audience
This course is intended for Windows administrators interested in automating Windows Server 2008 administration tasks, as well as those people looking for a full-featured interactive command-line environment for Windows operating systems. Windows end users or developers who need to understand what is involved in Windows administration or command-line environments may also find this course helpful.
Objectives
After completing this course, students will be able to:
  • Install and launch Windows PowerShell
  • Work with basic objects in Windows PowerShell, including using cmdlets, data types, variables, and fundamental object-based information models
  • Implement sequences of operations by putting them together into a pipeline
  • Control the formatting of the resultant set of objects that are emitted at the end of a pipeline
  • Implement sequences of operations by putting them together into a script
  • Implement flow control within scripts and define functions and filters to help modularize complex scripts
  • Manipulate files and registry values
  • Manage disk storage volumes, shadow copies, shared folders, and Terminal Server using WMI in Windows PowerShell
  • Administer and maintain Active Directory directory services using Windows PowerShell
  • Maintain Group Policy using Windows PowerShell
  • Maintain Web services and applications using Windows PowerShell
Prerequisites

Before attending this course, students must have completed Course 6430, Managing and Maintaining Windows Server 2008 Servers, or have equivalent knowledge of administrative tasks.

 

In addition, it is recommended, but not required, that students have completed Course 2433: Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials, or have equivalent knowledge of scripting and automation in Windows.
Outline
  • Module 1: Description to Microsoft Windows PowerShell
    • Description to Windows PowerShell
    • Installing Windows PowerShell in Windows Server 2008
    • Lab 1: Implementing Windows PowerShell
      • Installing Windows PowerShell
      • Customizing Windows PowerShell

 

  • Module 2: Overview of Microsoft Windows PowerShell
    • Overview of Objects
    • Working with Cmdlets
    • Tab Expansion, Aliases, and History
    • Using Variables and Types
    • Lab 1: Working with Windows PowerShell Cmdlets, Aliases, Objects, and Variables
      • Learning Cmdlets and Defining Aliases
      • Holding the Output of a Cmdlet

 

  • Module 3: Building Pipelines for Assembly-Line Style Processing
    • Connecting the Pipeline
    • Using Arrays
    • Filtering and Iterating Through the Pipeline
    • Reordering Objects in a Pipeline
    • Lab 1: Implementing Pipelines in Windows PowerShell
      • Evaluating Process Properties Using the Get-Member Cmdlet
      • Calculating Process Memory Usage
      • Using Associative Array Variables
      • Sorting and Selecting Elements from a Resultant Set of Data

 

  • Module 4: Managing Processes and Formatting Cmdlet Output
    • Controlling Tasks and Processes in Microsoft Windows PowerShell
    • Presenting Information with Specific Formatting
    • Lab 1: Controlling Output Formatting and Process Control with Windows PowerShell
      • Implementing Basic Formatting Control
      • Formatting with the -f operator
      • Implementing Advanced Formatting

 

  • Module 5: Implementing Scripts to Perform a Sequence of Operations
    • Writing Windows PowerShell Scripts
    • Security in Windows PowerShell
    • Scripting Life-Cycle Methodologies
    • Customizing Windows PowerShell with Profiles
    • Lab 1: Implementing Scripts in Windows PowerShell
      • Writing and Running a Script
      • Customizing Profiles

 

  • Module 6: Implementing Flow Control and Functions
    • Controlling the Flow of Execution Within Scripts
    • Iteration Flow Control
    • Developing and Using Functions
    • Lab 1: Implementing Functions and Flow Control in Windows PowerShell
      • Writing and Running a Script
      • Adding Flow Control in a Script
      • Creating Functions
      • Customizing Profiles

 

  • Module 7: Working with Files, the Registry, and Certificate Stores
    • Using Cmdlets to Access Data Stores
    • Using Providers to Access the Registry and Certificate Store
    • Filtering and Selecting with Regular Expressions
    • Implementing Event Log Management
    • Moving Objects In and Out of Files
    • Lab 1: Working with Files, the Registry, and Certificate Stores
      • Searching for Certain Files
      • Modifying Registry Entries
      • Generating Reports
      • Generating Reports on the Security Log
      • Comparing Files

 

  • Module 8: Using Microsoft Windows PowerShell with WMI
    • Description to WMI Objects
    • Managing Disk Volumes Using Windows PowerShell with WMI
    • Managing Shadow Copies Using Windows PowerShell with WMI
    • Managing Shared Folders with Windows PowerShell
    • Configuring Terminal Server Using Windows PowerShell with WMI
    • Lab 1: Managing Disk Volumes with Windows PowerShell
      • Using WMI Classes in Windows PowerShell
      • Managing Disk Volumes in Windows PowerShell
      • Configuring Terminal Server Properties

 

  • Module 9: Administering Active Directory with Microsoft Windows PowerShell
    • Administering Domains and Forests Using .NET Objects
    • Managing User Accounts and Groups Using COM Objects
    • Managing Relationships Between Users and Groups
    • Lab 1: Administering Active Directory with Windows PowerShell
      • Using COM Objects
      • Managing Active Directory Domain and Forest Properties
      • Maintaining Active Directory with ADSI
      • Maintaining Relationships in Active Directory with ADSI

 

  • Module 10: Administering Group Policy in Microsoft Windows PowerShell
    • Managing GPOs Using the GPMC COM Interface
    • Using XML with Group Policy
    • Managing Group Policy Settings
    • Reporting Group Policy
    • Lab 1: Administering Group Policy in Microsoft Windows PowerShell
      • Using COM Objects in Windows PowerShell
      • Generating Group Policy Change Reports
      • Copying Group Policy Settings

 

  • Module 11: Managing Internet Information Services 7.0
    • Comparing IIS 7.0 Windows PowerShell Management Interfaces
    • Administering IIS 7.0 with Windows PowerShell
    • Lab 1: Managing Web Sites in IIS with Windows PowerShell
      • Managing IIS 7.0 Properties
      • Reporting IIS Statistics