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

Shervan360 1,436 Reputation points


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,115 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zhengye Xu-MSFT 95 Reputation points Microsoft Vendor

    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,


    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.