Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Windows Server with Powershell: Working with Pipeline 2
Rating: 4.5 out of 5(12 ratings)
7,260 students

Windows Server with Powershell: Working with Pipeline 2

Powershell for beginners. Learn how to use Pipeline and Work with Objects: Enumerating, Passing Data by Value/ by Name
Created byVitalii Shumylo
Last updated 10/2026
English
English [Auto],

What you'll learn

  • Make up the Commands for Automation Administrative Tasks
  • Working with the Pipeline
  • Enumerating Objects in the Pipeline
  • Passing Data in the Pipeline by Value
  • Passing Data in the Pipeline by Property Name

Course content

4 sections • 14 lectures • 50m total length
  • Course Overview0:43

    Explore how to enumerate objects in the pipeline and how Windows PowerShell processes objects from one command to another. Learn the two pipeline techniques and build more useful command lines.

  • Section 1 Overview0:32

    Enumerate objects in the pipeline and work with one object at a time in PowerShell. Learn the purpose of enumeration and use basic and advanced syntax to numerate objects.

  • Enumeration (ForEach-Object)8:47

    Enumerate objects with ForEach-Object via the pipeline to access properties and invoke methods. Use basic and advanced syntax to run script blocks and manipulate PowerShell objects.

  • LAB 1 Exercises2:54

    Explore PowerShell pipelines in lab 1 by listing certificates and their key algorithms, enumerating 100 random numbers, querying WMI objects, and practicing safe restart via enumeration.

  • LAB 1 Answers2:34

    Demonstrates Windows Server PowerShell lab tasks: list key algorithms for installed certificates, enumerate certificate properties, generate random numbers with Get-Random, and reboot via WMI object methods.

Requirements

  • Basic PowerShell: running cmdlets and using Get-Help
  • A Windows machine with PowerShell to follow along

Description

Two commands joined by a pipe either work at once or fail with a confusing error. The difference is parameter binding: how PowerShell decides which parameter receives the objects coming down the pipeline. This short course explains it, so you can predict whether a pipeline will work before you run it.

How the course works

Each lecture shows the commands live in a PowerShell window on Windows Server, with the help files open, so you see exactly where the binding rules come from. You can pause and run every example yourself.

Inside the course

  • Enumerating objects in the pipeline: ForEach-Object and working with each object in turn.
  • Passing data by value: how PowerShell matches an object type to a parameter.
  • Passing data by property name: matching property names to parameters, and how to fix a pipeline with calculated properties or parentheses when binding fails.

A practical example

A typical case: you have a CSV file of computer names and want to query each one. Whether a simple pipe works depends on the column name - rename it or use a calculated property, and the same one-liner suddenly runs.

The course runs about 1 hour in 14 lectures. It continues "Working with Pipeline 1" but also works on its own if you already use basic PowerShell commands.

Who this course is for:

  • IT Specialists
  • System Administrators
  • DevOps Technicians