© Chet Hosmer 2019
Chet HosmerPowerShell and Python Togetherhttps://doi.org/10.1007/978-1-4842-4504-0_2

2. PowerShell Pipelining

Chet Hosmer1 
(1)
Longs, SC, USA
 

Pipelining is the key feature within PowerShell that will help us facilitate the integration of Python and PowerShell. The examples and illustrations in this chapter were chosen to explain pipelining and provide insight into CmdLet and methods that are useful during investigations.

What Is CmdLet Pipelining?

CmdLet Pipelining creates an assembly line of commands to be executed in a specific sequence while moving the data or results from each CmdLet as well. The best way to describe this is with a couple of investigation-related examples.

Example 1: Get-Service

Assume that we want to see what ...

Get PowerShell and Python Together: Targeting Digital Investigations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.