Microsoft 10325 Training
Automating Administration with Microsoft Windows PowerShell 2.0 (GK Premier)
- Course Availability
Automating Administration with Windows PowerShell 2.0 M10325
Course Title: Automating Administration with Windows
PowerShell 2.0
Course Code: M10325
Version: A
Level: 300
Duration: 5 Days
Course Overview
The Automating Administration with Windows PowerShell 2.0 M10325 instructor-led training course has been designed to provide candidates with the requisite skills and knowledge to utilise Windows PowerShell for administering and automating administration of Windows based servers.Target Audience
Candidates who should consider attending the M10325 Microsoft training course are IT Professionals who are already experienced in general Windows Server and Windows Client administration, including Active Directory administration. Candidates are not required to have prior experience with any version of Windows PowerShell, or any scripting language.Course Objectives
On successfully completing the M10325 course candidates will be able to:- Explain how Windows PowerShell works
- Use Windows PowerShell as an interactive, command-line shell
- Use Core Windows PowerShell cmdlets for everyday purpose
- Customise the output using Windows PowerShell Formatting Subsystem
- Explain what Windows Management Instrumentation (WMI) is and how it can be used from Windows PowerShell
- Manage Active Directory objects using Windows PowerShell cmdlets
- Write basic Windows PowerShell scripts that execute batches of commands
- Work with Windows PowerShell's background jobs and remote administration functionality
- Master the scripting language of Windows PowerShell
- Use advanced techniques related to structured programming within Windows PowerShell
- Automate Windows Server 2008 R2 Administration using Windows PowerShell
- Identify the best practices for working with Windows PowerShell
Course Prerequisites
Candidates attending the M10325 Microsoft training course should have experience with: Windows networking technologies and implementation; Windows Server administration, maintenance, and troubleshooting; Active Directory technologies and implementation including Group Policy; and Windows Server 2008 Web application server technologies and implementation.Testing and Certification
There are currently no exams or Microsoft Certification directly associated to this course however M10325 course may assist in preparing candidates for other exams closely associated with this technology.Course Content
Module 1: Fundamentals for Using Windows PowerShell v2In this module candidates will learn about Windows PowerShell v2 and where it fits into the Windows technology family. The module also covers installation and configuration of Windows PowerShell and familiarises candidates with the interactive shell console, and shows how to operate and interpret the built-in help system. This module focuses on shell's discoverability features, including the online help system and cmdlet inventory. Finally, this module describes how the Windows PowerShell pipeline works at a basic level.
Lessons:
- Windows PowerShell Technology Background and Overview
- Windows PowerShell as an Interactive Command-Line Shell
- Using the Windows PowerShell Pipeline
- Searching for text files
- Browsing the registry
- Discovering additional commands and viewing help
- Adding additional commands to a session
- Formatting output
- Stopping and restarting a Windows service
- Exploring objects returned by PowerShell commands
- Processing PowerShell output
- Provide an overview of Windows PowerShell Technology
- Use Windows PowerShell as an Interactive Command-Line Shell
- Use Windows PowerShell Pipeline
Module 2: Understanding and Using the Formatting System
In this module candidates will learn how the PowerShell formatting subsystem works, and how to customise the output of cmdlets. The module covers the rules that the shell follows for formatting objects by default, and explains how to use the four formatting cmdlets - and their parameters - to customise and control the output displayed on-screen or written to a file, printer, or other output destination.
Lessons:
- Understanding the Formatting System
- Using the Formatting System
- Displaying calculated properties
- Displaying a limited number of columns
- Displaying all properties and values of objects
- Viewing objects via HTML
- Displaying a limited number of properties
- Displaying objects using different formatting
- Displaying a sorted list of objects
- Explain the Formatting System
- Use the Formatting System
Module 3: Core Windows PowerShell Cmdlets
In this module candidates will learn about the several core cmdlets that are used in many different administrative tasks. This module also covers the basics of filtering objects that are in the PowerShell pipeline and explains advanced pipeline techniques including pipeline parameter binding and in-pipeline object manipulation.
Lessons:
- Core Cmdlets for Everyday Use
- Comparison Operators, Pipeline Filtering, and Object Enumeration
- Advanced Pipeline Techniques
- Sorting and selecting objects
- Retrieving a number of objects and saving to a file
- Comparing objects using XML
- Saving objects to a CSV file
- Measuring a collection of objects
- Comparing numbers (integer objects)
- Comparing string objects
- Retrieving processes from a computer
- Retrieving services from a computer
- Iterating through a list of objects
- Using advanced pipeline features
- Working with multiple computers
- Stopping a list of processes
- Binding properties to parameters
- Identify Core Cmdlets for Everyday Use
- Explain Comparison Operators, Pipeline Filtering, and Object Enumeration
- Apply Advanced Pipeline Techniques
Module 4: Windows Management Instrumentation
In this module candidates will learn what Windows Management Instrumentation (WMI) is, how it works, and how it can be used from within Windows PowerShell. It describes the structure and security of WMI, and how to query WMI information both from local and remote computers. The module also explains how to invoke WMI methods to accomplish configuration changes and other tasks, and how to write commands that respond to WMI events triggered by the operating system.
Lessons:
- Windows Management Instrumentation Overview
- Using Windows Management Instrumentation
- Building computer inventory
- Discovering the WMI classes and namespaces
- Generating a logical disk report for all computers
- Listing local users and groups
- Give an overview of Windows Management Instrumentation
- Use Windows Management Instrumentation
- Apply advanced Windows Management Instrumentation techniques
Module 5: Automating Active Directory Administration
In this module candidates will learn about the concept of Active Directory administrative automation. The module explains how to retrieve, create, modify, move, and remove objects in the Active Directory. The module also focuses on PowerShell-centric techniques rather than scripting, and heavily leverages on basic and advanced pipeline techniques covered in previous modules.
Lessons:
- Active Directory Automation Overview
- Managing Users and Groups
- Managing Computers and Other Directory Objects
- Retrieving a filtered list of users from Active Directory
- Resetting user passwords and address information
- Disabling users that belong to a specific group
- Listing all computers that appear to be running a specific operating system according to Active Directory information
- Creating a report showing all Windows Server 2008 R2 servers
- Managing fine-grained password policies in Active Directory
- Discovering Organisational Units that are not protected against accidental deletion
- Give an overview of Active Directory automation
- Manage Users and Groups using Windows PowerShell
- Manage Computers and Other Active Directory Objects using Windows PowerShell
Module 6: Windows PowerShell Scripts
In this module candidates will learn about the basic Windows PowerShell scripts that execute a batch of shell commands in a single operation. The module points out the security concerns associated with scripting, and how to configure and control the shell's security settings that relate to scripting. The module also explains how to write basic scripts that execute batches of commands, and how to parameterise scripts in order to make them more flexible in a variety of situations.
Lessons:
- Script Security
- Basic Scripts
- Parameterised Scripts
- Executing scripts
- Using positional script parameters
- Using named script parameters
- Identify security concerns associated with scripting
- Write basic scripts
- Write parameterised scripts
Module 7: Background Jobs and Remote Administration
In this module candidates will learn how to work with Windows PowerShell's background jobs and remote administration functionality. The module shows how to create, monitor, and manage local background jobs, and receive results from completed jobs. The module also covers how to configure Windows PowerShell remoting both locally and in a domain environment and how to create and manage session connections to remote computers, and how to use those session connections in one-to-one remote shell instances as well as one-to-many remote command invocation. Finally, the module shows how to invoke remote commands as background jobs, and how to manage those jobs and receive results from them.
Lessons:
- Working with Background Jobs
- Using Windows PowerShell Remoting
- Using background jobs with WMI
- Using background jobs for local computers
- Receiving the results from a completed job
- Removing a completed job
- Waiting for a background job to complete
- Stopping a background job before it completes
- Working with the properties of a job
- Interactive remoting
- Fan-out remoting
- Fan-out remoting using background jobs
- Saving information from background jobs
- Work with Background Jobs
- Use Windows PowerShell Remoting
Module 8: Advanced Windows PowerShell Tips and Tricks
In this module candidates will learn several advanced Windows PowerShell techniques. While these techniques do not contribute directly to any particular business goal, they do enable more efficient use of the shell itself, which leads to more efficient administration and automation. The module shows how to use profiles to consistently configure the shell environment, and how to use several techniques for effectively re-using and sharing existing modularised scripts. The module also points out best practices and techniques related to script documentation.
Lessons:
- Using Profiles
- Re-Using Scripts and Functions
- Writing Comment-Based Help
- Writing a profile script
- Creating a script module
- Adding help information to a function
- Use Profiles
- Re-Use Scripts and Functions
- Write Comment-Based Help
Module 9: Automating Windows Server 2008 R2 Administration
In this module candidates will get an opportunity to complete several real-world administration tasks related to Windows Server 2008 R2. The module provides minimal instruction on how to use the cmdlets and techniques required to accomplish the lab portion of this module; instead, it allows candidates to utilise the skills they have learned in the preceding modules of this course.
Lessons:
- Windows Server 2008 R2 Modules Overview
- Server Manager Cmdlets Overview
- Group Policy Cmdlets Overview
- Troubleshooting Pack Overview
- Best Practices Analyser Cmdlets Overview
- IIS Cmdlets Overview
- Listing all currently installed features
- Comparing objects
- Installing a new server feature
- Exporting current configuration to XML
- Listing all the Group Policy Objects in the domain
- Creating a text-based report
- Creating an HTML report
- Backing up all Group Policy Objects
- Importing the Troubleshooting Pack module
- Solving an end-user problem interactively
- Solving a problem using answer files
- Importing the Best Practice module
- Viewing existing models
- Running a Best Practices scan
- Importing the IIS module
- Creating a new web site
- Backing up IIS
- Modifying web site bindings
- Using the IIS PSDrive
- Restoring an IIS Configuration
- Give an overview of Windows Server 2008 Modules
- Give an overview of Server Manager Cmdlets
- Give an overview of Group Policy Cmdlets
- Give an overview of Troubleshooting Pack
- Give an overview of Best Practices Analyser Cmdlets
- Give an overview of IIS Cmdlets
Module 10: Reviewing and Reusing Windows PowerShell Scripts
One of the primary skills that administrators need is the ability to take a script that someone else has written, review that script to understand what it does, and identify areas of that script that may need to be modified to run in their environment. This module aims to give candidates these skills.
Lessons:
- Example Script Overview
- Understanding Scripts
- Review a complete, real-world script
- Develop an expectation of what a script will do by reviewing a script
Module 11: Writing Your Own Windows PowerShell Scripts
In this module candidates will learn about the concepts and techniques related to structured scripting and programming within Windows PowerShell. The module describes how to create, manage, and use variables. The module introduces the complete "scripting language" of Windows PowerShell, which consists of several programming constructs. This module also covers advanced topics and techniques related to structured programming within Windows PowerShell, and explains how to trap and handle errors that occur during script execution, and the proper techniques and practices for debugging a script that is not executing as expected. The module shows how to modularise scripts into a variety of reusable functions, with the ultimate goal of producing a function that mimics the structure of a shell cmdlet.
Lessons:
- Variables, Arrays, Escaping, and More Operators
- What is Scope?
- Scripting Constructs
- Error Trapping and Handling
- Debugging Techniques
- Modularisation
- Creating variables and interact with them
- Understanding arrays and hashtables
- Using Single- and double-quoted strings and the backtick
- Using Arrays and array lists
- Using 'Contains', 'like', and 'equals' operators
- Processing and validating input
- Working with For, While, ForEach, and Switch
- Exploiting the power of the one-liner
- Retrieving error information
- Handling errors
- Integrating error handling
- Debugging from the Windows PowerShell console
- Debugging using the Windows PowerShell ISE
- Generating an inventory audit report
- Use Variables, Arrays, Escaping, and More Operators
- Explain Scope
- Use Scripting Constructs
- Trap and handle errors
- Apply Debugging Techniques
- Use Modularisation
