Automating Administration with Windows PowerShell® (MS10961)
This five day course provides students with the fundamental knowledge and skills to use Windows PowerShell 4.0 for administering and automating administration of Windows based servers. It focuses on primary Windows PowerShell command-line features and techniques, and will provide pre-requisite skills supporting a broad range of Microsoft products, including Windows Server, Windows Client, Exchange Server, SharePoint Server, SQL Server, System Center, and more.
難易度: COURSES.L_LEVEL_0
課程總時數: 40 小時
課堂數: 5
開課日期: 2017-10-09
星期幾:
NTD 3,500

課程說明

Course Overview

Learn how with Windows PowerShell 4.0, you can remotely manage multiple Windows based servers and automate day to day management and administration tasks.
The course is built on Windows Server 2012 R2 and Windows 8.1 and while it is specifically focused on Windows PowerShell v4.0, is also relevant in v2.0 and v3.0 Windows PowerShell environments

This five day course provides students with the fundamental knowledge and skills to use Windows PowerShell 4.0 for administering and automating administration of Windows based servers. It focuses on primary Windows PowerShell command-line features and techniques, and will provide pre-requisite skills supporting a broad range of Microsoft products, including 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 five day course you will learn to execute and monitor scripts more efficiently through more robust session connectivity, workflow capabilities, enhanced 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. Learn all this and more in this five-day Microsoft Official Course in Windows PowerShell 4.0.

Who Should Attend

  • This course is intended for IT Professionals already experienced in general Windows Server and Windows Client administration or already experienced in administering and supporting Application servers and services including applications like Exchange, SharePoint, and SQL. It is broadly intended for 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.

  • This course is not intended to be a scripting or programming course, and includes only basic coverage of scripting and programming topics. Students are not expected to have prior scripting or programming experience, and are not expected to have prior Windows PowerShell experience

Course Certifications

This course is part of the following Certifications:

Prerequisites

Before attending this course, students must have:

  • 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/Windows Server 2012 R2 and Windows 8/Windows 8.1 would be of benefit but is not essential.

Course Objectives

After completing this course, students will be able to:

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

Module 1 : Getting Started with Windows PowerShell

This module introduces students to Windows PowerShell , its purpose and history . The module will also cover tthe basics of using the shell, including the help system , command syntax , command discovery explaining the use of the two built-in host applications.

Lessons:

  • Overview and Background
  • Finding and Learning Commands
  • Running Commands

Lab : Configuring Windows PowerShell

Lab : Finding and Running Basic Commands

After completing this module , students will be able to :

  • Open and configure Windows PowerShell
  • Discover , learn , and run WIndows PowerShell Commands
  • Run commands by using correct and parameter syntax

Module 2 : Working with the Pipeline

This module covers the WIndows PowerShell pipeline along with a number of additional techniques and commands , including customizing command output , exporting and converting data , sorting objects , filtering objects and enumerating objects allowing for the overall retrieveal , manipulation and displaying of data.

Lesson

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

Lab : Using the Pipeline

Lab : Converting , Exporting and Importing Objects

Lab : Filtering Obejcts

Lab : Enumerating Objects

After compelting this module , students will be able to :

  • Describe the purpose of the WIndows PowerShel pipeline
  • Maniputlate objects in the pipeline
  • Convert, export and import objects
  • Filter objects out of the pipeline
  • Emunerate Objects in the pipeline

Module 3 ; Understanding how the pipeline works

This module explains the underlying details of how Windows PowerShell passes objects from command to command withtin the pipeline. Having seen it in action in the previous module will now get to see some of the theory under the hood . The empahsis will be on two specific techniques used by the shell and students will leanr to explaint he pipeline operation , predict command behaviour and allows them to contruct more usedful , predictable commands.

Lessons

  • Passing Data in the Pipeline By Value
  • Passing Data in the Pipeline by Property Name

Lab : Working with pipeline Parameter Binding

After completing this module , students will be able to :

  • Pass data by using the ByVaue technique
  • Pass data by using the ByPropertyName technique

Module 4 : Using PSProviders and PSDrives

This module explains the purpose and use of Windows PowerShell PSProviders and PSDrivers and shows students how to use these useful components for administrative tasks.Students will also learn to use the-item* commadn to manipulate items within a PSDrive.

Lessons

  • Using PSProviders
  • Using PSDrives

Lab : Using PSProviders and PSDrives

After completing this module , students will be able to :

  • Explain the purpose and use of PSProviders
  • Explain the purpose and use of PSDrives

Module 5 : Formatting Output

This module demonstrates how to format command output and how to create custom output elements.

Lessons

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

Lab : Formatting Output

After completing this module , students will be able to :

  • Format command output by using basic formatting commands
  • Format command output by using advanced formatting options
  • Redirect Formatted output

Module 6 : Querying Management Information by Using WMI and CIM

This module explains Windows Managemennt Instrumentation (WMI) and Common Information Model(CIM) and shows students how to retrieve and in some cases modify management information about local and remote computers.

Lessons

  • Understanding WMI and CIM
  • QQuerying Data with WMI and CIM
  • Making Changes by Using WMI and CIM

Lab : Working with WMI and CIM

After completing this module , students will be able to :

  • Explain the differences between WMI and CIM
  • Query management information by using WMI and CIM
  • Invoke methods by using WMI and CIM

Module 7 : Preparing fopr Scripting

This module prepares students for writing scripts with WIndows PowerShell , covering the Windows PowerShell security model and the use of varibales.

Lessons:

  • Using Variables
  • Scripting Security

Lab : Working with Security in Windows PowerShell

After completing this module , students will be able to :

  • Create, use , and manage variables
  • Configure shell scripting security

Module 8 : Moving from a Command to Script to Module

This module shows students how to take a command that runs well in the console and turn it into a parameterized , reusable script , and how to evolve that script into a standalone script module. Students will learn the foundations needed to create their own reusable tools.

Lessons

  • Moving from Command to Script
  • Moving from Script to Function to MOdule
  • Implementing Basix Error Handling
  • Using Basic Scripting Constructs
  • Exploring Other Scripting Features

Lab : Moving from Command to Script

Lab : Moving From Script to function to Module

Lab : Implementing Basic Error Handling

Lab : Create an Advanced Function

After completing this module , students will be able to :

  • Move from Commands to Script
  • Move from Scripts to Function to Module
  • Implement basic error handling
  • Implement basic scripting constructs
  • Explain additional advanced Windows PowerShell scripting features

Module 9 : Administering Remote Computers

This module explains Windows PowerShell remoting and shows stuents how to configure and use remoting to manage multiple remote computers.

Lessons

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

Lab : Using Basic Remoting

Lab : Using Remoting Sessions

After completing this module , students will be able to :

  • Describe remoting architecture and security , manually enabling remoting , and use remoting for one-to-one and one-to-many connections
  • Pass local variables to remote computers
  • Create and manage persisten remoting sessions and use implicit remoting

Module 10 : Putting it all together

This module offers students an opportunity to use eeverything they have learned so far. Students will discover , learn , and run commands that perform a complex, real-world administrative task.

Lessons

  • Provisioning a New Server Core Instance

Lab : Provisioning a New Server Core Installation

After completing this module , students will be able to :

  • Plan your Windows PowerShell Script
  • Configure Server Core Computers using Windows PowerShell

Module 11 : Using Background and Scheduled Jobs

In this module , students will learn to create and manage background jobs and scheduled jobs

Lessons

  • Using Background Jobs
  • Using Scheduled Jobs

After completing this module , students will be able to ;

  • Create and manage Background Jobs
  • Create and manage Scheduled Jobs

Module 12 : Using Profiles and Advanced PowerShell techniques

This module covers a variety of additional advanced Windows PowerShell features and techniques including additional comparison operators, use of alternate credentials , creation of profile scripts, manipulating of strings and date objects.

Lessons

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

Lab : Practicing Advanced Techniques

After completing this module , students will be able to :

  • Manipulate and objects by using advanced techniques and operators
  • Create and manage profile scripts
  • Connect to remote computers by using alternate credentials.