Advanced Administration and Automation with PowerShell (M55626A) - Training Courses | Afi U.
afiU logo
Guaranteed to Run sessions View all courses
Training and Coaching

Cultivate a learning organization and develop talent.

Customer Experience

Optimize your processes for operational excellence.

Employee Experience

Engage, empower, and enhance employee well-being.

Artificial Intelligence

Master AI and automate your processes.

Leadership

Develop key skills to inspire and mobilize.

Digital Tools

Boost collaboration and productivity within your teams

Strategy and Performance

Align your goals for sustainable growth.

Digital Transformation

Leverage technology to innovate and accelerate your growth.

ContactFAQ

New

Advanced Administration and Automation with PowerShell (M55626A)

Private session

This training is available in a private or personalized format. It can be provided in one of our training centres or at your offices. Call one of our consultants of submit a request online.

Call now at 1 877 624.2344

  • Duration: 1 day
  • Regular price: On request

Course outline

Duration : 3 Days

© AFI Expertise inc.

This is a three-day course that will teach students how to automate administrative tasks using Windows PowerShell. 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.

Audience

Ce cours s’adresse aux professionnels de l’informatique ayant de l’expérience dans l’administration générale de Windows Server et Windows Client. Les participants devraient posséder des connaissances de base en Windows PowerShell.

De plus, ce cours offre des conseils de script aux développeurs qui soutiennent les environnements de développement et les processus de déploiement.

Prerequisites

Automatiser l’administration avec PowerShell (AZ-040T00) - Formations | Afi U.

Objectives

You will learn:

Automate administrative tasks with PowerShell
Create advanced functions and script modules
Manage pipeline input and output
Document and secure your scripts
Use the .NET Framework, REST API, XML, and JSON in PowerShell
Handle errors and debug scripts
Automate business processes and generate reports
Configure and secure servers with DSC and JEA
Understand and use PowerShell Workflow

Contents

Module 1: Creating Advanced Functions

This module explains how to parameterize a command into an advanced function.

Lessons

  • Converting a command into an advanced function
  • Creating a script module
  • Defining parameter attributes and input validation
  • Writing functions that accept pipeline input
  • Producing complex pipeline output
  • Documenting functions using comment-based help
  • Supporting -WhatIf and -Confirm parameters

Labs

  • Converting a command into an advanced function
  • Creating a script module
  • Defining parameter attributes and input validation
  • Writing functions that accept pipeline input
  • Producing complex pipeline output
  • Documenting functions using comment-based help
  • Supporting -WhatIf and -Confirm

Module 2: Using Microsoft .NET Framework and REST API in Windows PowerShell

This module explains how to use Microsoft .NET Framework and REST API to supplement the functionality provided by Windows PowerShell commands.

Lessons

  • Using Microsoft .NET Framework in Windows PowerShell
  • Using REST API in Windows PowerShell

Labs

  • Using Microsoft .NET Framework in Windows PowerShell
  • Using REST API in Windows PowerShell

Module 3: Writing Controller Scripts

This module explains how to combine advanced functions to perform a specific task and a controller script that provides a user interface or automates a business process.

Lessons

  • Introduction to controller scripts
  • Writing controller scripts that display a user interface
  • Writing controller scripts that produce reports

Labs

  • Writing controller scripts that display a user interface
  • Writing controller scripts with a text-based menu
  • Writing functions to be used in the controller script
  • Writing a controller script that produces HTML reports

Module 4: Handling Script Errors

This module explains how to perform basic error handling in scripts.

Lessons

  • Understanding error handling
  • Handling errors and timeouts in a script

Lab

  • Handling errors in a script

Module 5: Using XML, JSON, and Custom-Formatted Data

This module explains how to read, manipulate, and write data in XML and JSON format.

Lessons

  • Reading, manipulating, and writing XML-formatted data
  • Reading, manipulating, and writing JSON-formatted data
  • Reading and manipulating custom-formatted data

Lab

  • Reading, manipulating, and writing XML-formatted data

Module 6: Enhancing Server Management with Desired State Configuration and Just Enough Administration

This module explains how to write DSC configuration files, deploy them to servers, and monitor server configurations. It also explains how to restrict administrative access using Just Enough Administration (JEA).

Lessons

  • Understanding Desired State Configuration (DSC)
  • Creating and deploying a DSC configuration
  • Implementing Just Enough Administration (JEA)

Labs

  • Creating and deploying a DSC configuration
  • Configuring and using JEA

Module 7: Analyzing and Debugging Scripts

This module explains how to use native Windows PowerShell features to analyze and debug existing scripts.

Lessons

  • Debugging in Windows PowerShell
  • Analyzing and debugging an existing script

Lab

  • Analyzing and debugging an existing script

Module 8: Understanding Windows PowerShell Workflow

This module explains the features of Windows PowerShell Workflow technology.

Lessons

  • Understanding Windows PowerShell Workflow

Lab

  • Creating and running a Windows PowerShell Workflow