Course ID: #10961

PowerShell 7 – Automation Fundamentals

Duration: 5 days Dates: 30 November 2026 1 March 2027 14 June 2027 30 August 2027

This course introduces you to automation with PowerShell 7 – the cross-platform evolution that is installed alongside Windows PowerShell 5.1. You work with objects in the pipeline, query system information and turn individual commands into reusable scripts, functions and modules. Finally, you manage multiple systems at once via remoting and automate recurring tasks.

Getting to Know and Setting Up PowerShell 7

  • Windows PowerShell 5.1 vs. PowerShell 7: .NET foundation, side-by-side installation, pwsh.exe, use on Windows, Linux and macOS
  • Release model with LTS and Stable versions, installation and updates, on Windows also via Microsoft Update
  • Working environment: console, Visual Studio Code with the PowerShell extension, profiles
  • Finding help and commands: Update-Help, Get-Help, Get-Command, Get-Member, aliases

Working with Commands and the Pipeline

  • Cmdlet syntax, parameters and splatting
  • Selecting, sorting, grouping and measuring objects in the pipeline, filtering with Where-Object and processing with ForEach-Object
  • Understanding ByValue and ByPropertyName parameter binding and using it deliberately
  • Formatting and redirecting output, exporting, importing and converting data as CSV, JSON and XML

Providers, Files and System Information

  • PSProvider and PSDrives: file system, registry, certificate store, environment variables
  • Managing files and folders, evaluating text files, character encoding (UTF-8 without BOM as the default)
  • Querying and changing system information with the CIM cmdlets – the WMI v1 cmdlets no longer exist in PowerShell 7
  • Evaluating services, processes and event logs with Get-WinEvent

Modules and Packages

  • Finding, loading and managing modules, understanding PSModulePath
  • Installing and updating modules from the PowerShell Gallery with Microsoft.PowerShell.PSResourceGet
  • Continuing to use Windows PowerShell modules via Windows PowerShell compatibility

From Command to Script

  • Variables, data types, arrays, hash tables and PSCustomObject
  • Operators, including those introduced with PowerShell 7: the ternary operator, pipeline chain operators, null coalescing operators and null conditional operators
  • Control structures: if, switch, foreach, while
  • Execution policies, script signing and the secure handling of credentials

Functions, Error Handling and Your Own Modules

  • Functions with parameters, basic parameter validation and comment-based help
  • Error handling with try, catch and finally, ErrorActionPreference, the ConciseView error view and Get-Error
  • Providing your own functions as a script module

Remote Management

  • Setting up PowerShell remoting over WinRM and over SSH
  • Running commands on multiple computers with Invoke-Command, using persistent sessions (PSSession)
  • Remotely managing servers without a graphical interface, such as Server Core

Jobs and Parallelisation

  • Starting and evaluating background jobs and thread jobs
  • Speeding up processing with ForEach-Object -Parallel
  • Running scripts on a schedule via Windows Task Scheduler
  • Final exercise: capturing an inventory of multiple servers by script and exporting it as a report
Learning Solution

Blended Learning, Firmenseminar, Individualcoaching, Klassenraumtraining, Online Live Webinar

Language

Deutsch, Englisch, Französisch, Italienisch

Dates

2026/11/30, 2027/03/01, 2027/06/14, 2027/08/30, flexibel, auf Anfrage

Location

Brüttisellen, Lausanne, flexibel, auf Anfrage

Administrators of Windows, Linux and cloud environments, as well as IT support staff, who no longer want to perform recurring administrative tasks by hand.

Practical experience administering Windows or Linux is required. No programming knowledge is necessary.

After the course you will be able to:

  • install and update PowerShell 7 and run it alongside Windows PowerShell 5.1
  • find commands independently and filter, transform and export objects in the pipeline
  • evaluate and change files, the registry, services and system information via CIM
  • install modules from the PowerShell Gallery and create your own script modules
  • write scripts and functions with parameters and error handling
  • remotely manage multiple systems over WinRM or SSH and run tasks in parallel or on a schedule

Price range: CHF3'700 through CHF12'500 excl. VAT

Clear

SIGN UP

Newsletter

Receive news about new courses, offers and promotions by email.

← Back

Thank you for your response. ✨

Email Subscription
Amazon
VMware and Virtualisation