Publication date : 02/07/2024

Course : PowerShell Desired State Configuration

Practical course - 2d - 14h00 - Ref. DSC
Price : 1370 € E.T.

PowerShell Desired State Configuration




In a DevOps approach aimed at increasing operational efficiency between developers and administrators, you need to implement a mechanism that guarantees identical configuration on all machines. You'll learn how to quickly reconfigure your servers with PowerShell 5/4 (DSC and workflow).


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. DSC
  2d - 14h00
1370 € E.T.




In a DevOps approach aimed at increasing operational efficiency between developers and administrators, you need to implement a mechanism that guarantees identical configuration on all machines. You'll learn how to quickly reconfigure your servers with PowerShell 5/4 (DSC and workflow).


Teaching objectives
At the end of the training, the participant will be able to:
Guarantee standard configuration on all machines in a specific environment
Designing and setting up a PowerShell DSC script
Implementing Pull and Push modes in PowerShell DSC
Writing a workflow in the Windows PowerShell scripting language

Intended audience
Systems and network technicians, administrators and engineers.

Prerequisites
Good knowledge of Windows, PowerShell and AD, or equivalent to the course [ PowerShell 5/4, automating Windows administration " (ref. ATU).

Course schedule

1
DSC (Desired State Configuration) overview

  • DSC fundamentals.
  • Push mode, pull mode.
Storyboarding workshops

2
Push mode

  • Push mode principle.
  • Configuration scripts, MOF files (DMTF standard).
  • Presentation of nodes.
  • Compile and deploy with basic DSC cmdlets.
Hands-on work
Create a script for configuring and deploying a website, compiling and deploying it to a set of servers.

3
DSC and associated cmdlettes

  • Default configuration resources (localconfigurationManager).
  • Display and modify configuration.
  • Compilation, execution (start-dsconfiguration).
Hands-on work
Create a software package deployment script (copy file, create local groups, local users, modify registry key, decompress zip file).

4
Pull mode

  • Pull mode principle.
  • The xPSDesiredStateConfiguration module.
  • HTTPS, SMB server.
Hands-on work
Create a server configuration script. Install and configure Pull mode.

5
Customized resources

  • Schema and properties (schema.mof).
  • PowerShell module, manifest, folder structure, nested modules.
  • Get/Set/Test-TargetResource functions.
  • Creating new resources, using a configuration script.

6
Introduction to workflow

  • Workflow in PowerShell. Jobs.
  • The different modes of workflow operation.
  • PowerShell variables dedicated to workflow.

7
Simple workflow

  • The different operating modes.
  • Workflow declaration, different cmdlets.
  • Generated jobs.
  • Suspend, resume, restart a workflow.
Hands-on work
Create a simple workflow (copying files, installing roles and functions, restarting servers and resuming workflows).

8
Advanced workflow

  • Scripts in a workflow (inlinescript).
  • Workflow variables ($using, $psParentactivityID).
  • Parallel mode, sequences. Jobs.
Hands-on work
Create a parallel workflow (massive ping of 250 ip addresses in 3 seconds, role installation, parallel mode functionality on multiple servers with sequencers).


Customer reviews
4,1 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
STÉPHANE R.
27/11/25
4 / 5

Je pense qu’une journée supplémentaire permettrait d’appronfondir certains points car la formation est dense
LE NGHIEM V.
27/11/25
5 / 5

Très intéressant et très dense, il faut avoir un minimum de prérequis
JULIEN M.
18/09/25
4 / 5

This course requires a basic understanding of PowerShell.