If the SharePoint commands are not recognized, it’s most likely that you need to import the SharePoint module. In order to do that, run the following command
Add-PSSnapin Microsoft.SharePoint.PowerShell
Notes, Solutions and Commands for SharePoint.
If the SharePoint commands are not recognized, it’s most likely that you need to import the SharePoint module. In order to do that, run the following command
Add-PSSnapin Microsoft.SharePoint.PowerShell