sharepoint powershell is not recognized as the name of a cmdlet?
The error usually comes if you directly run the command in the Windows PowerShell Console. Ideally, we should run in SharePoint 2013 Management Shell rather than only in the PowerShell console. So Open SharePoint 2013 Management Shell in Administrator mode and then run the Cmdlet the error will not come.