none
cmdlet is not working on Powershell RRS feed

  • Question

  • Hi ,

    I'm getting following error message when typing any cmdlet command in powershell like ipconfig /all.

    "ipconfig : The term 'ipconfig' is not recognized as the name of a cmdlet, function, script file, or operable program"

    Can any one help me out on this?


    Thursday, July 23, 2015 9:27 AM

Answers

  • If there is no space in between it will show you an error.

    Click on start- run, then type "c:\windows\system32\ipconfig".If that works, then its a path problem.

    Open CMD, type "path" (without quotes) and check whether it has c:\windows\system32 listed.


    (Please click on "Vote as Helpful" and/or "Mark as Answer", if it has helped you. )

    Friday, July 24, 2015 4:20 AM

All replies

  • check for a space between ipconfig and /all. It will work fine in powershell.

    What version of powershell are you using?


    (Please click on "Vote as Helpful" and/or "Mark as Answer", if it has helped you. )

    Thursday, July 23, 2015 9:31 AM
  • I'm using powershell v4

    I don't think the space really matters and also according to u I've checked no result.

    I think it's a problem with environmental variable ,but I don't know what variable I've to change.

    Thanks for your reply.


    Thursday, July 23, 2015 11:45 AM
  • If there is no space in between it will show you an error.

    Click on start- run, then type "c:\windows\system32\ipconfig".If that works, then its a path problem.

    Open CMD, type "path" (without quotes) and check whether it has c:\windows\system32 listed.


    (Please click on "Vote as Helpful" and/or "Mark as Answer", if it has helped you. )

    Friday, July 24, 2015 4:20 AM
  • Thanks a Lot it's a problem with environmental variable which I add after checking the path command.

    It's working now.

    Monday, July 27, 2015 10:44 AM
  • Welcome.

    (Please click on "Vote as Helpful" and/or "Mark as Answer", if it has helped you. )

    Monday, July 27, 2015 11:56 AM