Command not working in Windows terminal but working in cmd

Anonymous
2021-02-25T09:56:21+00:00

Hello,

I am trying to use windows terminal, however I can't use any command (see picture).

I've tried to reinstall it and run as administrator but doesn't change anything

Do you have an idea of what I can do?

Kind regards

Windows for home | Windows 10 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2021-02-25T10:11:57+00:00

    Hello,

    In windows terminal you can use different shells. You currently use PowerShell and the commands you tried are not valid there.

    Image

    Image

    To switch click the arrow and select the correct shell (in your case command prompt) from the dropdown

    Image

    4 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-02-25T10:14:47+00:00

    Here is the documentation for windows terminal

    Windows Terminal overview | Microsoft Docs

    0 comments No comments
  2. Anonymous
    2021-02-25T10:54:03+00:00

    Hello El_Drago, how are you?

    I am an independent consultant and user like you!

    I'm happy to help you!

    PowerShell works a little differently from the Command Prompt, in some cases the command is different!

    To use the "ssh" command in PowerShell, see this topic:

    https://www.howtogeek.com/336775/how-to-enable-...

    To receive the same result as the Command Prompt "view" command in PowerShell, use the command below:

    $PSVersionTable.BuildVersion

    See more at this link from Microsoft:

    https://docs.microsoft.com/en-us/windows-server...

    If you still have a problem I hope your answer!

    If this was helpful, mark it as an 'Answer'. If more users have the same question, it can help them!

    If you still need help, comment here and I'll be back to help!

    Best Regards


    * Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    0 comments No comments
  3. Anonymous
    2021-02-25T19:04:20+00:00

    Thank you!

    0 comments No comments