Course : PowerShell Desired State Configuration

Practical course - 2d - 14h00 - Ref. DSC
Price : 1400 € 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
1400 € 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

I think that an extra day would allow us to go into more detail on certain points, as the training is very dense.
LE NGHIEM V.
27/11/25
5 / 5

Very interesting and very dense, you need to have a minimum of prerequisites
JULIEN M.
18/09/25
4 / 5

This course requires a basic understanding of PowerShell.



Publication date : 02/07/2024



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.

Dates and locations

Dernières places
Date garantie en présentiel ou à distance
Session garantie
From 4 to 5 November 2027
FR
Remote class
Registration
From 4 to 5 November 2027
EN
Remote class
Registration

REMOTE CLASS
2027 : 4 Nov., 4 Nov.



This programme is an original creation, developed by the teaching teams at ORSYS Formation. Any reproduction, representation, adaptation or use, in whole or in part, without the prior written authorisation of ORSYS, is strictly prohibited. ORSYS reserves the right to take any action necessary to protect its intellectual property rights.