Windows 10: Could not use bash command in the powershell -Reg.

Discus and support Could not use bash command in the powershell -Reg. in Windows 10 Installation and Upgrade to solve the problem; Hi, I would like to install a Perl script-based CIRCOS software for windows 10. But I could not use bash command for installation. I am getting an... Discussion in 'Windows 10 Installation and Upgrade' started by Dr. Raman Gurusamy, Jan 27, 2021.

  1. Could not use bash command in the powershell -Reg.


    Hi,

    I would like to install a Perl script-based CIRCOS software for windows 10. But I could not use bash command for installation. I am getting an error when using the command "bash test.modules"


    Command prompt:

    'bash' is not recognized as an internal or external command,
    operable program or batch file.

    powershell:

    bash : The term 'bash' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

    At line:1 char:1

    + bash .\test.modules

    + ~~~~

    + CategoryInfo : ObjectNotFound: bash:String [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException



    How to solve this issue?

    Thank you and looking forward to hearing from you.

    With warm regards,

    Raman. G

    :)
     
    Dr. Raman Gurusamy, Jan 27, 2021
    #1
  2. Kursah Win User

    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Jan 27, 2021
    #2
  3. How to enable the bash command line in cmd?

    Original title: Windows 10 anniversary update

    I'm a build 14393.10 user. How to enable the bash command line in cmd? Please give the step wise instructions!
     
    JamesGeorge-, Jan 27, 2021
    #3
  4. Pavan_N Win User

    Could not use bash command in the powershell -Reg.

    Uninstall Photo app by using Powershell command

    Hi Lorraine,

    Thank you for posting your response.

    I apologize for the miscommunication. Follow the steps below and check if that helps.


    • 1. Open the Start menu, type Windows PowerShell in the search bar.

      2. Right click on the Windows PowerShell and select Run as administrator.

      3. Enter the below command to uninstall the Photo app.

      • get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage ( check the spacing)
    After performing the above steps, install the Photo app from the Windows store.

    Hope this information is helpful. Please do let us know if you need further assistance, we’ll be glad to assist you.

    Thanks
     
    Pavan_N, Jan 27, 2021
    #4
Thema:

Could not use bash command in the powershell -Reg.

Loading...
  1. Could not use bash command in the powershell -Reg. - Similar Threads - bash command powershell

  2. Powershell command

    in Windows 10 Customization
    Powershell command: Hi How can i get a list via powershell commandof expired users password in AD like this screenshot.Thanks https://answers.microsoft.com/en-us/windows/forum/all/powershell-command/54833831-89ba-4641-a5b2-2d55e848aab8
  3. Powershell command

    in Windows 10 Gaming
    Powershell command: Hi How can i get a list via powershell commandof expired users password in AD like this screenshot.Thanks https://answers.microsoft.com/en-us/windows/forum/all/powershell-command/54833831-89ba-4641-a5b2-2d55e848aab8
  4. powershell commands

    in Windows 10 Software and Apps
    powershell commands: I would like a PowerShell ISE command to open a .flac file at a certain time https://answers.microsoft.com/en-us/windows/forum/all/powershell-commands/ea3b6d02-cddd-419d-9ba5-a18f14e67ba5
  5. BASH command not found on Windows 10

    in Windows 10 Customization
    BASH command not found on Windows 10: So, when I try to use the bash command on cmd or PowerShell, I get errors saying that there is no such thing. bash : The term 'bash' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was...
  6. Recognizing pip with bash command line

    in Windows 10 Ask Insider
    Recognizing pip with bash command line: For those who are using the Windows subsystem for Linux, how do you make sure it recognizes pip? I might be confused, but I can access pip for my python development within cmd, but my installation of Ubuntu from the app store doesn't seem to see it and just says the command...
  7. Using Powershell to delete REG key for all users

    in Windows 10 Support
    Using Powershell to delete REG key for all users: Hey all, not sure if this is the right place to ask, especially considering how pointed the question is. We're trying to do a thorough clean install of a software due to changing the version (specifically, we're moving from SolidWorks 2017 to 2020 SP04). However, the issue...
  8. Bash or Powershell help with activating

    in Windows 10 Updates and Activation
    Bash or Powershell help with activating: Hello Everyone, I am having a hard time learning how to create a bash script that does the following: 1.) Automatically runs in elevated privileges if in an admin account. 2.) Activate Microsoft Office 2016 using a selected KMS or product key. 3.) Activate Windows 10 using...
  9. Bash or Powershell help with activating

    in Windows 10 Support
    Bash or Powershell help with activating: Hello Everyone, I am having a hard time learning how to create a bash script that does the following: 1.) Automatically runs in elevated privileges if in an admin account. 2.) Activate Microsoft Office 2016 using a selected KMS or product key. 3.) Activate Windows 10 using...
  10. Use "Command Prompt" instead of "PowerShell"

    in Windows 10 Customization
    Use "Command Prompt" instead of "PowerShell": Hi! I'm using Windows 10 version 1807, In this version, the option "Open in Command Prompt" fully removed from Explorer, in "File" menu and [Shift]+[Right Click] menu, And there's no option to get it back in Settings, only there's an option for [Alt]+[X] menu. I have to...

Users found this page by searching for:

  1. bash : The term bash is not recognized as the name of a cmdlet