How come "more" does not work in the ISE?

Welcome Forums General PowerShell Q&A How come "more" does not work in the ISE?

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 7 years, 2 months ago.

  • Author
  • #5386

    Points: 0
    Rank: Member

    by TinkerTantrum at 2012-12-28 12:54:16

    A rather "noob" question from a "noob" user. I try to get output from the "ls" alias and it spits out all at once. I pipe it to more and it does not work.

    by nohandle at 2012-12-28 13:43:15

    It is probably because the more function calls the Get-Command moreCommandType Name ModuleName
    ----------- ---- ----------
    Function more
    (Get-Item function]param([string[]]$paths)
    $OutputEncoding = [System.Console]::OutputEncoding

    foreach ($file in $paths)
    Get-Content $file |
    $input |
    The more probably relies on the WindowSize property of the host that Console Host has set but the ISE does not.$
    Width Height
    ----- ------
    120 50

    Windows PowerShell ISE Host
    Hence the boundary (screen height) is not reached in the ISE and the output does not stop until its end.

The topic ‘How come "more" does not work in the ISE?’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort