locked
error on all commands "Set-Location : The term 'Set-Location' is not recognized as the name of a cmdlet" RRS feed

  • Question

  • HI

    I am getting error on all commands executing in Windows Powershell (even CD\ command) below is the error:

    Set-Location : The term 'Set-Location' 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
    + Set-Location \
    + ~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Set-Location:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    please help to resolve issue

    Wednesday, August 21, 2019 9:01 AM

Answers

All replies

  • There might be the issue with the profile or corrupt installation files.

    Please try to install a new upgraded version on the current system.

    Wednesday, August 21, 2019 10:25 AM
  • Hi,

    Was your issue resolved?

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

    If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,

    Lee


    Just do it.

    Friday, September 6, 2019 12:03 PM