Course OD10962C: Advanced Automated Administration with Windows PowerShell® (90 Day)

Choose how you want to learn: online or in a classroom
Compare learning environments

On-demand training

Learn more

Classroom training

Learn more

Find a Microsoft Learning PartnerFind an on-demand training partnerFind a classroom training partner
Anytime accessYesNo
Anywhere access to recorded instructorYesNo
Microsoft official training contentYesYes
In-depth trainingYesYes
Hands-on labs Yes Yes
SATV redemption Yes Yes
Ask instructor questions in personNoYes
Attend live class in personNoYes
Attend live class remotelyNoYes
Time commitment Self-paced
(3 month access)
3 days
À propos de ce cours
Public(s) :IT Professionals
Technologie :Windows Server
Niveau :Advanced
Cette révision :C
Durée :2 days
Langue(s) :English

Première publication :

18 January 2018
Présentation
À propos de ce cours This course will teach students how to automate administrative tasks using Windows PowerShell 5.1. Students will learn core scripting skills such as creating advanced functions, writing controller scripts, and handling script errors. Students will learn how to works with Windows PowerShell Workflow, the REST API and XML and JSON formatted data files, Students will also learn how to use new administration tools such Desired State Configuration (DSC) and Just Enough Administration (JEA) to configure and secure servers. Profil du participant

This course is intended for IT professionals who are experienced in general Windows Server and Windows Client administration. Students should have a foundational knowledge of Windows PowerShell, which they can obtain by taking course 10961C: Automating Administration with Windows PowerShell. 

In addition, this course provides scripting guidance for developers who support development environments and deployment processes.

À la fin du cours

After completing this course, students will be able to:

  • Create advanced functions.
  • Use Microsoft .NET Framework and REST API in Windows PowerShell.
  • Write controller scripts.
  • Handle script errors.
  • Use XML, JSON, and custom formatted data.
  • Enhance server management with Desired State Configuration and Just Enough Administration.
  • Analyze and debug scripts.
  • Understand Windows PowerShell workflow.
Détails du cours
Course OutlineModule 1: Creating Advanced FunctionsIn this module students will learn how to parameterize a command into an advanced function. It is designed to teach several key principles in a single logical sequence, by using frequent hands-on exercises to reinforce new skills.Lessons
  • Converting a Command into an Advanced Function
  • Creating a Script Module
  • Defining Parameter Attributes and Input Validation
  • Writing Functions that use Multiple Objects
  • Writing Functions that Accept Pipeline Input
  • Producing Complex Function Output
  • Documenting Functions by using Content-Based Help
  • Supporting -Whatif and -Confirm
Lab : Converting a Command into an Advanced FunctionLab : Creating a Script ModuleLab : Defining Parameter Attributes and Input ValidationLab : Writing Functions that use Multiple ObjectsLab : Writing Functions that Accept Pipeline InputLab : Producing Complex Function OutputLab : Documenting Functions by using Content-Based HelpLab : Supporting -Whatif and -Confirm
After completing this module, students will be able to:
  • Parameterize a command and create an advanced function.
  • Convert a script and function into a script module.
  • Define parameter attributes and input validation for a function.
  • Enumerate objects by using scripting constructs.
  • Modify a function to accept pipeline input.
  • Produce complex pipeline output in a function.
  • Document a function by using comment-based Help.
  • Create functions that support –WhatIf and –Confirm.
Module 2: Using Cmdlets and Microsoft .NET Framework in Windows PowerShellWindows PowerShell provides commands that accomplish many of the tasks that you will need in a production environment. Sometimes, a command is not available but the .NET Framework provides an alternate means of accomplishing a task. Because Windows PowerShell is built on the .NET Framework, it is able to access those alternate means. In this module, you will learn how to discover and run Windows PowerShell commands, and how to use .NET Framework components from inside Windows PowerShell. These two techniques will provide you with the most flexibility and capability for accomplishing tasks in a production environment.Lessons
  • Running Windows PowerShell Commands
  • Using Microsoft .NET Framework in Windows PowerShell
Lab : Using .NET Framework in Windows PowerShell
After completing this module, students will be able to:
  • Discover Windows PowerShell commands by using the Help system.
  • Describe and use .NET Framework classes and instances in Windows PowerShell.
Module 3: Writing Controller ScriptsIn this module, students will learn how to combine tools – advanced functions that perform a specific task – and a controller script that provides a user interface or automates a business process.Lessons
  • Understanding Controller Scripts
  • Writing Controller Scripts that Show a User Interface
  • Writing Controller Scripts That Produce Reports
Lab : Writing Controller Scripts that Display a User InterfaceLab : Writing Controller Scripts That Produce HTML Reports
After completing this module, students will be able to:
  • Describe the difference between tools and controller scripts.
  • Write controller scripts that present a user interface.
  • Write controller scripts that automate a business process.
Module 4: Handling Script Errors
In this module, students will learn how to perform basic error handling in scripts. The focus will be about how to add error handling to existing tools, primarily as a time-saving mechanism (instead of having students write new tools). A side benefit of this approach is that it will help build the skills that you must have to analyze and reuse existing code written by someone else.
 
Lessons
  • Understanding Error Handling
  • Handling Errors in a Script
Lab : Handling Errors in a Script
After completing this module, students will be able to:
  • Describe the shell’s default error response mechanisms.
  • Add error handling code to existing tools.
Module 5: Using XML Data FilesIn this module, students will learn how to read, manipulate, and write data in XML files. XML files provide a robust, yet straightforward way to store both flat and hierarchical data. XML files are more flexible than CSV, more accessible for small amounts of data than SQL Server, and easier to code against that Excel automation.Lessons
  • Reading, Manipulating and Writing Data in XML
Lab : Reading, Manipulating and Writing Data in XML
After completing this module, students will be able to:
  • Read, manipulate, and write data in XML.
Module 6: Managing Server Configurations by Using Desired State ConfigurationIn this module, students will learn how to write Desired State Configuration (DSC) configuration files, deploy those files to servers, and monitor servers’ configurations.Lessons
  • Understanding Desired State Configuration
  • Creating and Deploying a DSC Configuration
Lab : Creating and Deploying a DSC Configuration
After completing this module, students will be able to:
  • Describe the architecture and deployment models of DSC.
  • Write and deploy DSC configuration files.
Module 7: Analyzing and Debugging ScriptsIn this module, students will learn how to use native Windows PowerShell features to analyze and debug existing scripts. These skills are also useful when students have to debug their own scripts.Lessons
  • Debugging in Windows PowerShell
  • Analyzing and Debugging an Existing Script
Lab : Analyzing and Debugging an Existing Script
After completing this module, students will be able to:
  • Describe the debugging features of Windows PowerShell.
  • Analyze and debug an existing script.
Module 8: Understanding Windows PowerShell Workflow
In this module, students will learn about the features of the Windows PowerShell Workflow technology.
Lessons
  • Understanding Windows PowerShell Workflow
After completing this module, students will be able to:
  • Describe the Workflow feature of Windows PowerShell.
Communauté

Vous recherchez des ressources de formation, des événements et des conseils d'homologues ? Rejoignez la communauté de formation et de certification Microsoft.

Vous vous préparez à un examen ? Trouvez votre groupe d'étude de certification Microsoft.

Parlez-nous sur les réseaux sociaux :