Windows PowerShell Scripting and Toolmaking

Similar documents
Course 55039A: Windows PowerShell Scripting & Toolmaking

If attending this course via Extended Classroom., the course requires you to have a dual screen setup.

Windows PowerShell Scripting and Toolmaking

Windows PowerShell Scripting and Toolmaking (PowerShell v3.0) (55039)

[MS10962]: Advanced Automated Administration With Windows PowerShell

Changeable information Lesson 2 Creating a Parameterized Script Best practices Lab A Creating a Parameterized Script...

Course Outline. Advanced Automated Administration with Windows PowerShell Course 10962: 3 days Instructor Led

Windows PowerShell Scripting and Toolmaking

COURSE 10962B: ADVANCED AUTOMATED ADMINISTRATION WITH WINDOWS POWERSHELL

COURSE 10961B: AUTOMATING ADMINISTRATION WITH WINDOWS POWERSHELL

Advanced Automated Administration with Windows PowerShell

PowerShell 10961: Automating Administration with Windows PowerShell. Upcoming Dates. Course Description. Course Outline

Course Outline. Automating Administration with Windows PowerShell Course 10961B: 5 days Instructor Led

Automating Administration with Windows PowerShell 2.0

ADVANCED AUTOMATED ADMINISTRATION WITH WINDOWS POWERSHELL

Automating Administration with Windows PowerShell

[MS10961]: Automating Administration with Windows PowerShell

Microsoft Windows PowerShell v2 For Administrators

Automating Administration with Windows PowerShell (M10961)

Advanced Automated Administration with Windows PowerShell

MS_ Advanced Automated Administration With Windows PowerShell.

Advanced Automated Administration with Windows PowerShell (MS-10962)

At Course Completion: Course Outline: Course 20742: Identity with Windows Server Learning Method: Instructor-led Classroom Learning

Course Outline: Course Automating Administration with Windows PowerShell v3.

Corporate Training Centre (306)

COURSE OUTLINE. COURSE OBJECTIVES After completing this course, students will be able to: 1 - INSTALLING & CONFIGURING DCS

10961B: Automating Administration with Windows PowerShell

: 10961C: Automating Administration With Windows PowerShell

Automating Administration with Windows PowerShell

Automating Administration with Windows PowerShell V3

Introduction to Web Development with Microsoft Visual Studio 2010

Implementing a Microsoft SQL Server 2005 Database Course 2779: Three days; Instructor-Led

METHODOLOGY This program will be conducted with interactive lectures, PowerPoint presentations, discussions and practical exercises.

"Charting the Course... MOC C: Automating Administration with Windows PowerShell. Course Summary

Identity with Windows Server 2016

COURSE OUTLINE: OD10961B Automating Administration with Windows PowerShell

Corporate Training Centre (306)

Advanced Automated Administration with Windows PowerShell

Identity with Windows Server 2016

: 20488B: Customized Developing Microsoft SharePoint Server

M20742-Identity with Windows Server 2016

Automating Administration with Windows PowerShell

20742: Identity with Windows Server 2016

Course 10961: Automating Administration with Windows PowerShell

SharePoint 2013 Power User

MS 20488: Developing Microsoft SharePoint Server 2013 Core Solutions Duration: 5 Days Method: Instructor-Led

Developing Microsoft SharePoint Server 2013 Core Solutions

2554 : Administering Microsoft Windows SharePoint Services and SharePoint Portal Server 2003

Course 20488A: Developing Microsoft SharePoint Server 2013 Core Solutions

Developing Web Applications Using Microsoft Visual Studio 2008 SP1

Administering Windows Server 2012

Course Outline: Course 10267A: Introduction to Web Development with Microsoft Visual Studio 2010 Learning Method: Instructor-led Classroom Learning

Developing Microsoft SharePoint Server 2013 Core Solutions

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET

10961B: Automating Administration with Windows PowerShell

Product Page:

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days

Introduction to Web Development with Microsoft Visual Studio 2010

5061 : Implementing Microsoft Office SharePoint Server 2007

Microsoft Automating Administration with Windows PowerShell

SharePoint 20488: Developing Microsoft SharePoint Server 2013 Core Solutions. Upcoming Dates. Course Description. Course Outline

Implementing and Maintaining Microsoft SQL Server 2008 Integration Services

Course Outline: Course : Core Solutions Microsoft SharePoint Server 2013

2779 : Implementing a Microsoft SQL Server 2005 Database

Microsoft Official Courseware Course Introduction to Web Development with Microsoft Visual Studio

DE-2310 Developing Web Applications Using Microsoft Visual Studio 2008 SP1

[MS20334]: Core Solutions of Skype for Business 2015

COURSE 20488B: DEVELOPING MICROSOFT SHAREPOINT SERVER 2013 CORE SOLUTIONS

SharePoint 2010 and 2013 Auditing and Site Content Administration using PowerShell

Accelerated SQL Server 2012 Integration Services

Developing Microsoft SharePoint Server 2013 Core Solutions

SharePoint 2013 Site Collection and Site Administration

Course 20488: Developing Microsoft SharePoint Server 2013 Core Solutions

55033: SHAREPOINT 2013 SITE COLLECTION AND SITE ADMINISTRATION

10997: Office 365 Administration and Troubleshooting

NE Administering Windows Server 2012

Microsoft SharePoint 2010, Application Development

10961C: Automating Administration with Windows PowerShell

DE Introduction to Web Development with Microsoft Visual Studio 2010

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Planning and Deploying System Center 2012 Configuration Manager

Administering a SQL Database Infrastructure (M20764)

Developing Workflow Applications with Red Hat JBoss BPM Suite with exam (JB428)

Designing Database Solutions for Microsoft SQL Server 2012

Administering Windows Server 2012 (NI104)

Developing SQL Data Models

Introduction to Web Development with Microsoft Visual Studio 2010 (10267A)

[MS20743]: Upgrading Your Skills to MCSA: Windows Server 2016

Office 365 Administration and Troubleshooting

Introduction to Programming

Planning and Administering SharePoint 2016

The Great SharePoint 2016/2013 Adventure for Developers

Developing Microsoft SharePoint Server 2013 Core Solutions Course Contact Hours

SHAREPOINT DEVELOPMENT FOR 2016/2013

Designing Database Solutions for Microsoft SQL Server 2012

Identity with Microsoft Windows Server 2016 (MS-20742)

Designing Database Solutions for Microsoft SQL Server 2012

Windows Server : Administering Windows Server 2012 R2. Upcoming Dates. Course Description. Course Outline

Core Solutions of Skype for Business 2015

Implementing an Advanced Server Infrastructure

Transcription:

Windows PowerShell Scripting and Toolmaking 55039A; 5 Days, Instructor-led Course Description This five-day instructor-led course is intended for IT Professionals who have a working knowledge of Windows PowerShell 3.0 techniques and technologies, and who want to build reusable tools by using Windows PowerShell 3.0. Students of this course may administer a wide variety of server and client products and technologies that offer Windows PowerShell integration, including Microsoft Exchange Server, Microsoft Windows Active Directory Domain Services, Microsoft SharePoint Server, and more. This course focuses on the Windows PowerShell scripting language, and on the concepts and techniques needed to produce reusable, professional tools. At Course Completion After completing this course, students will be able to: Design tools, including input requirements, output requirements, and functional requirements Write tools, including scripting, parameterizing commands, and providing verbose output Debug tools and provide error handling within tools Combine tools into script and manifest modules Create custom formatting views Create tools that are consistent in naming and operation with native Windows PowerShell tools Audience This course is intended for administrators that have little or no programming experience, but who have a working knowledge of Windows PowerShell and who are able to use Windows PowerShell to run complex, interactive commands. Prerequisites Before attending this course, students must have: Experience in administering Windows server and client computers Experience in running interactive Windows PowerShell commands from the command prompt Course 10961 is strongly recommended as a pre-requisite to this course

Course Outline Module 1: Preparing for Scripting This module explains how to prepare the environment for scripting, and provides refresher and background information for scripting. Securing the Scripting Environment Understanding Variables and Operators Understanding Scripting Constructs and Scope Describe and set the execution policy Run Windows PowerShell scripts Use variables and operators Describe and use scripting constructs Describe the operation of Windows PowerShell scope Module 2: Parameterizing a Command This module explains how to start with an existing command and parameterize it to create a reusable tool. Designing Parameters Implementing Parameters Lab: Parameterizing a Command Identify changeable values Declare parameters Use parameters in place of changeable values Test the script Evolve a command into a parameterized script

Module 3: Creating a Script Module This module explains how to turn a basic script into a script module that can be distributed, loaded, and unloaded in Windows PowerShell. Designing Script Modules Implementing Script Modules Lab: Creating a Script Module Creating a Script Module Saving the script module Adding a module-level variable Controlling module member visibility Testing the script module Create a script module based upon an existing script or function Module 4: Handling Errors This module explains how to trap and handle errors within a script module. Designing Error Handling Implementing Error Handling Lab: Handling Errors Using the Try Catch Construct Handling Command Errors Handling Non-Command Errors Logging Errors to a File Displaying Warning Messages Describe and use the Try Catch construct Handle command errors Handle non-command errors Log errors to a file Display warning messages

Module 5: Writing Commands that Use Pipeline Input and Output This module explains how to write commands that integrate with the Windows PowerShell pipeline. Students will create commands that produce pipeline output and that accept pipeline input. Understanding Pipeline Parameter Binding Implementing Pipeline Parameter Input Implementing Pipeline Parameter Input Lab: Writing Commands that Use Pipeline Input and Output Adding Pipeline Input Capability to Parameters Working with Pipeline Input Creating Custom Output Objects Outputting Objects to the Pipeline Create commands that accept pipeline input Create commands that consolidate multiple data sources into Windows PowerShell pipeline output Module 6: Creating Hierarchical Command Output This module explains how to create, and use, object-oriented output that includes object hierarchies. Designing Complex Command Output Implementing Complex Command Output Using Object Hierarchies Lab: Creating Hierarchical Command Output Retrieving and Enumerating Data Creating Child Objects Creating the Parent Object Displaying and Object Hierarchy Persisting an Object Hierarchy Create hierarchical, object-oriented command output Use hierarchical, object oriented command output

Module 7: Debugging Scripts This module explains Windows PowerShell techniques used to debug scripts, and provides students with opportunities to practice debugging skills. Designing Scripts for Debugging Implementing Script Debugging Lab: Debugging Scripts Using Write-Debug Using PSBreakpoints Debug scripts by using Write-Debug Debug scripts by using PSBreakpoints Module 8: Customizing Default Formatting This module explains how to create a custom formatting view that can be added to a script module. Designing Formatting Implementing Custom Formatting Lab: Customizing Default Formatting Adding a Custom Type Name to an Object Creating a DefaultDisplayPropertySet Type Extension Creating a Custom View Adding Type Extensions and Views to Modules and Creating a Module Manifest Create custom type extensions Create custom views

Module 9: Adding Advanced Parameter Attributes and Command Documentation This module explains how to declare parameter aliases, help messages, and input validation. It also explains how to implement switch parameters, how to add support for the WhatIf and Confirm parameters, and how to add comment-based help to a command. Implementing Advanced Parameter Attributes Implementing Help Documentation Lab: Adding Advanced Parameter Attributes and Command Documentation Defining Aliases and Help Messages Defining Parameter Validation Adding Comment-Based Help Writing a Command that Uses Confirm and -WhatIf Add advanced parameter attributes, including aliases and validation Create comment-based documentation for commands Write commands that use WhatIf and Confirm parameters Module 10: Creating Controller Scripts This module explains how to create scripts that implement complex business processes by running multiple tools in a specified sequence. Designing Script Execution Implementing a Controller Script Lab: Creating Controller Scripts Creating a Controller Script Parameterizing a Controller Script Testing a Controller Script Debugging a Controller Script Implement controller scripts by combining specified tools Test and debug controller scripts

Module 11: Creating HTML-Based Reports This module explains how to write controller scripts that produce HTML-based management reports. Creating Basic HTML Reports Creating Enhanced HTML Reports Lab: Creating Reports by using HTML Creating Reports by using HTML Converting Objects into HTML Fragments Combining HTML Fragments Adding Basic Formatting Creating Enhanced HTML Fragments Applying Conditional Formatting Create basic and enhanced HTML reports that include specified management information Module 12: Creating Basic Workflows This module explains the key differences between Windows PowerShell functions and workflows, and shows students how to create a basic workflow. Understanding Workflows Implementing Workflows Lab: Creating Basic Workflows Importing the PSWorkflow Module Converting a Function to a Basic Worklfow Parallelizing Commands Describe the differences between a Windows PowerShell function and a workflow Convert a function to a workflow Run a workflow that includes parallel execution

Module 13: Working with XML Data This module explains how Windows PowerShell interprets, represents, and manipulates XML-based data. Understanding XML Implementing XML Manipulation Lab: Working with XML Data Loading XML Manipulating XML as an Object Hierarchy Selecting XML Elements by using XPath Modifying XML Saving XML Load, manipulate, and save data in XML formats Module 14: Using Advanced Scripting Techniques This module explains how to use advanced scripting techniques, including execution of external commands and graphical user interfaces. Using External Functionality Adding Graphical User Interface Elements Run external commands from inside Windows PowerShell Describe the process required to create a graphical user interface in Windows PowerShell Module 15: Creating Proxy Functions This module explains how to create proxy functions in Windows PowerShell. Designing Proxy Functions Implementing Proxy Functions

Lab: Creating Proxy Functions Generating a Proxy Function Template Modifying the Template Using the Proxy Function Bypassing a Proxy Function Create and modify proxy functions in Windows PowerShell Module 16: Building Tools in Windows PowerShell This module is a final exam for the course, and offers students the opportunity to build a complete tool, from scratch, using many of the techniques that they have learned in the preceding days. Designing the Tool Implementing the Tool Testing the Tool Lab: Building Tools in Windows PowerShell Designing the Tool Implementing the Tool Testing the Tool Design, create, and test tools in Windows PowerShell