Powershell display resolution problem.

Welcome Forums General PowerShell Q&A Powershell display resolution problem.

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

6 months, 3 weeks ago.

  • Author
  • #113228

    Topics: 1
    Replies: 0
    Points: 1
    Rank: Member

    I am running into a strange screen resolution problem using Powershell. My OS is Win10Pro with all latest updates.
    I have only 1 image in docker, that is Ubuntu. I tried to run this image (I have tried running Powershell in administrator mode. Same issue. Have removed Powershell, rebooted, enabled Powershell again, same issue. My screen resolution display is at original default setting.)

    The command I use was: "docker run-it ubuntu /bin/bash"
    Then hit enter
    The cursor moved to the next line. The line is blank.

    I opened another Powershell. I saw the Ubuntu container was running.
    I stopped the container. When container was stopped, at the original Powershell (the one where cursor shown a blank line) returned this:

    “]0;root@4de9d9044928: /root@4de9d9044928:/# exit”

    So, “root@4de9d9044928:/#” has been displayed on this Powershell all along. But it was displayed beyond the left edge of the screen. This is a screen resolution issue in my Powershell.

    To do a control test, I used dos command prompt.
    I issued the same command to run the Ubuntu image and hit return.
    Dos returned: “root@f371ceca0b1a:/#”
    No issue there.

    Can someone please tell me what I should do to make this Powershell display its output properly?
    The computer is less than 1 year old. So, it is not likely to have mess up registry problems.

    Thanks in advance.


  • #113356

    Topics: 13
    Replies: 4872
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    The PowerShell window is just set to have a large width. Modify it from the console window's properties page.

The topic ‘Powershell display resolution problem.’ is closed to new replies.

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