Automating Windows Server 2008 Administration with Windows ...

8 downloads 230 Views 48KB Size Report
Before attempting this course, students should complete MOC 6430: ... In addition , it's recommended (but not required), that students complete MOC 2433: ...
Automating Windows Server 2008 Administration with Windows PowerShell • •

Course Number: 6434A Course Length: 3 Days

Course Overview This instructor-led course provides students with the knowledge and skills to utilize Windows PowerShell for administering and automating the administration of Windows Server 2008 via the command-line. The course focuses on cmdlets, language syntax, script structure, flow control, and implementation details of scripting administrative tasks using WMI, COM, and .NET.

Prerequisites Before attempting this course, students should complete MOC 6430: Planning and Administering Windows Server 2008 Servers (or have equivalent knowledge of administrative tasks). In addition, it’s recommended (but not required), that students complete MOC 2433: Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials (or have equivalent knowledge of scripting and automation in Windows).

Audience This course is intended for Windows administrators interested in automating Windows Server 2008 administration tasks, along with those looking for an interactive CLI environment for the Windows operating system. This course is also helpful to windows end users or developers who need to understand what is involved in Windows administration or CLI environments.

Certification Exam There is no certification exam associate with this course.

Course Outline Course Introduction

5m

Course Introduction

Module 01 - Introduction to Windows PowerShell

27m

Lesson: Introduction to Windows PowerShell What Is Windows PowerShell? Windows PowerShell Architecture The .NET Framework and Its Relationship to Windows PowerShell Use of WMI and COM in Windows PowerShell Examples of Extensions to Windows PowerShell Lesson: Installing Windows PowerShell in Windows Server 2008 Installing Windows PowerShell Using Server Manager Location of Windows PowerShell Executable and Configuration Files Windows PowerShell Default Security Settings Best Practices Demo: Installing PowerShell Module 01 - Review

Module 02 - Overview of Windows PowerShell Lesson: Overview of Objects What Is an Object? What Is an Object Class? Demo: Properties and Methods Demo: Dot Notation for Member Access .NET, COM, and WMI Objects Lesson: Working with Cmdlets Command Types What Is a Cmdlet? Cmdlets and Their Parameters Demo: Listing Available Cmdlets Demo: Invoking Cmdlets from the Windows PowerShell Prompt Parameters Cmdlet Output Lesson: Tab Expansion, Aliases, and History Features of Windows PowerShell Demo: Using Tab Expansion Demo: F7 and History What Are Aliases? Demo: Using the Set-Alias Cmdlet Lesson: Using Variables and Types What Is a Variable? What Is a Variable Type? Demo: Specifying a Variable Type Basic Arithmetic Operators Demo: Arithmetic Operators Assignment Operators Demo: Assignment Operators

1h 40m

Best Practices Tools Module 02 - Review

Module 03 - Building Pipelines for Assembly-Line Style Processing

1h

Lesson: Using Pipelines What Is a Pipeline? Multistage Pipelines Pipeline Processing Architecture Using the InputObject Parameter Instead of a Pipeline Using Pipelines for Calculations Demo: Using GetProcess Lesson: Using Arrays Scalar vs. Array Variables Associative Arrays Associative Array Assignment Array Operators Associative Array Dot Operator Demo: Associative Array Variables Lesson: Filtering and Iterating Through the Pipeline Filtering Objects Using the Where-Object Cmdlet Filtering Within Cmdlets Two Variants of foreach: Construct and Cmdlet Iterating Through Objects Using the ForEach-Object Cmdlet Lesson: Reordering Objects in a Pipeline Reordering Objects with the Sort-Object Cmdlet Demo: RSoD Best Practices Tools Module 03 - Review

Module 04 - Managing Processes and Formatting Cmdlet Output Lesson: Managing Windows Processes with Windows PowerShell Viewing Process Details Filtering Processes by Property Stopping Processes Launching Processes Viewing, Starting, and Stopping Services Lesson: Formatting Cmdlet Output Default Formatter and Output Cmdlets Alternatives to the Out-Default Cmdlet Default Formatting in Windows PowerShell Using the Format-Wide, Format-Table, Format-List, and Format-Custom Cmdlets Demo: Basic Formatting Control Selecting Properties to Print Using Select-Object Formatting Strings with the -f Operator and .NET Demo: Formatting with the -f Operator Demo: Advanced Formatting

1h 1m

Best Practices Tools Module 04 - Review

Module 05 - Introduction to Scripting with Windows PowerShell

1h 2m

Lesson: Writing Windows PowerShell Scripts What Is a Script? Returning Values from a Script Demo: Trapping Errors What Is Scope? Lesson: Script Parameters Two Kinds of Script Parameters Parameters as an Argument Array Script Parameters with a Named Parameter Block Demo: Running Scripts Lesson: Security in Windows PowerShell Execution Policy Security Levels Signing Scripts Working with Credentials Lesson: Customizing Windows PowerShell with Profiles What Are Windows PowerShell Profile Files? Demo: Customizing Profiles Scope of Windows PowerShell Profiles Best Practices Tools Module 05 - Review

Module 06 - Implementing Flow Control and Functions Lesson: Controlling the Flow of Execution Within Scripts What Is an Expression? Comparison Operators in Expressions Executing Parts of a Script Using if/else Constructs Using elseif with if/else Flow of Execution Based on the switch Construct Lesson: Iteration Flow Control Basic Iteration Constructs Iterating in General Using the for Construct Demo: Flow Control Lesson: Developing and Using Functions What Is a Function? Filters vs. Functions Styles of Function Parameters The Dot Operator Loading Functions into a Script or Profile Demo: Creating Functions Best Practices Tools Module 06 - Review

58m

Module 07 - Working with Files, the Registry, and Certificate Stores

1h 24m

Lesson: Using Data Stores Using Providers and *-PSDrive Cmdlets Introduction to the *-PSDrive Cmdlets Accessing Data Stores Cmdlets for Item Management Using the Set-Location and Get-ChildItem Cmdlets Accessing the File Store Demo: File Searching Lesson: Using Providers Accessing the Registry How to Add Keys to the Registry How to Add Values to the Registry Accessing Certificate Stores Demo: Modifying the Registry Lesson: Filtering and Selecting with Regular Expressions Reviewing Wildcards for Matching Name and Value Patterns Introduction to Regular Expressions Using Patterns with the –like and –match Operators Lesson: Implementing Event Log Management Accessing an Event Log Demo: Generating Reports Demo: Generating Security Reports Lesson: Persisting Objects in Files Exporting and Importing Aliases Saving and Exporting Objects Using CSV and HTML Formats Saving and Exporting Objects Using CLiXML Format Importing Objects from Files Comparing Saved Versions of Objects with Current Instances Demo: Comparing Files Best Practices Tools Module 07 - Review

Module 08 - Managing the Windows Operating System Using Windows PowerShell and WMI Lesson: Introduction to WMI and WMI Objects What Is WMI? WMI Data Structures Demo: WMI Classes Get-WMIObject Cmdlet and [WMI] Type Accelerator Get-WMIObject Cmdlet and [WMICLASS] Type Accelerator Listing WMI Object Classes with Get-WMIObject -List Demo: Type Accelerators Lesson: Managing Disks and Disk Volumes Using Windows PowerShell with WMI Enumerating Disks and Volumes Defragmenting Disk Volumes Mounting and Dismounting Disk Volumes Demo: Managing Disk Volumes Lesson: Managing Shadow Copies Using Windows PowerShell with WMI

1h 6m

Volume Shadow Copies Configuring Volume Shadow Copies Listing Volume Shadow Copies Lesson: Managing Shared Folders with Windows PowerShell and WMI Listing Shared Folders with WMI Creating a Shared Folder with WMI and [WMICLASS] Lesson: Managing Terminal Services with WMI Terminal Services in Windows Server 2008 Terminal Services WMI Provider Getting Terminal Services WMI Classes Retrieving Terminal Services Information from WMI Configuring Terminal Services with Windows PowerShell and WMI Lesson: Managing IIS 7.0 with WMI Administering IIS 7.0 with WMI WMI Namespaces for IIS Management Best Practices Tools Module 08 - Review

Module 09 - Administering Microsoft Active Directory with Windows PowerShell

58m

Lesson: Administering Domains and Forests Using .NET Objects System.DirectoryServices.ActiveDirectory. Domain Class System.DirectoryServices.ActiveDirectory. Forest Class Transferring FSMO Roles Finding, Activating, and Decommissioning Global Catalog Servers Raising Domain Functionality and Forest Functionality Lesson: Managing User Accounts and Groups Using ADSI Active Directory Services Interface Creating User Accounts Creating Groups Lesson: Managing Relationships Between Users and Groups Setting Organizational Information: Job Title, Department, Company Assigning Manager Relationships Modifying Group Membership Demo: Managing ADDS Lesson: Web Administration Using IIS 7.0 IIS 7.0 .NET Interface Web.Administration Web Server Management Using Web.Administration Best Practices Tools Module 09 - Review

Module 10 - Administering Group Policy in Windows PowerShell Using COM Lesson: Managing GPOs Using the GPMC COM Interface Introduction to COM in Windows PowerShell Introduction to the GPMC GPMC COM API

55m

Discovering Modified GPOs Copying Settings from One GPO to Another Demo: GPO Management Lesson: Managing Group Policy Objects Searching for GPOs Backing Up GPOs Restoring GPOs Demo: Backup and Restore a GPO Lesson: Reporting Group Policy Resultant Set of Policy Generating HTML Reports Demo: Generating Reports Best Practices Tools Module 10 - Review Course Closure

Total Duration: 10h 39m