When you try to execute SharePoint specific commands through PowerShell, might come across a message
"Get-SPWebApplication is not recognized as the name of the cmdlet ......"
The SP specific commands are not being recognized in PowerShell at this point. Adding a snap in would do the trick. Type the below command in your PowerShell window.
Add-PSSnapin Microsoft.Sharepoint.Powershell
That's it. Provided that the rights in DB are there, you should be able to execute SharePoint based commands now.
"Get-SPWebApplication is not recognized as the name of the cmdlet ......"
The SP specific commands are not being recognized in PowerShell at this point. Adding a snap in would do the trick. Type the below command in your PowerShell window.
Add-PSSnapin Microsoft.Sharepoint.Powershell
That's it. Provided that the rights in DB are there, you should be able to execute SharePoint based commands now.