-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Out-Host -Paging is a bad example to introduce pipes in a documentation targeted at beginners (like myself), because it causes errors when run in PowerShell ISE and a beginner has no idea what the error is supposed to mean and whether he made a mistake when trying it out or even whether the example is simply wrong. Only with googe i found out that the PowerShell ISE doesn't support the Paging parameter of Out-Host. I had no idea that it's even possible that some stuff that works in the "normal" powershell doesn't word in ISE. For a beginner this is extremely confusing.
While it's an easy to understand example and a good choice in that regard, i'm sure there are other examples that are as easy to understand, but work in ISE.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: f85d41eb-cef8-d7ab-a39a-ee73db9ba418
- Version Independent ID: 40ec3d48-73e2-844f-e45d-9c99522e0409
- Content: Understanding PowerShell pipelines
- Content Source: reference/docs-conceptual/learn/Understanding-the-PowerShell-Pipeline.md
- Product: powershell
- GitHub Login: @joeyaiello
- Microsoft Alias: jaiello