Can't type command in Power Shell - Visual Studio 2022

Shervan360 1,481 Reputation points
2023-10-26T16:23:05.91+00:00

Hello,

I can't type anything in PowerShell.

Screenshot 2023-10-26 083850

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,730 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zhengye Xu-MSFT 95 Reputation points Microsoft Vendor
    2023-10-27T03:09:57.11+00:00

    Hi Shervan360,

    Welcome to Microsoft Q&A forum.

    First, Check if Developer PowerShell is corrupted and if there is a problem with the Developer PowerShell configuration.

    Main menu>Tools>Options> environment>Terminal

    User's image

    If there is no problem, click restore to reset PowerShell.

    Also, if PowerShell doesn't have any damage, you can also try checking if the Developer Command Prompt can be typed. Then you can then use the Visual Studio installer to repair Visual Studio-open the visual studio installer>find the version you use>click more and select repair.

    Have a nice day.

    Best Regards,

    Zhengye


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.