PowerShell not recognizing SharePoint commands


Issue

We are having SharePoint on Windows Server 2008 but when we are trying to run SharePoint commands from PowerShell we are getting below error message.

Resolution

Run below commands in PowerShell to register SharePoint in PowerShell & try again.

Remove-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue


Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

This entry was posted in SharePoint2010, SQLServerPedia. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s