Share via


The term is not recognized as the name of a CMDLET

The term is not recognized as the name of a CMDLET

http://1.bp.blogspot.com/-aO28jwOXAH4/Uxk5lXAkRsI/AAAAAAAABaE/lTcemWAZYlI/s1600/1.bmp

The issue occurs some times while we run the CMDLETS on windows power shell or SharePoint management shell. Its due to the path issue, we can’t simply type the name of a script file in order to run it. Even with the execution policy configured to permit scripts, must precede the script filename with a path. you’ll see the” .\ “path in use, which refers to the current directory. You could also provide any other absolute or relative path in order to run a script—but you must provide a path of some kind.

http://4.bp.blogspot.com/-v48pJDG1vtk/Uxk5lc_zKII/AAAAAAAABaI/xILKGgAr-jM/s1600/2.bmp

Note: I resolved the issue by above Method. If you find a different solution, please report it as a comment to this post. This will be useful to SharePoint Community. Be sure to double-verify it: undo your solution and verify that the problem comes back, then redo it and verify that the problem goes away.

See Also

  1. SharePoint Resources on the TechNet Wiki
  2. SharePoint 2013 Portal
  3. SharePoint 2013 - Service Applications
  4. SharePoint 2013 - Resources for Developers
  5. SharePoint 2013 - Resources for IT Pros