Skip to content

Out-Host -Paging doesn't work in PowerShell ISE #3963

@Naryoril

Description

@Naryoril

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions