Pagers and editors in remote PSSessions

Welcome Forums General PowerShell Q&A Pagers and editors in remote PSSessions

This topic contains 2 replies, has 2 voices, and was last updated by

4 years, 6 months ago.

  • Author
  • #18982

    Points: 0
    Rank: Member

    Hi Folks,

    Coming historically from a UNIX and Linux scripting background, even though my Windows admin experience pre-dates NT, I am used to having full character based functionality in a remote session.

    In *x, when I ssh to a remote system, I can edit a file with vi and less pages a file exactly as on my local system.

    With *-PSSession that is not the case.

    More and less are not effective, the text just scrolls by.

    vi is unresponsive, showing only a blinking cursor... 🙁

    Is it because that Windows, having always been tied so closely to a GUI in the past, has no concept/implementation of terminal emulation?


  • #18984

    Points: 0
    Rank: Member

    PSSessions are not terminal emulators, and interactive console applications are not supported in this context. That said, v5 is adding a new feature to the ISE where you can enter a PSSession and then run "psedit " to edit a file remotely, which will come in handy.

  • #18994

    Points: 0
    Rank: Member

    Thanks, Dave.

    I suspected as much...

    We need to monitor (read and search) text based log files remotely w/o using RD at all.

The topic ‘Pagers and editors in remote PSSessions’ is closed to new replies.

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